Gerd Moellmann [Sat, 29 Jan 2000 23:17:49 +0000 (23:17 +0000)]
(xic_set_preeditarea): Take window parameter and
window-relative pixel-positions.
(x_create_im): Removed.
(DEFAULT_STYLE, DEFAULT_FONT): Removed.
(supported_xim_styles): Renamed from supported_styles.
(best_xim_style): Renamed from best_style.
(create_frame_xic): Renamed from xic_create_frame.
(free_frame_xic): Renamed from xic_destroy_frame.
(supported_styles): New variable.
(DEFAULT_STYLE, DEFAULT_FONT): New macros
(xic_create_xfontset, best_style, xic_create_frame)
(xic_destroy_frame, xic_set_preeditarea, xic_set_statusarea)
(xic_set_xfontset): New functions.
Gerd Moellmann [Sat, 29 Jan 2000 12:14:55 +0000 (12:14 +0000)]
(iswitchb-use-frame-buffer-list): New configuration
variable. If non-nil, order the buffer list according to the
currently selected frame.
(iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
non-nil, pass the selected frame to function buffer-list.
Gerd Moellmann [Fri, 28 Jan 2000 15:02:20 +0000 (15:02 +0000)]
(socket_status): New function.
(main): if $LOGNAME or $USER exist and differ from our euid, look
for a socket based on the UID associated with the name.
Gerd Moellmann [Fri, 28 Jan 2000 12:47:38 +0000 (12:47 +0000)]
(sort-numeric-base): New option.
(sort-numeric-fields): If number starts with `0' or `0[xX[',
interpret it as octal or hexadecimal. Use sort-numeric-base
as default base.
Eli Zaretskii [Thu, 27 Jan 2000 17:07:27 +0000 (17:07 +0000)]
(IT_clear_end_of_line): Print the extent of the cleared
part of the line to the termscript file.
(IT_clear_to_end): Clear the entire line, not just its beginning.
(menu_help_message, prev_menu_help_message): New variables.
(IT_menu_make_room): Make room for the help_text member.
(IT_menu_display): New argument disp_help; all callers changed.
If disp_help is non-zero, store the help text of the active menu
item in menu_help_message.
(XMenuAddPane): Initialize the help_text member to NULL.
(XMenuAddSelection): New argument help_text. Store it in the
XMenu structure.
(XMenuActivate): New argument help_callback. If the value of
menu_help_message has changed since the last time, display the
menu help message text while waiting for the mouse to move. Clear
the echo area before exiting.
(XMenuDestroy): Free the help_text member.
Gerd Moellmann [Thu, 27 Jan 2000 15:32:21 +0000 (15:32 +0000)]
(xmenu_show) [!USE_X_TOOLKIT]: Pass help to
XMenuAddSelection. Pass help callback to XMenuActivate.
(menu_help_callback) [!USE_X_TOOLKIT]: New function.
Gerd Moellmann [Tue, 25 Jan 2000 15:57:26 +0000 (15:57 +0000)]
(toplevel): Include systime.h and atimer.h.
(polling_for_input): Removed because unused.
(input_poll_signal) [POLL_FOR_INPUT]: Removed.
(poll_timer): New variable.
(poll_for_input, poll_for_input_1): New functions.
(start_polling, stop_polling): Rewritten.
Gerd Moellmann [Tue, 25 Jan 2000 15:56:42 +0000 (15:56 +0000)]
(toplevel): Include atimer.h.
(create_process_1): Rewritten.
(create_process): Use atimers instead of alarm.
(wait_reading_process_input) [hpux]: Turn atimers off instead
of turning off SIGALRM.
(wait_reading_process_input): Turn off atimers instead off
calling stop_polling.
Gerd Moellmann [Tue, 25 Jan 2000 15:50:53 +0000 (15:50 +0000)]
(make_menu_in_widget): Don't add XmNpopdownCallback,
add XmNunmapCallback.
(xm_unmap_callback): New function.
(xm_pull_down_callback): Call pre-activate callback only if
parent is the menu bar.
Jason Rumney [Sun, 23 Jan 2000 22:20:24 +0000 (22:20 +0000)]
(w32_defined_color): Apply gamma correction before trying to map to
the palette.
(w32_wnd_proc) [WM_ERASE_BACKGROUND]: Pass device context of frame
to w32_clear_rect.
Jason Rumney [Sun, 23 Jan 2000 22:15:12 +0000 (22:15 +0000)]
(w32_fill_rect): Do not try to deal with NULL hdc
here. Callers changed to always pass real device context.
(w32_draw_bitmap): Likewise.
(w32_get_glyph_overhangs): Likewise.
(w32_draw_box_rect): Make use of s->hdc rather than getting a new one.
(w32_set_vertical_scroll_bar): Pass correct HWND parameters to
pfnSetScrollInfo and SetScrollRange.
(x_get_char_face_and_encoding): Don't turn iso8859-1 characters
back into MULE characters after decoding them.
(x_get_glyph_face_and_encoding): Likewise.
(w32_per_char_metric): Use GetCharExtentPoint32W as fallback when
GetCharABCWidthsW fails, since this is defined on Windows 9x.
(x_produce_glyphs): Calculate per char metrics for a character
that we know exists in default font when font_not_found_p is true.
Jason Rumney [Sun, 23 Jan 2000 03:22:21 +0000 (03:22 +0000)]
Add skeleton support for help strings on menus.
(add_menu_item): Native checkbox and radio support added, but not yet
enabled due to bugs.
(push_menu_item): Add parameters type, selection and help.
Callers updated.
Formatting changes to reduce unnecessary diffs with xmenu.c.
Jason Rumney [Sun, 23 Jan 2000 03:18:25 +0000 (03:18 +0000)]
Substantial rewrite for new redisplay. Major changes:
Skeleton support for images, toolbars, tooltips from xfns.c.
(Fx_create_frame): Use system default for default scroll bar width.
(w32_get_arg): Renamed from x_get_arg.
(Fx_file_dialog): New function.
(w32_list_fonts): Check cache before asking system.
(Vw32_enable_synthesized_fonts): New variable.
(Vw32_enable_italics): Obsolete, removed.