summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* (x_window): With Motif, double extra_borders.Richard M. Stallman1996-09-241-3/+5
| | | | Use a preprocessor conditional to test for Motif.
* (Fx_create_frame): Default Qinternal_border_width to 1.Richard M. Stallman1996-09-231-2/+4
| | | | | (x_set_scroll_bar_width): Default the width to 3 cols. Call change_frame_size.
* (x_scroll_bar_create, x_scroll_bar_move):Richard M. Stallman1996-09-231-16/+16
| | | | | | | | | | | | (x_scroll_bar_expose): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM. (XTchange_line_highlight, dumpglyphs, XTclear_end_of_line) (do_line_dance, pixel_to_glyph_coords): Use FRAME_WINDOW_WIDTH. (x_scroll_bar_move, x_scroll_bar_create): Add a border around the actual window. (x_scroll_bar_expose): Don't trim the width here.
* (EmacsFrameSetValues): Copy internal_border_widthRichard M. Stallman1996-09-231-0/+11
| | | | from the Emacs frame if caller isn't changing it.
* (Fsave_current_buffer): New function.Richard M. Stallman1996-09-231-1/+17
| | | | (syms_of_editfns): defsubr it.
* (Fwindow_edges): Use new WINDOW_RIGHT_EDGE macro.Richard M. Stallman1996-09-231-24/+19
| | | | | | | | (coordinates_in_window): Use WINDOW_LEFT_MARGIN, WINDOW_RIGHT_MARGIN, and WINDOW_RIGHT_EDGE. Adjust for left-side scroll bar margin. (window_loop, Fdisplay_buffer): Use new WINDOW_FULL_WIDTH_P macro. (window_internal_width): Window width now always includes the scroll bar, if any. Use WINDOW_RIGHTMOST_P and WINDOW_FULL_WIDTH_P.
* (syms_of_eval): Initialize Vrun_hooks here.Richard M. Stallman1996-09-231-3/+5
| | | | Don't make it a Lisp variable.
* (Bsave_current_buffer): New macro.Richard M. Stallman1996-09-231-1/+6
| | | | (Fbyte_code): Handle Bsave_current_buffer.
* (Fdelete_frame): Set update_mode_lines.Richard M. Stallman1996-09-221-0/+3
|
* (main): Add copyright etc. to --version output.Richard M. Stallman1996-09-221-0/+6
|
* (REGEXP_CACHE_SIZE): Increase to 20.Richard M. Stallman1996-09-221-3/+5
| | | | (compile_pattern): Check for size match before calling Fstring_equal.
* (vertical_scroll_bar_type): Add enumeratedRichard M. Stallman1996-09-211-7/+30
| | | | | | | | | | | | | | none/left/right type for identifying vertical scroll bars. (struct frame): Use vertical_scroll_bar_type. (FRAME_HAS_VERTICAL_SCROLL_BARS): Use vertical scroll bar type. (FRAME_VERTICAL_SCROLL_BAR_TYPE): New macro. (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT): New macros. (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT): New macros. (FRAME_SCROLL_BAR_WIDTH, FRAME_LEFT_SCROLL_BAR_WIDTH): New macros. (FRAME_WINDOW_WIDTH, FRAME_WINDOW_WIDTH_ARG): New macros. (SET_FRAME_WIDTH): New macro. (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Modify to handle left-side croll bars too.
* (tm_diff): Renamed from difftm. Yield int, not long.Paul Eggert1996-09-211-26/+24
| | | | | This now uses the same code as the GNU C Library. All callers changed. (TM_YEAR_BASE): Renamed from TM_YEAR_ORIGIN.
* (VERTICAL_SCROLL_BAR_WIDTH_TRIM): Renamed fromRichard M. Stallman1996-09-211-5/+3
| | | | | LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM. (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM.
* (make_frame_glyphs, update_line, update_frame)Richard M. Stallman1996-09-211-10/+10
| | | | (scroll_frame_lines, char_ins_del_cost): Use FRAME_WINDOW_WIDTH.
* (echo_area_display): Clear the left-side scroll bar columns.Richard M. Stallman1996-09-211-0/+8
|
* (read_minibuf): Use FRAME_LEFT_SCROLL_BAR_WIDTHRichard M. Stallman1996-09-211-1/+2
| | | | to set the cursor position at the end.
* (WINDOW_LEFT_MARGIN): New macro.Richard M. Stallman1996-09-211-0/+34
| | | | | (WINDOW_RIGHT_EDGE, WINDOW_RIGHT_MARGIN): New macros. (WINDOW_FULL_WIDTH_P, WINDOW_RIGHTMOST_P): New macros.
* (make_frame): Switch from boolean `has_vertical_scrollbars' integer toRichard M. Stallman1996-09-211-2/+2
| | | | an enumerated type. Use new macro SET_FRAME_WIDTH.
* (initialize_win_nt_display): Use SET_FRAME_WIDTH.Richard M. Stallman1996-09-211-1/+1
|
* (Fsun_menu_internal): Use new WINDOW_LEFT_MARGIN macro.Richard M. Stallman1996-09-211-1/+1
|
* (term_init): Use new vertical scroll bar enumerated type.Richard M. Stallman1996-09-211-5/+9
| | | | Use new macro SET_FRAME_WIDTH.
* (Qright): New variable.Richard M. Stallman1996-09-211-5/+16
| | | | | | | | (syms_of_win32fns): Initialize and staticpro Qright. (x_set_vertical_scroll_bars): Check for left<->right<->none scroll bar changes, and modify the vertical scroll bar type as appropriate. (x_figure_window_size): Use new SET_FRAME_WIDTH macro. (Fx_create_frame): Likewise.
* (fast_find_position, show_macro_face): Use new WINDOW_LEFT_MARGIN macro.Richard M. Stallman1996-09-211-3/+3
|
* Comment change.Richard M. Stallman1996-09-211-5/+0
|
* (preserve_other_columns, preserve_my_columns): Use newRichard M. Stallman1996-09-211-20/+23
| | | | | | | | | | | | | | macros WINDOW_LEFT_MARGIN and WINDOW_RIGHT_EDGE. (adjust_window_charstarts, verify_charstarts, cancel_my_columns): Use new macro WINDOW_LEFT_MARGIN instead of w->left. (direct_output_for_insert, direct_output_forward_char): Likewise. (buffer_posn_from_coords): Likewise. (verify_charstarts): Use new macro WINDOW_FULL_WIDTH_P. (update_frame): For determining when to wrap the cursor, use the new macro FRAME_WINDOW_WIDTH instead of FRAME_WIDTH; they aren't necessarily the same any more. (change_frame_size_1): Use FRAME_WINDOW_WIDTH to check for changes. Give `set_window_width' the window width value. Use new macro SET_FRAME_WIDTH.
* (display_mode_line): Use faces for inverse video mode line whenever possible.Richard M. Stallman1996-09-211-41/+50
| | | | | | | | | | | | | | | | | | | | | | | (echo_area_display): Shift display_string past a left-side scroll bar. (redisplay_window): Likewise. (redisplay_internal): Shift cursor past a left-side scroll bar. (redisplay_window): Likewise. (try_window_id): Likewise. (display_text_line): Likewise. (redisplay_internal): Shift charstarts past a left-side scroll bar. (display_text_line): Likewise. (redisplay_internal): Use new macro WINDOW_FULL_WIDTH_P. (redisplay_window): Likewise. (display_text_line): Likewise. (display_text_line): Shift output past left-side scroll bar. (display_text_line): Use new WINDOW_RIGHTMOST_P macro. (display_text_line): Don't pad right columns unless using a right-side scroll bar. Don't draw vertical bars unless there isn't any kind of scroll bar. (display_string): Likewise. (display_mode_line): Use new macros WINDOW_LEFT_MARGIN, WINDOW_RIGHT_MARGIN, and WINDOW_FULL_WIDTH_P. (display_string): Use new macro WINDOW_RIGHTMOST_P.
* (Fx_create_frame): Default Qvertical_scroll_bars to `left'.Richard M. Stallman1996-09-211-7/+19
| | | | | | | | | | Add the symbol `right'; this symbol is used to indicate that a right-side scroll bar is wanted. (x_set_vertical_scroll_bars): Check for left<->right<->none scroll bar changes, and modify the vertical scroll bar type as appropriate. (x_figure_window_size): Use new SET_FRAME_WIDTH macro. (Fx_create_frame): Likewise. (Fx_horizontal_line): Use new macro WINDOW_LEFT_MARGIN.
* (make_lispy_event): When converting from pixel to glyph coordinates,Richard M. Stallman1996-09-211-2/+2
| | | | | | | offset by WINDOW_LEFT_MARGIN; this is needed for left-side scrollbars. (syms_of_keyboard): Initialize and staticpro internal_last_event_frame and read_key_sequence_cmd.
* (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Add frame as anRichard M. Stallman1996-09-211-5/+14
| | | | | | | | | | argument, and use it to decrease the width in the case of a left-side scroll bar; this prevents the bar and adjacent text from scrunching together. (LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM): Add constant. (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT): New arg F (not used). (VERTICAL_SCROLL_BAR_TOP_RANGE): New arg F (not used).
* Pass frame arg in calls to VERTICAL_SCROLL_BAR_INSIDE_HEIGHTRichard M. Stallman1996-09-211-16/+24
| | | | | | | | | | | | | | and VERTICAL_SCROLL_BAR_TOP_RANGE. (XTclear_end_of_line): Shift end-of-line when there is a left-side scroll bar by FRAME_LEFT_SCROLL_BAR_WIDTH. (do_line_dance): Take into account the width of a left-side scroll bar. (dumprectangle): Trim at FRAME_EXTERNAL_WIDTH instead of FRAME_WIDTH. (fast_find_position): Use new macro WINDOW_LEFT_MARGIN. (show_mouse_face): Likewise. (x_scroll_bar_set_handle): VERTICAL_SCROLL_BAR_INSIDE_WIDTH now requires the frame as an argument. (x_scroll_bar_expose): Narrow the box slightly for a left-side scroll bar.
* (init_system_name): Retry gethostbyname only 5 timesRichard M. Stallman1996-09-201-1/+3
| | | | and don't sleep after the last time.
* (file_name_completion): Remove code which sets andRichard M. Stallman1996-09-191-21/+21
| | | | | | | restores the `stat' control flags (they might not be restored if C-g is pressed during completion). (file_name_completion_stat): Set and restore flags that make `stat' faster here instead of in `file_name_completion'.
* (display_text_line): Declare ovstr as unsigned char *.Richard M. Stallman1996-09-191-1/+1
|
* (overlay_strings): Declare pstr using unsigned char.Richard M. Stallman1996-09-191-1/+2
|
* Replaced symbol BSD with BSD_SYSTEM.Richard M. Stallman1996-09-191-10/+10
| | | | | Don't explicitly Include termios.h. (ospeed): Use HAVE_TERMIOS to decide whether to use speed_t.
* (regex_compile): Use TRANSLATE before calling SET_LIST_BIT.Richard M. Stallman1996-09-191-3/+4
|
* (Fcompleting_read): Doc fix.Richard M. Stallman1996-09-181-1/+1
|
* (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM): Don't define them if using GCC.Richard M. Stallman1996-09-171-0/+2
|
* Comment changes.Erik Naggum1996-09-171-2/+2
|
* Declare make_symbol ().Erik Naggum1996-09-171-2/+2
|
* (syms_of_keyboard): Initialize and staticpro internal_last_event_frame andErik Naggum1996-09-171-0/+6
| | | | read_key_sequence_cmd.
* (init_obarray): staticpro Qvariable_documentation.Erik Naggum1996-09-171-0/+1
|
* (syms_of_keymap): staticpro global_map.Erik Naggum1996-09-171-0/+1
|
* (syms_of_fileio): staticpro Qset_visited_file_modtime.Erik Naggum1996-09-171-0/+1
|
* (syms_of_dired): staticpro Qdirectory_files, Qfile_name_completion,Erik Naggum1996-09-171-0/+5
| | | | Qfile_name_all_completions, and Qfile_attributes.
* (syms_of_casetab): staticpro Vascii_canontable, Vascii_eqv_table, andErik Naggum1996-09-171-0/+3
| | | | Vascii_upcase_table.
* (Fmake_symbol): Initialize `obarray' field.Erik Naggum1996-09-171-0/+1
|
* Replaced symbol BSD with BSD_SYSTEM.Karl Heuer1996-09-171-1/+1
|
* Comment change.Karl Heuer1996-09-175-5/+5
|