Mercurial > emacs
comparison src/ChangeLog @ 48375:4d7b83cc03aa
Added a partial implementation of play-sound-internal for Windows. Fixed the following entry in etc/PROBLEMS: Emacs built on Windows 9x/ME crashes at startup on Windows XP, or Emacs built on XP crashes at startup on Windows 9x/ME.
author | Ben Key <bkey1@tampabay.rr.com> |
---|---|
date | Sun, 17 Nov 2002 22:35:26 +0000 |
parents | 6ab38451cdad |
children | dca7e9772ba0 |
comparison
equal
deleted
inserted
replaced
48374:a6f9803f174f | 48375:4d7b83cc03aa |
---|---|
1 2002-11-17 Ben Key <BKey1@tampabay.rr.com> | |
2 * w32.c: Added wrapper functions around the win32 API functions | |
3 OpenProcessToken, GetTokenInformation, LookupAccountSid, and | |
4 GetSidIdentifierAuthority. These wrapper functions serve two | |
5 purposes: | |
6 1. They ensure that the wrapped function can never be called | |
7 when Emacs is running on an operating system on which they are | |
8 not supported (Microsoft Windows 95 / 98 / ME). | |
9 2. They call the wrapped functions via function pointers rather | |
10 than calling them directly. This avoids taking advantage of the | |
11 undocumented fact that although these functions are not supported | |
12 in the 9x branch of Microsoft Windows, the functions do exist in | |
13 the version of advapi32.dll that is found in the 9x branch of | |
14 Microsoft Windows. | |
15 This change is part of my fix for the following entry in | |
16 etc/PROBLEMS: "Emacs built on Windows 9x/ME crashes at startup on | |
17 Windows XP, or Emacs built on XP crashes at startup on Windows | |
18 9x/ME." | |
19 | |
20 * w32.c (init_user_info): Replaced the calls to the win32 API | |
21 functions OpenProcessToken, GetTokenInformation, LookupAccountSid, | |
22 and GetSidIdentifierAuthority with calls to the newly added | |
23 wrapper functions. | |
24 This change is part of my fix for the following entry in | |
25 etc/PROBLEMS: "Emacs built on Windows 9x/ME crashes at startup on | |
26 Windows XP, or Emacs built on XP crashes at startup on Windows | |
27 9x/ME." | |
28 | |
29 * w32.h: Added extern declarations for the following functions: | |
30 syms_of_w32term, syms_of_w32fns, syms_of_w32select, | |
31 syms_of_w32menu, and void syms_of_fontset. | |
32 This change is part of my fix for the following entry in | |
33 etc/PROBLEMS: "Emacs built on Windows 9x/ME crashes at startup on | |
34 Windows XP, or Emacs built on XP crashes at startup on Windows | |
35 9x/ME." | |
36 | |
37 * w32fns.c (w32_wnd_proc): Added code to reinitialize the | |
38 function pointer track_mouse_event_fn in the handler for the | |
39 WM_SETFOCUS message. | |
40 This change is part of my fix for the following entry in | |
41 etc/PROBLEMS: "Emacs built on Windows 9x/ME crashes at startup on | |
42 Windows XP, or Emacs built on XP crashes at startup on Windows | |
43 9x/ME." | |
44 | |
45 * w32menu.c (initialize_frame_menubar): Added code to | |
46 reinitialize the function pointers set_menu_item_info and | |
47 get_menu_item_info. | |
48 This change is part of my fix for the following entry in | |
49 etc/PROBLEMS: "Emacs built on Windows 9x/ME crashes at startup on | |
50 Windows XP, or Emacs built on XP crashes at startup on Windows | |
51 9x/ME." | |
52 | |
53 * sound.c: Added a partial implementation of play-sound-internal | |
54 for Microsoft Windows. Added various #ifdef / #else / #endif | |
55 code blocks to separate the code that will compile under | |
56 Microsoft Windows from the code that is specific to Gnu/Linux. | |
57 Moved several blocks of code around to make this separation of | |
58 code into Windows compatible and Gnu/Linux compatible code blocks | |
59 easier. | |
60 | |
61 * makefile.w32-in: Made modifications so that sound.c would be | |
62 included in the Windows port of Emacs and that it would link with | |
63 WinMM.lib. | |
64 | |
65 * s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly | |
66 added support for play-sound-internal under Windows would be | |
67 included in the build of Emacs. | |
68 | |
69 | |
1 2002-11-16 Jason Rumney <jasonr@gnu.org> | 70 2002-11-16 Jason Rumney <jasonr@gnu.org> |
2 | 71 |
3 * w32fns.c (w32_load_system_font): Don't disable Cleartype. | 72 * w32fns.c (w32_load_system_font): Don't disable Cleartype. |
4 | 73 |
5 * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. | 74 * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. |