1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

21078 commits

Author SHA1 Message Date
Jan Djärv
07a7837c9f * sound.c (alsa_configure): Move get period/buffer_size after
setting hwparams.
2006-05-26 06:29:32 +00:00
Kenichi Handa
f1c582b4f3 *** empty log message *** 2006-05-26 04:57:35 +00:00
Kenichi Handa
a9e2078b71 (Ffind_operation_coding_system): Allow (FILENAME . BUFFER) in TARGET. 2006-05-26 04:48:21 +00:00
Chong Yidong
3165e4509a * image.c (png_load): Don't call fclose on NULL. 2006-05-26 03:33:32 +00:00
Luc Teirlinck
d579f53bdd *** empty log message *** 2006-05-25 23:22:25 +00:00
Luc Teirlinck
ae4c2a3be0 (Fcall_interactively): Fread_from_minibuffer now takes only seven args. 2006-05-25 23:17:17 +00:00
Luc Teirlinck
ba13929931 (Fyes_or_no_p): Fread_from_minibuffer now takes only seven args. 2006-05-25 23:15:57 +00:00
Juri Linkov
abeb5483f0 *** empty log message *** 2006-05-25 21:34:01 +00:00
Juri Linkov
dafbe726b8 (mode-line-format): Fix docstring. 2006-05-25 21:20:19 +00:00
Juri Linkov
b35cd21514 (read_minibuf): Remove arg KEEP_ALL. Callers changed.
(Fread_from_minibuffer): Remove arg KEEP_ALL.  Callers changed.
2006-05-25 21:16:22 +00:00
Juri Linkov
2c9606674d (Fread_from_minibuffer): Decrement number of args. 2006-05-25 21:12:52 +00:00
Richard M. Stallman
403a7bca0a *** empty log message *** 2006-05-25 17:03:52 +00:00
Richard M. Stallman
848a925ea6 (main, Fdump_emacs): Don't test __linux or __linux__. 2006-05-25 16:27:30 +00:00
Luc Teirlinck
24b0232fdd *** empty log message *** 2006-05-24 17:04:49 +00:00
Luc Teirlinck
944f2d7f33 (BASE_PURESIZE): Increase to 1210000. 2006-05-24 16:53:18 +00:00
Alan Mackenzie
ac9f37df56 *** empty log message *** 2006-05-24 13:51:11 +00:00
Alan Mackenzie
6bb6da3ec1 lread.c (Vload_history): Enhance doc-string to say that the file is the
absolute truename of the loaded file.

lread.c (Vafter_load_alist): doc-string: state that an element now has a
regexp to match file names, not a file name as such.

lread.c (readevalloop): Call file-truename on the name for load-history,
except at preloading time.

lread.c (Fload): At preloading time, preserve the extension of the
filename which goes into load-history.  New variable hist_file_name.

lread.c (Fload): Do eval-after-load stuff by calling the lisp function
do-after-load-evaluation.
2006-05-24 13:24:21 +00:00
YAMAMOTO Mitsuharu
e4dff88deb *** empty log message *** 2006-05-24 08:09:31 +00:00
YAMAMOTO Mitsuharu
fed1453ae1 (TYPE_FILE_NAME): Change from macro to enumerator.
(KEY_EMACS_SUSPENSION_ID_ATTR): New enumerator.
(keyReplyRequestedAttr) [MAC_OS_X_VERSION_MAX_ALLOWED < 1030]: Likewise.
(gestaltSystemVersionMajor, gestaltSystemVersionMinor)
(gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]:
Likewise.
(typeUTF8Text, kEventParamWindowMouseLocation)
[MAC_OSX && MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Likewise.
(x_get_focus_frame, mac_ae_put_lisp): Add externs.
2006-05-24 08:09:11 +00:00
YAMAMOTO Mitsuharu
a16ac62430 (fn_keycode_to_keycode_table, XTread_socket) [MAC_OSX]:
Fix last change.  Don't map `fn' modifier if pressed with F1 ... F12.
2006-05-24 08:08:43 +00:00
YAMAMOTO Mitsuharu
0ffd2c761b (Qemacs_suspension_id): New variable.
(syms_of_macselect): Intern and staticpro it.
(struct suspended_ae_info): New struct.
(deferred_apple_events, defer_apple_events)
(Fmac_process_deferred_apple_events): Use it.
(suspended_apple_events): New variable.
(mac_handle_apple_event_1): New function.
(mac_handle_apple_event): Use it.  Don't process previously
suspended events.
(cleanup_suspended_apple_events, get_suspension_id)n
(cleanup_all_suspended_apple_events): New functions.
(init_apple_event_handler): Call cleanup_all_suspended_apple_events
at exit.
(Fmac_cleanup_expired_apple_events, Fmac_ae_set_reply_parameter)
(Fmac_resume_apple_event): New defuns.
(syms_of_macselect): Defsubr them.
2006-05-24 08:08:11 +00:00
YAMAMOTO Mitsuharu
a0293ec7a8 (Fx_server_version): Use gestaltSystemVersionMajor etc. 2006-05-24 08:07:37 +00:00
YAMAMOTO Mitsuharu
2015c1f03f (ae_attr_table): New variable.
(syms_of_mac): Intern and staticpro its elements.
(mac_aelist_to_lisp): Also convert Apple event attributes.
(mac_ae_put_lisp): New function.
(create_apple_event_from_event_ref) [MAC_OSX]: Use typeUTF8Text.
2006-05-24 08:07:19 +00:00
Richard M. Stallman
55815819d9 *** empty log message *** 2006-05-24 02:16:08 +00:00
YAMAMOTO Mitsuharu
b8c6940eaf (fn_keycode_to_xkeysym_table, convert_fn_keycode): Remove.
(fn_keycode_to_keycode_table) [MAC_OSX]: New variable.
(mac_set_unicode_keystroke_event) [TARGET_API_MAC_CARBON]: New function.
(XTread_socket) [TARGET_API_MAC_CARBON]: Use it.
(XTread_socket) [MAC_OSX]: Try 'uchr' Unicode keyboard-layout
resource to backtranslate key with modifiers.
(XTread_socket): Don't set read_socket_inev around AEProcessAppleEvent.
2006-05-23 08:12:13 +00:00
Jan Djärv
0277e36c14 * xterm.c: Remove declarations already in xterm.h
* xterm.h: Add extern declarations for x_clear_errors,
x_fully_uncatch_errors, x_catching_errors and
x_alloc_lighter_color_for_widget.  Remove duplicated declarations.
2006-05-23 07:13:28 +00:00
Jan Djärv
32c1210748 * xterm.c: Remove declarations already in xterm.h 2006-05-23 07:13:05 +00:00
Jan Djärv
bdf1cc7382 * xterm.h: Add extern declarations for x_clear_errors,
x_fully_uncatch_errors, x_catching_errors and
 x_alloc_lighter_color_for_widget.  Remove duplicated declarations.
2006-05-23 07:12:49 +00:00
Chong Yidong
594a1605cd Update comments. 2006-05-23 00:49:55 +00:00
Richard M. Stallman
ccd97b5616 (best_matching_font): Abort for best == NULL before we start to use it. 2006-05-22 01:02:40 +00:00
Richard M. Stallman
63af60550b (syms_of_buffer, Fmake_overlay): Doc fixes. 2006-05-21 21:11:48 +00:00
Richard M. Stallman
6f5c4cc997 *** empty log message *** 2006-05-21 00:27:13 +00:00
Kim F. Storm
5748161eab *** empty log message *** 2006-05-20 22:37:32 +00:00
Kim F. Storm
41a9b76e81 (best_matching_font): Fix crash in 2006-05-17 change. 2006-05-20 22:01:18 +00:00
Eli Zaretskii
d836fdf52e (CODING_REQUIRE_ENCODING): Elaborate the comment. 2006-05-20 19:04:35 +00:00
YAMAMOTO Mitsuharu
431225c60e (convert_fn_keycode): Fix last change. 2006-05-20 07:15:33 +00:00
Eli Zaretskii
75e3b95755 *** empty log message *** 2006-05-19 19:51:35 +00:00
Eli Zaretskii
892eb23701 (init_environment): Simplify code that calls ExpandEnvironmentStrings and make
buf1[] and buf2[] more visible for easier debugging.
2006-05-19 19:29:36 +00:00
Eli Zaretskii
e00b99c818 (init_environment): Perform the processing of environment variables on a copy
of default variables and their values, not on the original.
2006-05-19 19:05:07 +00:00
YAMAMOTO Mitsuharu
689840b922 *** empty log message *** 2006-05-19 09:12:55 +00:00
YAMAMOTO Mitsuharu
76fb556f52 (foreach_window): Check WINDOWP (FRAME_ROOT_WINDOW (f)). 2006-05-19 09:12:26 +00:00
YAMAMOTO Mitsuharu
2abb0fde83 (XTread_socket) [TARGET_API_MAC_CARBON && MAC_OSX]:
Forward keyUp events to toolbox_dispatcher.
2006-05-19 09:12:04 +00:00
YAMAMOTO Mitsuharu
91c889526a (Fx_focus_frame): Don't check dpyinfo->x_focus_frame. 2006-05-19 09:11:47 +00:00
YAMAMOTO Mitsuharu
a73c40d183 (gif_load): Allocate Lisp string first. 2006-05-19 09:11:30 +00:00
YAMAMOTO Mitsuharu
f3e86bf2b6 (x_set_border_width): Remove #ifndef MAC_OS. 2006-05-19 09:11:14 +00:00
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