diff options
| author | Daniel Colascione | 2012-10-07 23:58:40 -0800 |
|---|---|---|
| committer | Daniel Colascione | 2012-10-07 23:58:40 -0800 |
| commit | e08348a0e6d440d5c2764c101de0a95fc12168c7 (patch) | |
| tree | fd0da018271ec07b33babacfe1fcaa6898665c44 /src | |
| parent | 36a305a723c63fd345be65c536c52fe9765c14be (diff) | |
| download | emacs-e08348a0e6d440d5c2764c101de0a95fc12168c7.tar.gz emacs-e08348a0e6d440d5c2764c101de0a95fc12168c7.zip | |
Changelog entries for cygw32
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 138 |
1 files changed, 138 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 29e831a2eb8..2a312199512 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,141 @@ | |||
| 1 | 2012-10-08 Daniel Colascione <dancol@dancol.org> | ||
| 2 | |||
| 3 | * xfaces.c, xdisp.c, window.c, w32xfns.c, w32term.h, w32term.c, | ||
| 4 | w32select.h w32select.c, w32proc.c, w32menu.c, w32inevt.c, | ||
| 5 | w32help.c, w32font.c, w32font.c, w32fns.c, w32console.c, w32.h, | ||
| 6 | w32.c, unexw32.c, termhooks.h, process.c, menu.c, keyboard.h, | ||
| 7 | keyboard.c, image.c, frame.h, frame.c, fontset.c, font.h, font.c, | ||
| 8 | emacs.c, dispextern.h, cygw32.h, cygw32.c, conf_post.h, | ||
| 9 | Makefile.in: use HAVE_NTGUI for W32 GUI and WINDOWSNT for the | ||
| 10 | operating system. defined(HAVE_NTGUI) && !defined(WINDOWSNT) is | ||
| 11 | now a supported configuration. | ||
| 12 | |||
| 13 | * Makefile.in: consolidate image variables into LIBIMAGE; add | ||
| 14 | W32_OBJ and W32_LIBS. Compile new files. | ||
| 15 | |||
| 16 | * conf_post.h: | ||
| 17 | (_DebPrint) declare tracing facility for W32 debugging. We need | ||
| 18 | to unify tracing later. | ||
| 19 | |||
| 20 | (NTGUI_UNICODE) Define when compiling for Cygwin to allow the | ||
| 21 | unconditional use of W32 Unicode functions. Cygwin runs only on | ||
| 22 | 100% Unicode operating systems. | ||
| 23 | |||
| 24 | * cygw32.c: New file. Define Cygwin-specific facilities. | ||
| 25 | (Fcygwin_convert_path_to_windows) | ||
| 26 | (Fcygwin_convert_path_from_windows): New user functions for | ||
| 27 | accessing Cygwin path-munging routines. | ||
| 28 | |||
| 29 | * cygw32.h: New file. | ||
| 30 | (WCSDATA, to_unicode, from_unicode): Define facilities for storing | ||
| 31 | UTF-16LE strings temporarily inside non-Lisp-visible string | ||
| 32 | objects. | ||
| 33 | |||
| 34 | (w32_strerror): Just what it says on the tin. | ||
| 35 | |||
| 36 | * emacs.c: Make the NS fork-then-exec code for daemon-launching | ||
| 37 | also run for Cygwin; both systems have the same problem with using | ||
| 38 | GUI facilities in a forked child. Also call syms_of_cygw32, | ||
| 39 | syms_of_w32select in correct places. | ||
| 40 | |||
| 41 | (DAEMON_MUST_EXEC): new macro defined to signal that a platform | ||
| 42 | needs fork-then-exec for daemon launching. | ||
| 43 | |||
| 44 | * font.h: Include frame.h. | ||
| 45 | |||
| 46 | * image.c: Use the image library cache machinery only when we're | ||
| 47 | compiling for native WINDOWSNT; Cygwin can use shared libraries | ||
| 48 | like any other Unixlike system. | ||
| 49 | |||
| 50 | * keyboard.c: Clarify a comment regarding the input loop. | ||
| 51 | |||
| 52 | * menu.c: When NTGUI_UNICODE is defined, use Unicode menu | ||
| 53 | functions directly instead of trying to detect at runtime that our | ||
| 54 | host operating system supports them. We make this change for two | ||
| 55 | reasons: Cygwin lacks support for the multibyte character | ||
| 56 | conversion functions used by the legacy menu code, and Cygwin | ||
| 57 | never needs to rely on non-Unicode APIs. | ||
| 58 | |||
| 59 | * unexw32.c (hinst): Declare extern. | ||
| 60 | |||
| 61 | * w32.c: Change header order; | ||
| 62 | (w32_strerror): Move to w32fns.c because we need it for | ||
| 63 | non-WINDOWSNT builds. | ||
| 64 | |||
| 65 | * w32.h: Add #error macro to make sure we don't include w32.h for | ||
| 66 | Cygwin builds. Remove w32select declarations. | ||
| 67 | |||
| 68 | * w32console.c (w32_sys_ring_bell, Fset_message_beep): Move to | ||
| 69 | w32fns.c. w32console.c is WINDOWSNT-only. | ||
| 70 | |||
| 71 | * w32fns.c: Include cygw32.h or w32.h depending on CYGWIN; more | ||
| 72 | NTGUI_UNICODE tweaks. (See above.) Change _snprintf to the more | ||
| 73 | POSIXy alternative. | ||
| 74 | (faked_key, sysinfo_cache, osinfo_cahce, syspage_mask) | ||
| 75 | (w32_major_version, w32_minor_version, w32_build_number) | ||
| 76 | (os_subtype, sound_type): Define here | ||
| 77 | (w32_defined_color): Make color parameter const for consistency | ||
| 78 | with other _defined_color functions. | ||
| 79 | (w32_createwindow): Unconditionally call w32_init_class instead of | ||
| 80 | doing so only when hprevinst is non-NULL. Plumbing hprevinst | ||
| 81 | through the code is complex and unnecessary because class | ||
| 82 | registration is practically free. | ||
| 83 | (w32_name_of_message): New EMACSDEBUG-only function. | ||
| 84 | (Fset_message_beep): Move here | ||
| 85 | (Fx_open_connection): Require that the display name for Windows be | ||
| 86 | "w32" for consistency, emacsclient disambiguation, and maybe, one | ||
| 87 | day, multi-window-system support. | ||
| 88 | (file_dialog_callback): NTGUI_UNICODE changes; encode and decode | ||
| 89 | Cygwin files for W32 GUI facilities, since these clearly don't | ||
| 90 | expect Cygwin names. | ||
| 91 | (_DebPrint): Define. | ||
| 92 | (w32_strerror, w32_console_toggle_lock_key, w32_kbd_mods_to_emacs) | ||
| 93 | (w32_kbd_patch_key, w32_sys_ring_bell): Move here. | ||
| 94 | (Ssystem_move_file_to_trash): Define only for native WINDOWSNT. | ||
| 95 | (w32_last_error): Remove. | ||
| 96 | |||
| 97 | * w32font.c: Define _strlwr to strlwr for non-WINDOWSNT builds. | ||
| 98 | |||
| 99 | * w32heap.c (syspage_mask): Declare here. | ||
| 100 | (cache_system_info): Remove. | ||
| 101 | |||
| 102 | * w32inevt.c (faked_key): Define globally, not statically. | ||
| 103 | (w32_kbd_mods_to_emacs, w32_kbd_patch_key, faked_key) | ||
| 104 | (w32_console_toggle_lock_key): Move to w32fns.c. | ||
| 105 | |||
| 106 | * w32menu.c: Include setjmp.h. NTGUI_UNICODE changes throughout. | ||
| 107 | |||
| 108 | * w32proc.c (_DebPrint): Move to w32fns.c. | ||
| 109 | * w32select.c: Include string.h, stdio.h for Cygwin. | ||
| 110 | * w32select.h: New File. | ||
| 111 | |||
| 112 | * w32term.c: Include io.h for non-CYGWIN builds; needed for | ||
| 113 | get_osfhandle. | ||
| 114 | (w32_message_fd): New variable. Under Cygwin, holds the file | ||
| 115 | descriptor the system used to tell us about pending thread | ||
| 116 | messages. | ||
| 117 | |||
| 118 | (w32_init_term): Remove incorrect calls to fcntl and init_sigio | ||
| 119 | that prevented compilation under non-WINDOWSNT systems. | ||
| 120 | |||
| 121 | (w32_initialize): Open /dev/windows and assign it to | ||
| 122 | w32_message_fd. Provide w32 feature. | ||
| 123 | |||
| 124 | * w32term.h: Include frame.h, atimer.h. Declare various frame functions. | ||
| 125 | (WM_EMACS_INPUT_READY): add. | ||
| 126 | (prepend_msg, w32_message_fd): Declare globally. | ||
| 127 | |||
| 128 | * w32xfns.c: | ||
| 129 | (keyboard_handle): Use only when WINDOWSNT. | ||
| 130 | (notify_msg_ready): New function. Posts a message to the main | ||
| 131 | thread's message queue under CYGWIN, which wakes up the main | ||
| 132 | thread from select(2) by making the /dev/windows file descriptor | ||
| 133 | ready. Under WINDOWSNT, it sets an event the same way the old | ||
| 134 | code did. | ||
| 135 | |||
| 136 | (post, prepend_msg): Actually call notify_msg_ready instead of | ||
| 137 | setting the input event directly. | ||
| 138 | |||
| 1 | 2012-10-07 Eli Zaretskii <eliz@gnu.org> | 139 | 2012-10-07 Eli Zaretskii <eliz@gnu.org> |
| 2 | 140 | ||
| 3 | * ralloc.c (relinquish): If a heap is ready to be relinquished, | 141 | * ralloc.c (relinquish): If a heap is ready to be relinquished, |