Mercurial > emacs
comparison src/ChangeLog @ 48888:f0df5f687c15
Revisited my earlier fix for the following entry in etc/PROBLEMS: 'Emacs built on Windows 9x/ME crashes at startup on Windows XP, or Emacs builtpart of on XP crashes at startup on Windows 9x/ME.' Fixed several Windows API errors detected by BoundsChecker
author | Ben Key <bkey1@tampabay.rr.com> |
---|---|
date | Wed, 18 Dec 2002 06:16:28 +0000 |
parents | 23fcd656a17e |
children | 46d61ebad229 |
comparison
equal
deleted
inserted
replaced
48887:e846f8d1619c | 48888:f0df5f687c15 |
---|---|
1 2002-12-17 Ben Key <bkey1@tampabay.rr.com> | |
2 * Revisited my earlier fix for the following entry in | |
3 etc/PROBLEMS: | |
4 "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
5 or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
6 | |
7 These changes were in part based upon suggestions made by Peter | |
8 'Luna' Runestig [peter@runestig.com]. | |
9 | |
10 * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token, | |
11 g_b_init_get_token_information, g_b_init_lookup_account_sid, | |
12 g_b_init_get_sid_identifier_authority ): Added several static | |
13 global variables. | |
14 | |
15 * w32.c (globals_of_w32): New function. Used to initialize those | |
16 global variables that must always be initialized on startup even | |
17 when the global variable initialized is non zero. Its primary | |
18 purpose at this time is to set the global variables | |
19 g_b_init_is_windows_9x, g_b_init_open_process_token, | |
20 g_b_init_get_token_information, g_b_init_lookup_account_sid, and | |
21 g_b_init_get_sid_identifier_authority to 0 on startup. Called | |
22 from main. | |
23 | |
24 * w32.c (is_windows_9x): Perform initialization only if | |
25 g_b_init_is_windows_9x is equal to 0. On initialization set | |
26 g_b_init_is_windows_9x equal to 1. | |
27 | |
28 * w32.c (open_process_token): Perform initialization only if | |
29 g_b_init_open_process_token is equal to 0. On initialization set | |
30 g_b_init_open_process_token equal to 1. | |
31 | |
32 * w32.c (get_token_information): Perform initialization only if | |
33 g_b_init_get_token_information is equal to 0. On initialization | |
34 set g_b_init_get_token_information equal to 1. | |
35 | |
36 * w32.c (lookup_account_sid): Perform initialization only if | |
37 g_b_init_lookup_account_sid is equal to 0. On initialization | |
38 set g_b_init_lookup_account_sid equal to 1. | |
39 | |
40 * w32.c (get_sid_identifier_authority): Perform initialization | |
41 only if g_b_init_get_sid_identifier_authority is equal to 0. On | |
42 initialization set g_b_init_get_sid_identifier_authority equal to | |
43 1. | |
44 | |
45 * w32fns.c (globals_of_w32fns): New function. Used to initialize | |
46 those global variables that must always be initialized on startup | |
47 even when the global variable initialized is non zero. Its | |
48 primary purpose at this time is to initialize the global variable | |
49 track_mouse_event_fn. | |
50 | |
51 * w32fns.c (w32_wnd_proc): Remove initialization of | |
52 track_mouse_event_fn from the handler for the WM_SETFOCUS | |
53 message. | |
54 | |
55 * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. | |
56 | |
57 * w32menu.c (globals_of_w32menu): New function. Used to | |
58 initialize those global variables that must always be initialized | |
59 on startup even when the global variable initialized is non zero. | |
60 Its primary purpose at this time is to initialize the global | |
61 variables get_menu_item_info and set_menu_item_info. | |
62 | |
63 * w32menu.c (initialize_frame_menubar): Remove initialization of | |
64 get_menu_item_info and set_menu_item_info. | |
65 | |
66 * w32menu.c (syms_of_w32menu): Call globals_of_w32menu. | |
67 | |
68 * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu): | |
69 Declare them. | |
70 | |
71 * emacs.c (main): Call globals_of_w32 prior to calling | |
72 init_environment if WINDOWSNT is defined. Call globals_of_w32fns | |
73 and globals_of_w32menu if initialized is non zero and HAVE_NTGUI | |
74 is defined. | |
75 | |
76 * w32term.c (x_update_window_begin): Fix Windows API error | |
77 detected by BoundsChecker. Test to determine if | |
78 w32_system_caret_hwnd is NULL prior to attempting to use | |
79 SendMessage to send the WM_EMACS_HIDE_CARET message to it. | |
80 | |
81 * w32term.c (x_update_window_end): Fix Windows API error | |
82 detected by BoundsChecker. Test to determine if | |
83 w32_system_caret_hwnd is NULL prior to attempting to use | |
84 SendMessage to send the WM_EMACS_SHOW_CARET message to it. | |
85 | |
1 2002-12-17 Kenichi Handa <handa@m17n.org> | 86 2002-12-17 Kenichi Handa <handa@m17n.org> |
2 | 87 |
3 * coding.c (coding_system_require_warning): New variable. | 88 * coding.c (coding_system_require_warning): New variable. |
4 (syms_of_coding): DEFVAR it. | 89 (syms_of_coding): DEFVAR it. |
5 | 90 |