diff options
| author | Eli Zaretskii | 2014-09-15 18:51:57 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-09-15 18:51:57 +0300 |
| commit | a7fc3ab8f1e7061a468eaff0c0b47abd12c99003 (patch) | |
| tree | 5cccc74a0ca4ede4cbeaf82f0c876465a1c0ee69 /src/ChangeLog | |
| parent | edb0288b83b45d295df52ce7644e897613358971 (diff) | |
| download | emacs-a7fc3ab8f1e7061a468eaff0c0b47abd12c99003.tar.gz emacs-a7fc3ab8f1e7061a468eaff0c0b47abd12c99003.zip | |
Support playing on MS-Windows non-ASCII sound files using Unicode APIs.
src/sound.c [WINDOWSNT]: Include w32common.h and mbstring.h.
(SOUND_WARNING) [WINDOWSNT]: Include in do..while and improve the
error message format. Use message_with_string to have non-ASCII
file names properly displayed.
(do_play_sound) [WINDOWSNT]: Use Unicode APIs to play sound files
when w32-unicode-filenames is non-nil, but not on Windows 9X,
where these APIs are not available even in UNICOWS.DLL. Improve
the format of error messages and include the file name in them
where appropriate.
(Fplay_sound_internal) [WINDOWSNT]: Make the MS-Windows branch
call play-sound-functions, per documentation.
src/w32.c (w32_get_long_filename, w32_get_short_filename): Constify
the input file name arguments.
src/w32.h (w32_get_long_filename, w32_get_short_filename): Update
prototypes.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 185a6c4bd40..2258f58299e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,23 @@ | |||
| 1 | 2014-09-15 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * sound.c [WINDOWSNT]: Include w32common.h and mbstring.h. | ||
| 4 | (SOUND_WARNING) [WINDOWSNT]: Include in do..while and improve the | ||
| 5 | error message format. Use message_with_string to have non-ASCII | ||
| 6 | file names properly displayed. | ||
| 7 | (do_play_sound) [WINDOWSNT]: Use Unicode APIs to play sound files | ||
| 8 | when w32-unicode-filenames is non-nil, but not on Windows 9X, | ||
| 9 | where these APIs are not available even in UNICOWS.DLL. Improve | ||
| 10 | the format of error messages and include the file name in them | ||
| 11 | where appropriate. | ||
| 12 | (Fplay_sound_internal) [WINDOWSNT]: Make the MS-Windows branch | ||
| 13 | call play-sound-functions, per documentation. | ||
| 14 | |||
| 15 | * w32.c (w32_get_long_filename, w32_get_short_filename): Constify | ||
| 16 | the input file name arguments. | ||
| 17 | |||
| 18 | * w32.h (w32_get_long_filename, w32_get_short_filename): Update | ||
| 19 | prototypes. | ||
| 20 | |||
| 1 | 2014-09-15 Dmitry Antipov <dmantipov@yandex.ru> | 21 | 2014-09-15 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 22 | ||
| 3 | If USE_LOCAL_ALLOCATORS, allocate some Lisp objects on stack. | 23 | If USE_LOCAL_ALLOCATORS, allocate some Lisp objects on stack. |