Dan Nicolaescu
3bfb4d4823
Remove left over code.
2008-07-11 14:20:06 +00:00
Andreas Schwab
7e770c85da
Fix logic in last change.
2008-07-11 11:39:49 +00:00
Andreas Schwab
e7c9048f9d
* menu.h: New file.
...
* menu.c: Include it.
* xmenu.c: Likewise.
* Makefile.in: Update dependencies.
2008-07-11 11:20:21 +00:00
Kenichi Handa
38aaf336a1
(fontset_from_font): Cancel the previous change.
2008-07-11 07:32:32 +00:00
Dan Nicolaescu
6e5cb96f3d
* lisp.h:
...
* w32heap.c:
* emacs.c:
* alloc.c: Replace all references of NO_UNION_TYPE with
USE_LISP_UNION_TYPE.
* m/xtensa.h (NO_UNION_TYPE):
* m/vax.h (NO_UNION_TYPE):
* m/template.h (NO_UNION_TYPE):
* m/sparc.h (NO_UNION_TYPE):
* m/mips.h (NO_UNION_TYPE):
* m/macppc.h (NO_UNION_TYPE):
* m/m68k.h (NO_UNION_TYPE):
* m/iris4d.h (NO_UNION_TYPE):
* m/intel386.h (NO_UNION_TYPE):
* m/ibms390x.h (NO_UNION_TYPE):
* m/ibms390.h (NO_UNION_TYPE):
* m/ibmrs6000.h (NO_UNION_TYPE):
* m/ia64.h (NO_UNION_TYPE):
* m/hp800.h (NO_UNION_TYPE):
* m/arm.h (NO_UNION_TYPE):
* m/amdx86-64.h (NO_UNION_TYPE):
* m/alpha.h (NO_UNION_TYPE): Remove definition, all platform were
defining it the same.
2008-07-11 02:30:26 +00:00
Chong Yidong
3873a30f7f
(move_it_to): Backtrack if past the edge of a wrapped line.
2008-07-10 23:47:00 +00:00
Chong Yidong
e0f47a6850
* xdisp.c (move_it_to): Backtrack if past the edge of a wrapped line.
2008-07-10 23:46:52 +00:00
Dan Nicolaescu
c5e7567d3b
* src/fileio.c:
...
* src/sysdep.c
* src/systty.h:
* src/m/ibmrs6000.h:
* src/m/iris4d.h:
* src/s/aix4-2.h:
* src/s/freebsd.h:
* src/s/gnu-linux.h:
* src/s/hpux10-20.h:
* src/s/hpux11.h:
* src/s/netbsd.h:
* src/s/sol2-3.h:
* src/s/sol2-4.h:
* src/s/sol2.h:
* src/s/usg5-4.h:
* src/s/vms.h: Remove references to unused variables.
2008-07-10 15:26:15 +00:00
Andreas Schwab
bb6588648f
(ftfont_resolve_generic_family): Remove foundry from
...
pattern before matching the generic family.
2008-07-10 13:13:21 +00:00
Dan Nicolaescu
a0ce9ab791
* unexec.c:
...
* m/ia64.h:
* m/hp800.h: Remove dead code.
2008-07-10 06:54:56 +00:00
Dan Nicolaescu
3460e0b90d
* s/vms.h:
...
* s/usg5-4-2.h:
* s/sol2-5.h:
* s/freebsd.h:
* s/darwin.h: Remove dead code.
2008-07-10 03:26:06 +00:00
Dan Nicolaescu
ad76189a75
* m/template.h:
...
* m/sparc.h:
* m/mips.h:
* m/m68k.h:
* m/iris4d.h:
* m/intel386.h:
* m/ibms390x.h:
* m/ibms390.h:
* m/ia64.h:
* m/hp800.h:
* m/arm.h:
* m/amdx86-64.h: Remove dead code and references to unused
and compiler defined symbols.
2008-07-10 02:49:28 +00:00
Dan Nicolaescu
d2b5bbda45
* unexmips.c:
...
* unexelf.c: Remove references to desupported systems.
2008-07-10 02:37:07 +00:00
Dan Nicolaescu
40dde9d187
* configure.in: Use macppc for Darwin.
...
* configure: Regenerate.
* m/powermac.h: Remove file, it is now identical to m/macppc.h.
2008-07-10 02:32:56 +00:00
Dan Nicolaescu
2113339428
Remove boilerplate comments.
...
(NO_REMAP): Remove unused definition.
2008-07-10 02:23:34 +00:00
Dan Nicolaescu
3d3db608ee
(UNEXEC, NO_TERMIO): Don't define, the s/ files
...
define them.
2008-07-10 02:19:48 +00:00
Kenichi Handa
c8e0e16d2d
(xfont_open): Log the reason of failure.
2008-07-10 01:27:07 +00:00
Jason Rumney
e0079d39e5
(Fx_create_frame): Doc fix
2008-07-09 15:35:29 +00:00
Stefan Monnier
3cba9369dc
* fontset.c (fontset_get_font_group):
...
* font.c (font_check_otf): Specify argument types.
2008-07-09 13:24:10 +00:00
Kenichi Handa
0e17387a9e
(detect_coding_utf_8): Set detect_info->found only when
...
non-ASCII char is found.
2008-07-09 13:06:14 +00:00
Kenichi Handa
41fa3e2c20
(xfont_text_extents): Fix initial setting of metrics.
2008-07-09 07:38:55 +00:00
Kenichi Handa
e5d0597856
(ftfont_text_extents): Fix initial setting of metrics.
2008-07-09 07:38:38 +00:00
Kenichi Handa
7335358588
*** empty log message ***
2008-07-09 02:09:11 +00:00
Kenichi Handa
634c4da043
(xfont_open): Cancel the previous about font->vertical_centering.
2008-07-09 02:02:14 +00:00
Kenichi Handa
9bfd60bd6a
(font_open_entity): Cancel the previous change.
2008-07-09 02:00:15 +00:00
Kenichi Handa
e83ceb8ba2
(uniscribe_open): Adjust it for the change of
...
font_make_object.
2008-07-09 00:32:35 +00:00
Kenichi Handa
ec6174cdaf
(w32font_open): Adjust it for the change of
...
font_make_object.
(w32font_open_internal): Don't set properties of font_object here.
2008-07-09 00:32:22 +00:00
Kenichi Handa
0fce2b40e3
(struct xftfont_info): New member ft_size. Make the
...
member order compatible with struct ftfont_info.
(xftfont_open): Add FC_CHARSET to the pattern. Set
xftfont_info->ft_size. Don't unlock the face. Check BDF
properties if appropriate.
(xftfont_close): Unlock the face.
(xftfont_anchor_point, xftfont_shape): Deleted.
(syms_of_xftfont): Don't set members anchor_point and shape of
xftfont_driver.
2008-07-09 00:32:01 +00:00
Kenichi Handa
e302a2919e
(struct ftfont_info): New member index, delete member
...
fc_charset_idx. Make the member order compatible with struct
xftfont_info.
(fc_charset_table): Change charset names to registry names.
(ftfont_pattern_entity): Delete the args registry and
fc_charset_idx. Change the value of :font-entity property
to (FONTNAME . INDEX). Always set :registry property to
`iso10646-1'.
(struct ftfont_cache_data): New struct.
(ftfont_lookup_cache): New arg for_face.
(ftfont_get_fc_charset, ftfont_get_otf): New functions.
(ftfont_driver): Set the member otf_capability.
(ftfont_get_charset): Adjust it for the change of
fc_charset_table.
(OTF_TAG_SYM): New macro.
(ftfont_spec_pattern): Delete the arg fc_charset_idx. Adjust it
for the change of fc_charset_table.
(ftfont_list): Adjust it for the change of ftfont_spec_pattern and
ftfont_pattern_entity. Add FC_INDEX to objset.
(ftfont_match): Adjust it for the change of ftfont_spec_pattern
and ftfont_pattern_entity.
(ftfont_open): Adjust it for the change of ftfont_lookup_cache,
font_make_object, struct ftfont_info.
(ftfont_has_char): Use ftfont_get_fc_charset.
(ftfont_otf_features, ftfont_otf_capability): New functions.
(ftfont_shape): Use ftfont_get_otf.
2008-07-09 00:31:42 +00:00
Kenichi Handa
947eecfbc9
(xfont_open): Adjust it for the change of
...
font_make_object. Don't check Vvertical_centering_font_regexp
here.
2008-07-09 00:31:26 +00:00
Kenichi Handa
51c135107b
(font_make_object): New arg entity and pixelsize.
...
(font_check_otf_features, font_check_otf): New functions.
(font_match_p): Check :lang, :script, and :otf properties.
(font_open_entity): Set the member vertical_centering of struct
font.
2008-07-09 00:30:18 +00:00
Kenichi Handa
9cd7463bcd
Include FT_BDF_H.
2008-07-09 00:29:47 +00:00
Kenichi Handa
5e4bfc8562
(font_make_object, font_match_p): Adjust prototypes.
2008-07-09 00:29:23 +00:00
Kenichi Handa
41ad6003ce
(fontset_compare_rfontdef): Fix plus/minus.
...
(reorder_font_vector): Change the arg preferred_family to font.
Prefer the spec matching with font.
(fontset_get_font_group): New function.
(fontset_find_font): Change the format of an element of a realized
fontset. Use fontset_get_font_group.
(fontset_font): Try the current fontset, the default fontset, the
fallbacks of the current fonset, and the fallbacks of the default
fontset in this order.
(face_for_char): Delete the shortcut to use the current font.
(fontset_from_font): Don't set fonts for Latin in the fontset.
2008-07-09 00:29:03 +00:00
Chong Yidong
45cebfd9b4
(x_create_tip_frame): Pass parameter argument to
...
face-set-after-frame-default.
2008-07-08 17:31:06 +00:00
Chong Yidong
830aab9390
* macfns.c (x_create_tip_frame):
...
* w32fns.c (x_create_tip_frame):
* xfns.c (x_create_tip_frame): Pass parameter argument to
face-set-after-frame-default.
2008-07-08 17:29:35 +00:00
Chong Yidong
fa9fa316d4
(Finternal_merge_in_global_face): Save merged attributes for the
...
default face back into the face vector.
2008-07-08 17:27:28 +00:00
Chong Yidong
7f000038fe
* xfaces.c (Finternal_merge_in_global_face): Save merged
...
attributes for the default face back into the face vector.
2008-07-08 17:27:19 +00:00
Andreas Schwab
85cf899228
* fontset.h: Declare fontset_from_font. Don't declare
...
new_fontset_from_font and fontset_from_font_name.
* xterm.c: Include "fontset.h".
* Makefile.in (xterm.o): Update dependencies.
2008-07-08 11:54:10 +00:00
Glenn Morris
4a00783e8e
Use __sparc__ rather than sparc. (Bug#507.)
2008-07-08 07:03:07 +00:00
Chong Yidong
a6f7588140
(Qinhibit_face_set_after_frame_default): Var deleted.
...
(x_set_frame_parameters): Don't bind it.
2008-07-07 20:39:00 +00:00
Chong Yidong
4d2d5f5fac
* frame.c (Qinhibit_face_set_after_frame_default): Var deleted.
...
(x_set_frame_parameters): Don't bind it.
2008-07-07 20:37:37 +00:00
Juanma Barranquero
dfe66c5b2c
* w32fns.c (map_w32_filename): Declare extern.
2008-07-07 14:39:35 +00:00
Jason Rumney
ec7e221c59
(WS_EX_LAYERED): Define if not already.
2008-07-07 10:59:46 +00:00
Juanma Barranquero
3feeda55b3
Fix typo.
2008-07-07 09:57:21 +00:00
Chong Yidong
be22aa9713
(set_font_frame_param): Don't try to set the font parameter if it is
...
still unspecified in the lface.
2008-07-06 03:51:06 +00:00
Chong Yidong
fe5d61c40b
* xfaces.c (set_font_frame_param): Don't try to set the font
...
parameter if it is still unspecified in the lface.
2008-07-06 03:50:54 +00:00
Chong Yidong
0421a7a780
(Finternal_merge_in_global_face): Don't realize default face if it
...
didn't already exist.
2008-07-05 21:16:05 +00:00
Chong Yidong
0a143d3a0f
* xfaces.c (Finternal_merge_in_global_face): Don't realize default
...
face if it didn't already exist.
2008-07-05 21:15:39 +00:00
Chong Yidong
29bd139205
(try_window_id): Give up if word-wrapping is on.
2008-07-05 18:22:56 +00:00