1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00
Commit graph

26609 commits

Author SHA1 Message Date
Stefan Monnier
0a1700794a (parse_menu_item): Don't use cachelist, even under NS.
If the cache doesn't work, let's fix it, rather than work around it.
2008-07-15 21:01:44 +00:00
Adrian Robert
a68fda4a8c adding forgotten file src/nsfont.m for emacs.app merge 2008-07-15 18:35:28 +00:00
Adrian Robert
edfda78355 merging Emacs.app (NeXTstep port) 2008-07-15 18:15:18 +00:00
Jason Rumney
1391cd5487 * w32fns.c (Fx_create_frame): Remove duplicate unwind_protect.
(w32_show_hourglass): Rename from show_hourglass.
	(w32_hide_hourglass): Rename from hide_hourglass.
	(DEFAULT_HOURGLASS_DELAY): Revert from last change.
	(Vhourglass_delay): Declare extern.
	(hourglass_started): Remove.

	* xdisp.c (Vhourglass_delay): Remove static.
	(hourglass_started, start_hourglass, cancel_hourglass):
	Don't include these versions on WINDOWSNT.
2008-07-15 15:45:05 +00:00
Chong Yidong
20d6dc0286 s/xxxfns.c/xfns.c/ 2008-07-15 14:17:25 +00:00
Adrian Robert
1885ab29b7 applying patch to consolidate non-GUI portion of hourglass implementation as posted at http://thread.gmane.org/gmane.emacs.devel/98341 2008-07-15 13:04:01 +00:00
Jason Rumney
3faa984f21 (w32_get_arg): Remove wrapper function.
(w32_createwindow, x_icon, x_create_tip_frame): Use x_get_arg
directly.
(Fx_create_frame): Sync with xfns.c.  Use x_get_arg directly.
2008-07-14 10:38:50 +00:00
Kenichi Handa
2f73901fa1 (xfont_open): Add workaround for X's bug. 2008-07-14 07:48:03 +00:00
Kenichi Handa
11da284dbd Include <stdio.h> unconditionally. 2008-07-14 07:05:33 +00:00
Michael Albinus
944cc4a883 * dbusbind.c (Fdbus_register_signal): Allow also signal arguments
for filtering.
2008-07-13 15:07:10 +00:00
Dan Nicolaescu
bdee2ef3fa * config.nt (HAVE_FACES): Remove, unused.
* s/vms.h: Use __GNUC__ instead of _GNUC_.

* m/macppc.h:
* m/alpha.h: Use GNU_LINUX instead of LINUX.  Reorganize conditionals.

* m/ibms390x.h (XINT, XUINT): Don't define, same as the default
(SPECIAL_EMACS_INT):
* m/ia64.h (SPECIAL_EMACS_INT):
* m/amdx86-64.h (SPECIAL_EMACS_INT):
* s/gnu.h (NLIST_STRUCT):
* aix4-2.h (X11R5_INHIBIT_I18N):
* s/gnu-linux.h (LINUX):
* s/msdos.h (HAVE_FACES):
* s/ms-w32.h (HAVE_FACES): Don't define, unused.

* systty.h:
* sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used
anymore.
2008-07-13 07:35:26 +00:00
Miles Bader
2dab419dc9 Add arch tagline 2008-07-12 07:32:51 +00:00
Dan Nicolaescu
bba104c11e * syswait.h: Remove old if 0 code. Do not define WAITTYPE, it was
always defined as int.

* s/netbsd.h (HAVE_UNION_WAIT, HAVE_WAIT_HEADER, WAIT_USE_INT):
* s/gnu.h (HAVE_WAIT_HEADER, WAIT_USE_INT, HAVE_UNION_WAIT):
* s/gnu-linux.h (HAVE_WAIT_HEADER):
* s/freebsd.h (HAVE_WAIT_HEADER):
* s/bsd-common.h (HAVE_UNION_WAIT):
* s/aix4-2.h (HAVE_WAIT_HEADER):
* m/mips.h (HAVE_UNION_WAIT):
* s/usg5-4.h (HAVE_WAIT_HEADER, WAITTYPE): Do not define, not used.
(COFF, static): Do not define, they are undefined later in the file.

* process.c (update_status): Don't use a union.
(status_convert):
(sigchld_handler): Use int instead of WAITTYPE.

* movemail.c (main): Use int instead of WAITTYPE.
2008-07-12 05:31:23 +00:00
Chong Yidong
2f4ec7ce4f (Fvertical_motion): Restore hscroll before moving to goal column. 2008-07-12 03:19:38 +00:00
Chong Yidong
e433031a1a * indent.c (Fvertical_motion): Restore hscroll before moving to
goal column.
2008-07-12 03:19:25 +00:00
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