Commit graph

20381 commits

Author SHA1 Message Date
Ken Raeburn
d7c0be75d3 (shadow_lookup): Use make_number to pass a number to Fsubstring. 2005-11-21 23:33:01 +00:00
Juri Linkov
17c1971a7e *** empty log message *** 2005-11-21 07:57:45 +00:00
Juri Linkov
8ed55b8ccf (BASE_PURESIZE): Increment to 1180000. 2005-11-21 07:54:48 +00:00
Chong Yidong
67d23e0166 (merge_face_vectors): Don't do :ignore-defface overwriting here.
(Finternal_merge_in_global_face): Do it here.
2005-11-20 22:35:48 +00:00
Chong Yidong
0268cef3fa * xfaces.c (Finternal_set_lisp_face_attribute): Use
:ignore-defface for new frame defaults when `unspecified' is
	supplied.
	(Finternal_get_lisp_face_attribute): Hide :ignore-defface.
2005-11-20 15:22:31 +00:00
Juri Linkov
dd949173e7 *** empty log message *** 2005-11-20 07:57:39 +00:00
Juri Linkov
85416bdad7 (invalid_character): Use Lisp-readable syntax
for octal and hex.  Reorder decimal, octal and hex values.
2005-11-20 07:52:40 +00:00
Nick Roberts
c003141f4c Use typedef when Lisp_Object is EMACS_INT so that
this type is recognised when debugging.
2005-11-20 02:15:26 +00:00
Nick Roberts
7698643375 *** empty log message *** 2005-11-20 02:13:53 +00:00
Andreas Schwab
8175bfa96d Revert unwanted changes. 2005-11-19 22:31:15 +00:00
Andreas Schwab
603add2d25 *** empty log message *** 2005-11-19 17:44:38 +00:00
Andreas Schwab
b4483658c5 (nextcons, xcdr, xfloat): Update for changes in
Lisp_Cons and Lisp_Float.
2005-11-19 17:13:07 +00:00
YAMAMOTO Mitsuharu
125ce9ec5e *** empty log message *** 2005-11-19 06:35:38 +00:00
YAMAMOTO Mitsuharu
6b9ad469e2 [USE_CG_TEXT_DRAWING] (cg_text_anti_aliasing_threshold): New variable.
[USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): New function.
(init_font_name_table) [USE_ATSUI && USE_CG_TEXT_DRAWING]: Use it.
[USE_CG_TEXT_DRAWING] (mac_draw_string_cg): Don't do antialiasing if
font size is smaller than or equal to cg_text_anti_aliasing_threshold.
2005-11-19 06:35:19 +00:00
Chong Yidong
0d876a1479 Fix typo. 2005-11-18 19:11:19 +00:00
Chong Yidong
fe45ad152a * image.c (x_create_bitmap_from_xpm_data): Free attributes on
fail.
2005-11-18 03:57:36 +00:00
Chong Yidong
05338727a8 (Fface_attribute_relative_p, Fmerge_face_attribute): Handle
Qignore_defface as a possible value.
2005-11-18 03:55:45 +00:00
Chong Yidong
2ff1066384 * xfaces.c (Qignore_defface): New variable.
(syms_of_xfaces): Provide `:ignore-defface'.
	(IGNORE_DEFFACE_P): New macro.
	(check_lface_attrs): Qignore_defface is a possible value.
	(lface_fully_specified_p): Likewise.
	(Finternal_set_lisp_face_attribute): Likewise.
	(merge_face_vectors): The merged face is `unspecified' if the
	mergee specifies `:ignore-defface'.
2005-11-18 01:48:42 +00:00
Stefan Monnier
0a37f51211 (readevalloop): Add missing GCPROs. 2005-11-16 18:39:15 +00:00
Stefan Monnier
c01f0ed303 *** empty log message *** 2005-11-16 18:39:00 +00:00
Chong Yidong
9f7b984bae * xfns.c (xg_set_icon_from_xpm_data): New function.
* gnu.h (gnu_xpm_bits): Renamed from gnu_bits.
	(gnu_xbm_bits): Renamed from gnu_bits (xbm version).

	* xterm.c (x_bitmap_icon): Use the xpm if available.
2005-11-16 16:38:48 +00:00
Chong Yidong
bf12aeee60 Revert accidental corruption of xbm image. 2005-11-16 16:03:26 +00:00
Chong Yidong
169593904f Tweak image. 2005-11-16 15:16:24 +00:00
Chong Yidong
54188d8fb0 initialize XpmAttributes 2005-11-16 13:38:25 +00:00
Chong Yidong
50986bc339 Meh. Use the 32x32 version. 2005-11-16 06:35:28 +00:00
Chong Yidong
0e734f3b83 USe 24x24 xpm icon 2005-11-16 06:15:35 +00:00
Chong Yidong
786a43d6cf * gnu.h (gnu_bits): Xpm version of the new Emacs icon.
* xterm.c (x_bitmap_icon): Use the xpm if available.

	* image.c (x_create_bitmap_from_xpm_data): New function.
2005-11-16 05:49:18 +00:00
Luc Teirlinck
8ab8482310 *** empty log message *** 2005-11-16 02:42:57 +00:00
Luc Teirlinck
29f0569184 (lisp, shortlisp): Add rfn-eshadow. 2005-11-16 02:38:24 +00:00
Nick Roberts
19b9d1de60 Make SIGTSTP work like SIGINT normally does. 2005-11-16 01:03:35 +00:00
Nick Roberts
3671718b70 *** empty log message *** 2005-11-16 01:01:24 +00:00
Andreas Schwab
28a099a4aa (free_float): Make free list chaining aliasing-safe.
(make_float): Likewise.
(free_cons): Likewise.
(Fcons): Likewise.
(check_cons_list): Likewise.
(Fmake_symbol): Likewise.
(allocate_misc): Likewise.
(free_misc): Likewise.
(gc_sweep): Likewise.
2005-11-15 13:53:45 +00:00
Andreas Schwab
3a623feeb5 (struct Lisp_Cons): Make cdr a union.
(XCDR_AS_LVALUE): Adjust.
(struct Lisp_Float): Make data a union.
(XFLOAT_DATA): Adjust.
2005-11-15 13:53:09 +00:00
YAMAMOTO Mitsuharu
fc09d07f39 (HASHKEY_QUERY_CACHE): New define.
(xrm_create_database, xrm_q_put_resource): Empty query cache.
(xrm_get_resource): Use query cache.
2005-11-15 07:56:27 +00:00
YAMAMOTO Mitsuharu
308a660736 (init_image) [MAC_OS]: Don't call EnterMovies if
inhibit_window_system is set.
2005-11-15 03:18:37 +00:00
YAMAMOTO Mitsuharu
29b585dbc6 (LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'. 2005-11-13 05:48:59 +00:00
YAMAMOTO Mitsuharu
16805b2eef [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): New function.
(x_draw_glyph_string_foreground) [USE_CG_TEXT_DRAWING]: Use it.
(XLoadQueryFont) [USE_CG_TEXT_DRAWING]: Set members cg_font and
cg_glyphs in struct MacFontStruct if synthesized bold or italic is
not used and font substitution never occurs for ASCII and Latin-1
characters.
(XLoadQueryFont): Maximum and minimum metrics are now those among
ASCII characters.
(XLoadQueryFont) [!MAC_OS8 || USE_ATSUI]: Apply WebKit-style
height adjustments for Courier, Helvetica, and Times.
2005-11-13 05:46:52 +00:00
YAMAMOTO Mitsuharu
26d2699b22 (USE_CG_TEXT_DRAWING): New define.
(struct MacFontStruct) [USE_CG_TEXT_DRAWING]: New members cg_font
and cg_glyphs.
2005-11-13 05:46:17 +00:00
Steven Tamm
dff79d048f Update macterm comment 2005-11-11 16:46:08 +00:00
Steven Tamm
b02e3f7ba6 macterm.c (backtranslate_modified_keycode): New function to
mask modifiers off of keycodes for use in modifier mapping.
	(mac_determine_quit_char_modifiers): Remove
	mac-reverse-ctrl-meta and replace it with more flexible system
	mapping mac modifier keys to emacs modifier keys.
	(convert_fn_keycode): Map Fn-keys to their original keycode
	using a table (english keyboard only).
	(syms_of_macterm): Define mac-control-modifier,
	mac-command-modifier, mac-function-modifier.
	Define meta and ctrl for use as modifiers.
2005-11-11 16:33:44 +00:00
Kim F. Storm
338fa84a5e (pitx): Fix output format if n_overlay_strings > 0.
(bt): Add post hook to "backtrace" to always dump lisp call stack to
increase chance of people sending it to us when reporting bugs.
2005-11-11 15:45:44 +00:00
Kim F. Storm
ab4d879ee6 *** empty log message *** 2005-11-11 15:45:18 +00:00
Kim F. Storm
c698360f95 (Fsubstitute_command_keys): Doc fix. 2005-11-11 15:36:36 +00:00
Kim F. Storm
8c41220cef (FATAL ERRORS): Fix infinite loop in redisplay
when displaying a non-breaking space in an overlay string.
2005-11-11 15:36:23 +00:00
Kim F. Storm
fcc38f6dbe (struct it): New member ignore_overlay_strings_at_pos_p. 2005-11-11 15:33:34 +00:00
Kim F. Storm
310316cfb9 (handle_stop): Skip overlay string handling if
ignore_overlay_strings_at_pos_p is set.
(set_iterator_to_next): At end of display vector, set
ignore_overlay_strings_at_pos_p if dpvec came from an overlay
string, so we skip those overlay strings at current pos.
2005-11-11 15:33:23 +00:00
Kim F. Storm
6a77a9f535 *** empty log message *** 2005-11-11 15:32:54 +00:00
Lars Hansen
19a9c3b741 (file-regular-p): Doc fix. 2005-11-10 11:57:35 +00:00
Kim F. Storm
932954d1d8 *** empty log message *** 2005-11-09 23:21:52 +00:00
Kim F. Storm
bd90dcd000 (safe_debug_print): New function to be called from gdb
to print Lisp objects; use valid_lisp_object_p to avoid crashing
if user tries to print something which is not a Lisp object.
2005-11-09 23:14:32 +00:00