aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
Commit message (Collapse)AuthorAgeFilesLines
* Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,Andrew Choi2002-04-261-5/+5
| | | | lisp/ChangeLog, and src/ChangeLog for list of changes.
* Fix typo.Juanma Barranquero2002-03-051-1/+1
|
* 2002-03-05 Per Abrahamsen <[email protected]>Per Abrahamsen2002-03-051-1/+2
| | | | | * frame.c (default-frame-alist): Explain that setting it doesn't affect existing frames.
* (syms_of_frame): Change mouse-highlight default to t.Kim F. Storm2002-02-201-1/+1
|
* (Vmouse_highlight): New variable.Kim F. Storm2002-02-161-0/+9
| | | | (syms_of_frame): DEFVAR_LISP it.
* (store_frame_param): Call set_tty_color_mode for termcapEli Zaretskii2002-01-141-0/+28
| | | | | | | | frames. (do_switch_frame): For termcap frames, switch the tty color mode as specified by the frame's parameters. (Qtty_color_mode): New variable. (syms_of_frame): Intern and staticpro it.
* (Qleft_fringe, Qright_fringe): New vars.Kim F. Storm2001-12-011-0/+6
| | | | (syms_of_frame): Initialize them.
* Don't include keymap.h any more.Stefan Monnier2001-11-191-10/+0
| | | | (keys_of_frame): Remove.
* (Fframe_live_p): Doc fix.Pavel Janík2001-11-181-1/+1
|
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-46/+46
|
* (Fframe_live_p): Doc fix.Pavel Janík2001-10-311-2/+2
|
* Resurrect a comment lost in the previous commit.Eli Zaretskii2001-10-251-0/+1
|
* (Fframe_parameter): Fix last change.Eli Zaretskii2001-10-251-1/+2
|
* (Fframe_parameter): Fix a bug whereby someGerd Moellmann2001-10-251-7/+8
| | | | | ``artificial'' frame parameters, like `minibuffer' were not obtained by calling Fframe_parameters.
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-10-211-263/+264
|
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-1/+1
| | | | with lisp system changes.
* (Fset_mouse_position): Improve style of comment to follow other comments.Pavel Janík2001-10-141-7/+7
| | | | | | | | (Fset_mouse_pixel_position): Improve style of comment to follow other comments. (Fmake_frame_visible): Doc fix and typo in comment. (Fmake_frame_invisible): Doc fix and typo in comment. (Ficonify_frame): Fix typo in comment.
* Include keymap.h.Stefan Monnier2001-10-101-0/+1
|
* Use SYMBOL_VALUE/SET_SYMBOL_VALUE macros instead of accessingGerd Moellmann2001-10-051-1/+1
| | | | symbols' value directly.
* (syms_of_frame): Doc fix.Eli Zaretskii2001-09-301-1/+3
|
* Doc fix.Richard M. Stallman2001-09-101-2/+4
|
* Doc fix.Richard M. Stallman2001-09-101-2/+3
|
* (Fframe_list): Don't reference tip_frame if HAVE_WINDOW_SYSTEM is not defined.Eli Zaretskii2001-03-251-0/+2
|
* (Fframe_list): Don't return a tooltip frame.Gerd Moellmann2001-03-251-1/+5
|
* (do_switch_frame): Remove unused parameter NO_EVENT, addGerd Moellmann2001-03-141-9/+23
| | | | | | | | FOR_DELETION. Avoid resizing the mini-window of the selected frame if FOR_DELETION is set. (Fselect_frame, Fhandle_switch_frame, Fdelete_frame) (Fmake_frame_invisible): Change calls to do_switch_frame for new signature.
* (Fframe_parameters): In the `buffer-list' frameGerd Moellmann2001-03-141-3/+2
| | | | | parameter, store the buffer list of FRAME, not the list of the selected frame.
* (make_frame): Use allocate_frame.Gerd Moellmann2001-02-281-9/+4
|
* (Fmodify_frame_parameters): Doc fix.Eli Zaretskii2001-02-011-0/+1
|
* * alloc.c (allocate_string) [macintosh]: Call check_string_bytesAndrew Choi2001-01-281-1/+7
| | | | | | | | | | | | | | | | | | | | only if current_sblock has been initialized. * frame.c (Fdelete_frame) [macintosh]: Allow deletion of initial terminal frame even if it is the only visible frame. * src/macfns.c (QCconversion): Replaces QCalgorithm. * src/macfns.c (image_ascent, lookup_image): Adapt to change of image margins. * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground) (x_draw_image_relief, x_draw_image_foreground_1) (x_draw_image_glyph_string): Adapt to change of image margins. * src/macterm.c (mac_to_x_fontname): Change charset name of Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts from ksc5601 to ksc5601.1989.
* (do_switch_frame): If selected frame has a mini-window,Gerd Moellmann2001-01-261-0/+3
| | | | resize that to exact size.
* (Qw32_console): Remove variable.Andrew Innes2001-01-201-7/+1
| | | | | | (Fframep): Remove references to it. (syms_of_frame): Ditto. (Fframe_parameters): Remove references to FRAME_W32_CONSOLE_P.
* (make_terminal_frame) [WINDOWSNT]: Make terminal framesAndrew Innes2001-01-021-1/+13
| | | | | | | | | use output_w32_console method. (Qw32_console): New Lisp_Object. (Fframep): Return it. (syms_of_frame): Init it. (Fframe_parameters): Report w32console as font for w32_console frames.
* (make_frame): Change initialization of tool barGerd Moellmann2000-11-221-2/+2
| | | | items accordingly.
* Fix spurion.Dave Love2000-11-151-2/+0
|
* (syms_of_frame_1): Removed; code moved to syms_of_frame.Gerd Moellmann2000-11-151-98/+73
| | | | | | (Qinhibit_default_face_x_resources): New variable. (syms_of_frame): Initialize it. (Fmodify_frame_parameters): Bind inhibit-default-face-x-resources.
* (Fframe_parameters): Fix the change from 2000-10-16:Eli Zaretskii2000-10-281-12/+22
| | | | | don't override the colors in frame's param_alist, unless they are unspecified.
* (Fdelete_frame): Doc fix. Move running the hookGerd Moellmann2000-10-261-9/+13
| | | | down after the last error condition check.
* (Fdelete_frame): Run delete-frame-hook.Gerd Moellmann2000-10-261-0/+8
|
* Initial check-in: changes for building Emacs under Mac OS.Andrew Choi2000-10-221-32/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (Fframe_parameters): If a tty's frame's param_alist saysEli Zaretskii2000-10-161-18/+44
| | | | | | the colors are unspecified and reversed, reverse fore- and back- ground in the returned value. (Fframe_parameter): Ditto.
* (Fframe_parameter): For non-windowed frames, ifEli Zaretskii2000-10-071-1/+23
| | | | | | f->param_alist says foreground or background color is unspecified, call tty_color_name to return the color name computed from the frame's current colors.
* (make_terminal_frame): Initialize frame foreground andEli Zaretskii2000-09-071-1/+17
| | | | | background colors to unspecified, for the initial instance of an MSDOS frame.
* (Fframe_parameter): Handle `name' and `background-mode'Gerd Moellmann2000-09-071-2/+10
| | | | | | | specially. (Fframe_parameter) [HAVE_X_WINDOWS]: Handle `display' specially. (Qbackground_mode): New variable. (syms_of_frame_1): Initialize Qbackground_mode.
* (Fframe_parameter): Handle `name' specially.Gerd Moellmann2000-09-071-7/+12
|
* (Qdisplay_type): New variable.Gerd Moellmann2000-09-051-0/+39
| | | | | | (syms_of_frame_1): Initialize it. (Fframe_parameter): New function that avoids consing. (syms_of_frame): Defsubr it.
* Include keyboard.h before frame.h.Andrew Innes2000-08-221-6/+4
|
* (next_frame, prev_frame): If MINIBUF is a window,Gerd Moellmann2000-07-031-19/+6
| | | | | include those frames as candidates which have their focus redirected to the minibuffer frame.
* (next_frame): Don't check frame-focus redirection inGerd Moellmann2000-06-301-1/+10
| | | | | | | case MINIBUF is a window. Doing so excludes frames using MINIBUF unless their focus is redirected, which contradicts the specification of next-frame, and leads to infinite loops in certain situations when cycling through windows with next-window.
* (Fmodify_frame_parameters): Doc fix.Gerd Moellmann2000-06-131-5/+30
| | | | | (store_frame_param): Call swap_in_global_binding if the variable's current binding was chosen based on this frame.
* (frames_bury_buffer): Don't add a buffer to the frame'sGerd Moellmann2000-05-161-3/+7
| | | | buffer list that wasn't selected in that frame.