1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
Commit graph

21033 commits

Author SHA1 Message Date
Jan Djärv
a940e2c652 * config.in: Regenerated (HAVE_ALSA).
* sound.c (alsa_sound_perror, alsa_open, alsa_period_size)
	(alsa_configure, alsa_close, alsa_choose_format, alsa_write)
	(snd_error_quiet, alsa_init): New functions.
	(vox_init): Return 0 if unable to open device.
	(Fplay_sound_internal): Test for alsa first and use vox (oss) as
	a fallback.
	(struct sound_device): Add period_size.
	(wav_play, au_play): Use period_size if set.

	* Makefile.in (CFLAGS_SOUND): New flags for ALSA
	(ALL_CFLAGS): Add CFLAGS_SOUND
2006-05-18 17:06:55 +00:00
Jan Djärv
2d2643f653 * sound.c (alsa_sound_perror, alsa_open, alsa_period_size)
(alsa_configure, alsa_close, alsa_choose_format, alsa_write)
	(snd_error_quiet, alsa_init): New functions.
	(vox_init): Return 0 if unable to open device.
	(Fplay_sound_internal): Test for alsa first and use vox (oss) as
	a fallback.
	(struct sound_device): Add period_size.
	(wav_play, au_play): Use period_size if set.
2006-05-18 17:06:01 +00:00
Jan Djärv
4900d996ca * Makefile.in (CFLAGS_SOUND): New flags for ALSA
(ALL_CFLAGS): Add CFLAGS_SOUND
2006-05-18 17:05:36 +00:00
Jan Djärv
51d139915e * config.in: Regenerated (HAVE_ALSA). 2006-05-18 17:04:59 +00:00
Kenichi Handa
8acb7dad7a (Fcall_process): Reject encoding arguments by
ascii-incompatible coding systems (e.g. utf-16).
2006-05-18 02:20:39 +00:00
Kenichi Handa
0c2660c849 (Qascii_incompatible): New variable.
(syms_of_coding): Setup Qascii_incompatible.
(setup_coding_system): Be sure to initialize coding->common_flags.
Check `ascii-incompatible' property of the coding system.
2006-05-18 02:19:01 +00:00
Kenichi Handa
ad598c8b58 (CODING_ASCII_INCOMPATIBLE_MASK): New macro. 2006-05-18 02:17:39 +00:00
Richard M. Stallman
92daa8486f Comment change. 2006-05-17 22:53:23 +00:00
Richard M. Stallman
6c1195abb7 (better_font_p): Any font beats no font.
(best_matching_font): Simplify based on above change.
2006-05-17 22:51:07 +00:00
Kim F. Storm
59367bff6b (display_tool_bar_line): Eliminate x_before variable. 2006-05-17 22:37:25 +00:00
Richard M. Stallman
624d267858 (Fprevious_overlay_change, Fnext_overlay_change): Doc fixes. 2006-05-17 22:26:51 +00:00
Kim F. Storm
914dee7a62 (display_tool_bar_line): Restore entire tool-bar geometry when
backtracking in case last image doesn't fit on line.

(display_tool_bar_line): Don't adjust tool-bar height by more than
height of one frame default line.  From: MIYOSHI Masanori.
2006-05-17 22:24:13 +00:00
Kim F. Storm
f5ecbceeee *** empty log message *** 2006-05-17 22:22:29 +00:00
Kim F. Storm
fb6341e7fd (handle_one_xevent): Check that f is not NULL before
calling x_kill_gs_process.
2006-05-16 10:54:48 +00:00
Kim F. Storm
b3abe3a5ef *** empty log message *** 2006-05-16 10:54:37 +00:00
Miles Bader
4449f659d5 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-280
Creator:  Michael Olson <mwolson@gnu.org>

Update etc/MORE.STUFF.

* etc/MORE.STUFF: Update URL for Planner Mode and add description.
  Canonicalize URLs for Emacs Muse and Emacs Wiki Mode.
2006-05-15 11:20:16 +00:00
Richard M. Stallman
46a2df8ead *** empty log message *** 2006-05-14 22:52:37 +00:00
Richard M. Stallman
85cc6738ed (Fnext_single_char_property_change)
(Fprevious_single_char_property_change):
Don't allow returning value beyond LIMIT in any cases.
(Fnext_char_property_change, Fprevious_char_property_change): Doc fix.
2006-05-14 21:55:34 +00:00
Richard M. Stallman
1b0440ed04 (get_local_map): Abort if POSITION outside BEGV, ZV. 2006-05-14 21:53:45 +00:00
Jan Djärv
79fb0ab7fa * xterm.c (handle_one_xevent): Check that f is not NULL before
calling _XEditResCheckMessages.
2006-05-14 11:26:20 +00:00
Kim F. Storm
295fa1d472 (handle_one_xevent): Fix crash in 2006-03-24 change. 2006-05-14 00:30:46 +00:00
Kim F. Storm
0f479f06f1 *** empty log message *** 2006-05-14 00:30:25 +00:00
Eli Zaretskii
dac85f4b38 (x_set_border_width): Fix error message to say "frame", not "window". 2006-05-13 18:32:00 +00:00
Eli Zaretskii
642c61f303 *** empty log message *** 2006-05-13 10:52:41 +00:00
Eli Zaretskii
6e9fa9793a (SOME_MACHINE_LISP): Add fringe.elc. 2006-05-13 10:24:18 +00:00
Chong Yidong
4e8f005c08 * intervals.c (set_point_both): Fix mixup before before and after
in variable names.

	* editfns.c (Fline_beginning_position): Inhibit point-motion hooks
	while setting point temporarily.
2006-05-12 17:39:39 +00:00
Richard M. Stallman
1ed7b9ae26 (readevalloop): Abort if START non-nil for non-buffer input. 2006-05-12 02:08:23 +00:00
Kim F. Storm
af8f3e5c42 (redisplay_tool_bar): Handle large tool-bar-border values. 2006-05-11 21:26:54 +00:00
Kim F. Storm
f46f3e2102 *** empty log message *** 2006-05-11 21:26:43 +00:00
Kenichi Handa
17ad716ac4 (Finsert_file_contents): Fix for the case of IO error
while handling replace operation.
2006-05-11 04:13:33 +00:00
Kenichi Handa
4da9c1365a (realize_default_face): If the font chosen for the
default face was different from the frame font, adjust the frame
font.
2006-05-10 12:38:58 +00:00
YAMAMOTO Mitsuharu
dec940492f *** empty log message *** 2006-05-10 08:25:29 +00:00
YAMAMOTO Mitsuharu
5fd97b043c (mac_set_font_info_for_selection): Add 2nd and 3rd args in extern. 2006-05-10 08:25:04 +00:00
YAMAMOTO Mitsuharu
4cb62a90b3 (Qservice) [MAC_OSX]: Rename from Qservices. All uses changed.
[MAC_OSX] (mac_store_service_event): Rename from
mac_store_services_event.  All callers changed.
[USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Add args
FACE_ID and C.  All callers changed.
(x_free_frame_resources) [USE_MAC_FONT_PANEL]: Call
mac_set_font_info_for_selection when focus frame is destroyed.
(XTread_socket): Revert to FrontNonFloatingWindow/FrontWindow.
2006-05-10 08:24:49 +00:00
YAMAMOTO Mitsuharu
c2e93c8242 (Vmac_service_selection) [MAC_OSX]: Rename from
Vmac_services_selection.  All uses changed.
(mac_store_service_event): Rename from mac_store_services_event in
extern and calls.
2006-05-10 08:24:09 +00:00
YAMAMOTO Mitsuharu
976b059fda (x_to_mac_color): Fix shift amount change.
[USE_MAC_FONT_PANEL] (mac_set_font): Use x_get_focus_frame.
[USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): Doc fix.
2006-05-10 08:23:45 +00:00
YAMAMOTO Mitsuharu
8c88cb181b (Qduration) [MAC_OS]: Undo previous change.
(syms_of_image) [MAC_OS]: Likewise.
[MAC_OS] (gif_load): Emulate Graphic Control Extension block.
2006-05-10 08:23:20 +00:00
Chong Yidong
d3ee989e85 * keymap.c (describe_map): Avoid generating duplicate entries if
the shadowed binding has the same definition.
2006-05-10 03:32:06 +00:00
Kenichi Handa
5f2c7b2a65 (push_key_description): Fix previous change. 2006-05-09 13:20:25 +00:00
Kenichi Handa
f39a0b4301 (push_key_description): Handle invalid character key. 2006-05-09 13:17:24 +00:00
Kenichi Handa
76a25e7936 (Fcall_process): Use system_eol_type for encoding
arguments if eol_type is not yet decided.
2006-05-08 07:56:14 +00:00
Kenichi Handa
3f0b133f76 (setup_coding_system): For invalid coding-system, set
coding->eol_type to CODING_EOL_UNDECIDED.
(encode_coding): Cancel previous change.
(shrink_encoding_region): Likewise.
(code_convert_region1): Likewise.
(code_convert_string1): Likewise.
(code_convert_string_norecord): Likewise.
2006-05-08 05:25:02 +00:00
Kenichi Handa
06ea6d57ca (system_eol_type): Extern it. 2006-05-08 05:24:53 +00:00
Kenichi Handa
452dd0bed5 (choose_write_coding_system): Use system_eol_type for
encoding if eol_type is not yet decided.
2006-05-08 05:20:16 +00:00
Kenichi Handa
6b62b48dbd (setup_process_coding_systems): Use system_eol_type
for encoding if eol_type is not yet decided.
(read_process_output): Likewise.
(send_process): Likewise.
2006-05-08 05:19:42 +00:00
Juanma Barranquero
f4b46bb9eb syms_of_minibuf) <history-length>: Fix typo in doc. 2006-05-07 11:17:06 +00:00
YAMAMOTO Mitsuharu
cc9945f2cd *** empty log message *** 2006-05-07 08:07:48 +00:00
YAMAMOTO Mitsuharu
d017985589 (mac_set_font_info_for_selection): Add extern. 2006-05-07 08:07:26 +00:00
YAMAMOTO Mitsuharu
68c767a32d (XLoadQueryFont) [USE_ATSUI]: Set FMFontFamily value
to font->mac_fontnum.
[USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): New function.
(x_new_focus_frame) [USE_MAC_FONT_PANEL]: Use it.
(QCfamily, QCweight, QCslant, Qnormal, Qbold, Qitalic): Add extern.
(QWindow) [MAC_OSX]: Likewise.
(Qfont) [USE_MAC_FONT_PANEL]: Likewise.
(Vmac_atsu_font_table) [USE_ATSUI]: New variable.
(syms_of_macterm) [USE_ATSUI]: Defvar it.
(Qtoolbar_switch_mode) [MAC_OSX]: New variable.
(Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise.
(syms_of_macterm): Intern and staticpro them.
(init_font_name_table) [USE_ATSUI]: Set data to Vmac_atsu_font_table.
[TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): New
function.
[USE_CARBON_EVENTS] (mac_handle_command_event): Use it.
[MAC_OSX] (mac_store_services_event): Likewise.
[USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle
kEventWindowToolbarSwitchMode event.
(install_window_handler) [USE_CARBON_EVENTS && MAC_OSX]: Register it.
[MAC_OSX] (mac_store_services_event): Change return type to OSStatus.
[USE_MAC_FONT_PANEL] (mac_handle_font_event): New function.
(install_window_handler) [USE_MAC_FONT_PANEL]: Install it.
(XTread_socket): Select window on mouse click if x_focus_frame is NULL.
2006-05-07 08:07:13 +00:00
YAMAMOTO Mitsuharu
a6d7a7754d (mac_do_receive_drag): Remove unused variable `index'.
(mac_store_services_event): Change return type in extern.
2006-05-07 08:05:38 +00:00