aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
Commit message (Collapse)AuthorAgeFilesLines
* (decode-mac-roman, encode-mac-roman, mac-roman): Moved to european.el.Kenichi Handa2000-10-311-113/+21
| | | | | | | (ccl-encode-mac-roman-font, fontset-mac): Modified for mule-unicode-2500-33ff and mule-unicode-e000-ffff. (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted. (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
* (x-long-option-alist, msdos-handle-args): Remove;Eli Zaretskii2000-10-281-72/+0
| | | | startup.el now does that for all character-terminal frames.
* Andrew Choi <[email protected]>Andrew Choi2000-10-231-21/+11
| | | | | | | | | | | | * international/mule-conf.el (mac-roman-lower, mac-roman-upper): New charsets. * term/mac-win.el: Remove definitions of mac-roman-lower and mac-roman-upper, require dired, and define instead of set mac-ready-for-drag-n-drop to avoid compilation error. * src/macterm.c (XTread_socket): check whether Lisp variable mac-ready-for-drag-n-drop is bound rather than non-nil value.
* Initial check-in: changes for building Emacs under Mac OS.Andrew Choi2000-10-221-0/+1075
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-23 Andrew Choi <[email protected]> * dispextern.h [macintosh]: Include macgui.h instead of macterm.h. * dispnew.c [macintosh]: Include macterm.h. (init_display) [macintosh]: initialization for window system. * emacs.c (main) [macintosh]: Call syms_of_textprop, syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm, syms_of_search, x_term_init, and init_keyboard before calling init_window_once. Also, call syms_of_xmenu. * fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of default fontset to Monaco. * frame.c [macintosh]: Include macterm.h. Remove declarations of NewMacWindow and DisposeMacWindow. (make_terminal_frame) [macintosh]: Call make_mac_terminal_frame instead of calling NewMacWindow and setting fields of f->output_data.mac directly. Call init_frame_faces. (Fdelete_frame) [macintosh]: Remove unused code. (Fmodify_frame_parameters) [macintosh]: Call x_set_frame_parameters instead of mac_set_frame_parameters. * frame.h [macintosh]: Define menu_bar_lines field in struct frame. Define FRAME_EXTERNAL_MENU_BAR macro. * keyboard.c [macintosh]: Include macterm.h. (kbd_buffer_get_event) [macintosh]: Generate delete_window_event and menu_bar_activate_event type events as for X and NT. (make_lispy_event) [macintosh]: Construct lisp events of type MENU_BAR_EVENT as for X and NT. * sysdep.c [macintosh]: Remove declaration for sys_signal. Include stdlib.h. Remove definition of Vx_bitmap_file_path. (sys_subshell) [macintosh]: Remove definition entirely. (init_sys_modes) [macintosh]: Do not initialize Vwindow_system and Vwindow_system_version here. Remove initialization of Vx_bitmap_file_path. (read_input_waiting): Correct the number of parameters passed to read_socket_hook. Move all Macintosh functions to mac/mac.c. * term.c [macintosh]: Include macterm.h. * window.c [macintosh]: Include macterm.h. * xdisp.c [macintosh]: Include macterm.h. Declare set_frame_menubar and pending_menu_activation. (echo_area_display) [macintosh]: Do not return if terminal frame is the selected frame. (update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f). Allow only the selected frame to set menu bar. (redisplay_window) [macintosh]: Obtain menu bar to redisplay by calling FRAME_EXTERNAL_MENU_BAR (f). (display_menu_bar) [macintosh]: Check FRAME_MAC_P (f). * xfaces.c [macintosh]: Include macterm.h. Define x_display_info and check_x. Declare XCreateGC. Define x_create_gc and x_free_gc. Initialize font_sort_order. (x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT, but call x_list_fonts instead of w32_list_fonts. (Finternal_face_x_get_resource) [macintosh]: Do not call display_x_get_resource. (prepare_face_for_display) [macintosh]: Set xgcv.font. (realize_x_face) [macintosh]: Load the font if it is specified in ATTRS. (syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed to Qt. * cus-edit.el (custom-button-face): Use 3D look for mac. (custom-button-pressed-face): Likewise. * faces.el (set-face-attributes-from-resources): Handle mac frames in the same way as x and w32 frames. (face-valid-attribute-values): Likewise. (read-face-attribute): Likewise. (defined-colors): Likewise. (color-defined-p): Likewise. (color-values): Likewise. (display-grayscale-p): Likewise. (face-set-after-frame-default): Likewise. (mode-line): Same default face as for x and w32. (tool-bar): Likewise. * frame.el: Remove call to frame-notice-user-settings at end of the file. * info.el (Info-fontify-node): make underlines invisible for mac as for x, pc, and w32 frame types. * term/mac-win.el: New file.
* (color-name-rgb-alist): Add a comment explaining why some "light*"Eli Zaretskii2000-10-191-17/+38
| | | | colors are deliberately absent from the alist.
* (msdos-handle-reverse-video): Don't removeEli Zaretskii2000-10-161-7/+6
| | | | | reverse from the frame parameters, and don't invert foreground and background colors.
* (bg-mouse-report): screen-height -> frame-height.Stefan Monnier2000-08-161-1/+1
|
* Fix a typo in a comment. Reported by Michel de Ruiter <[email protected]>.Eli Zaretskii2000-07-311-1/+1
|
* Make FONTNAME arg to set-fontset-font a cons.Jason Rumney2000-07-151-4/+4
|
* (bg-window-from-x-y): Use some-window insteadGerd Moellmann2000-07-031-18/+1
| | | | of cycling through windows with next-window.
* (sup-pos-to-window): Use some-window insteadGerd Moellmann2000-07-031-13/+1
| | | | of cycling through windows with next-window.
* ignore *.elcSam Steingold2000-06-191-0/+1
|
* (x-colors): Add colors from recent rgb.txt.Gerd Moellmann2000-06-111-128/+743
|
* Doc changes to reduce diffs with x-win.el.Jason Rumney2000-05-301-116/+77
| | | | | Reenable code to create initial fontsets. Use set-fontset-font in place of put-charset-property.
* (IT-character-translations): More updates ofEli Zaretskii2000-05-151-8/+8
| | | | | latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC documents.
* Fix last change.Eli Zaretskii2000-05-091-10/+10
|
* (IT-character-translations): Update ASCIIEli Zaretskii2000-05-081-9/+33
| | | | | simulations for greek-iso8859-7, add latin-iso8859-14 and latin-iso8859-15.
* (cjk-codepages-alist): Add associations forEli Zaretskii2000-05-041-5/+5
| | | | Chinese and Korean codepages.
* Fontsets related initialization is simplified.Kenichi Handa2000-03-211-40/+3
|
* (mouse-set-font): Do not build fontset from chosen font.Jason Rumney2000-02-271-23/+3
|
* (internal-face-interactive): Update prompt for new read-face-name.Dave Love2000-02-231-2/+2
|
* (x-handle-args): Comment out call to message.Andrew Innes2000-02-061-1/+1
|
* Don't count colors without RGB values as gray shades.Eli Zaretskii2000-02-021-1/+2
|
* (tty-color-gray-shades): New function.Eli Zaretskii2000-02-021-0/+19
|
* (w32_create_initial_fontsets): Disabled as it conflicts with new face support.Jason Rumney2000-01-231-80/+80
|
* (xw-defined-colors): Call color-supported-p,Eli Zaretskii2000-01-032-2/+2
| | | | the new name of face-color-supported-p.
* (tty-defined-color-alist): Renamed from tty-color-alist.Eli Zaretskii2000-01-021-31/+51
| | | | | | | (tty-color-alist, tty-modify-color-alist): New functions. (tty-color-define, tty-color-clear, tty-color-approximate) (tty-color-translate, tty-color-by-index, tty-color-desc): Accept an optional parameter FRAME.
* Changes for automatic remapping of X colors on terminal frames:Eli Zaretskii1999-12-064-305/+1006
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * term/pc-win.el (msdos-setup-initial-frame): New function, run by term-setup-hook. Call msdos-remember-default-colors and msdos-handle-reverse-video. (msdos-face-setup): Parts of code moved to msdos-setup-initial-frame. (msdos-handle-reverse-video): New function, modeled after x-handle-reverse-video. (make-msdos-frame): Don't use initial-frame-alist and default-frame-alist. Call msdos-handle-reverse-video. (msdos-color-aliases): Remove. (msdos-color-translate, msdos-approximate-color): Remove. (msdos-color-values): Use 16-bit RGB values. RGB values updated for better approximation of X colors. (msdos-face-setup): Call tty-color-clear. Remove code that sets up tty-color-alist (it is now on startup.el). (x-display-color-p, x-color-defined-p, x-color-values, x-defined-colors, face-color-supported-p, face-color-gray-p): Remove. * facemenu.el (facemenu-read-color, list-colors-display): Use defined-colors for all frame types. (facemenu-color-equal): Use color-values for all frame types. * faces.el (read-face-attribute): For :foreground and :background attributes and frames on character terminals, translate the color to the closest supported one before looking it up in the list of valid values. (face-valid-attribute-values): Call defined-colors for all types of frames. (defined-colors, color-defined-p, color-values, display-color-p): New finctions. (x-defined-colors, x-color-defined-p, x-color-values, x-display-color-p): Aliases for the above. * startup.el (command-line): Register terminal colors for frame types other than x and w32, but only if the terminal supports colors. Call tty-color-define instead of face-register-tty-color. * term/x-win.el (xw-defined-colors): Renamed from x-defined-colors. * term/w32-win.el (xw-defined-colors): Likewise. * term/tty-colors.el: New file. * loadup.el: Load term/tty-colors.
* (w32-drag-n-drop): Load files in current window, ifGerd Moellmann1999-11-241-3/+11
| | | | drop coords aren't over a specific window.
* term/internal.el (IT-display-table-setup): Don't overstepEli Zaretskii1999-11-211-1/+1
| | | | character code 255.
* #Dave Love1999-09-307-0/+78
|
* Provide term/sun-mouse.Dave Love1999-08-171-0/+1
|
* (x-list-fonts): Return "ms-dos", not "default".Eli Zaretskii1999-08-151-24/+17
| | | | | | | | Do that if width is nil as well. (x-display-mm-height, x-display-mm-width): Update values. (x-colors): Compute the list from msdos-color-values. (x-select-enable-clipboard): Doc fix. (x-frob-font-weight, x-font-family-list): New functions.
* (sun-mouse): Provide `sun-mouse', not `term/sun-mouse'.Karl Heuer1999-08-101-1/+1
|
* (msdos-bg-mode): Remove. CallEli Zaretskii1999-08-101-21/+10
| | | | | | | | frame-set-background-mode instead. All callers changed. (msdos-face-setup): Don't force color display parameter, it is set by frame-set-background-mode. (make-msdos-frame): Call x-handle-reverse-video and face-set-after-frame-default. Delete frame if creation failed.
* (msdos-face-setup): Register standard colors inEli Zaretskii1999-07-301-28/+41
| | | | | Vface_tty_color_alist. (face-color-supported-p, face_color_gray_p): New functions.
* (mouse-set-font): If user uses w32 dialog butKarl Heuer1999-07-201-1/+2
| | | | selects no font, treat that as zero selections, not one.
* (IT-display-table-setup): Do not remap \222 toEli Zaretskii1999-06-141-7/+3
| | | | | the ASCII apostrophe, as most DOS codepages have some other glyph there.
* Change the x-charset-registry property for theAndrew Innes1999-05-031-0/+7
| | | | Japanese charsets that are supported by Japanese Windows fonts.
* (mouse-set-font): Ensure constructed fontsetAndrew Innes1999-05-021-2/+12
| | | | matches the font selected in the dialog.
* (w32-drag-n-drop): Select file in window whereAndrew Innes1999-05-021-1/+3
| | | | it is dropped, rather than current window.
* (dos-cpNNN-setup): New function, with the gutsEli Zaretskii1999-04-051-12/+49
| | | | | | | | of dos-codepage-setup. (cjk-codepages-alist): New variable, an alist of Far-Eastern codepages for which there's no need to set up cpNNN coding systems. (dos-codepage-setup): Support Far-Eastern DOS terminals.
* (dos-codepage-setup): Compute the unibyteEli Zaretskii1999-03-161-51/+52
| | | | | | syntax table and bind unibyte-display-via-language-environment here, rather than at top level, so that resetting to unibyte in .emacs works as expected.
* (top level): Display character 255 as 8bit as well.Eli Zaretskii1999-03-071-1/+1
|
* (vt100-wide-mode): Use defvar, not defconst.Karl Heuer1999-02-231-1/+1
|
* (dos-codepage-setup): Set selection coding system to cpNNN-dos.Eli Zaretskii1999-02-041-0/+1
|
* term/w32-win.el (w32-create-initial-fontsets): Back out previousGeoff Voelker1999-02-021-1/+5
| | | | change, invoke from before-init-hook.
* (msdos-approximate-color): New function.Eli Zaretskii1999-02-011-1/+28
| | | | | (msdos-color-translate): Call it to find a DOS color that best approximates an X-style "#NNNNNN" color specification.
* (w32-standard-fontset-spec): Remove wildcardGeoff Voelker1999-01-281-12/+20
| | | | | | | from FAMILY field. (w32-create-initial-fontsets): Do not use before-init-hook. (mouse-set-font): Document. Automatically create and use fontsets.
* (dos-codepage-setup): Call prefer-coding-systemEli Zaretskii1999-01-241-0/+1
| | | | | to set the appropriate cpNNN-dos coding system as the highest-priority coding system.