| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | (next_element_from_buffer): Change assertion at the end | Gerd Moellmann | 1999-12-31 | 1 | -3/+2 |
| | | | | | | because it doesn't hold when there's an overlay string at the end from which we deliver an image. | ||||
| * | (dump_glyph_row): Adapt to changes in struct glyph. | Gerd Moellmann | 1999-12-28 | 1 | -2/+2 |
| | | |||||
| * | (try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED | Gerd Moellmann | 1999-12-28 | 1 | -1/+1 |
| | | | | | if MODIFF > 1. | ||||
| * | All codes adjusted for the change of struct glyph. | Kenichi Handa | 1999-12-27 | 1 | -18/+14 |
| | | |||||
| * | (redisplay_window) <optional new window start>: Check | Gerd Moellmann | 1999-12-15 | 1 | -1/+3 |
| | | | | | that window start is in [BEGV..ZV]. | ||||
| * | (it_props): Add an entry for composition. | Kenichi Handa | 1999-12-15 | 1 | -22/+181 |
| | | | | | | | | | | | | | | | | | | | | (face_before_or_after_it_pos): For composition, check face of a character after the composition. (handle_composition_prop): New function. (get_next_display_element): Adjusted for the change of CHAR_STRING. (set_iterator_to_next): Handle the case that it->method == next_element_from_composition. (next_element_from_composition): New function. (message_dolog): Adjusted for the change of CHAR_STRING. (set_message_1): Likewise. (check_point_in_composition): New function. (reconsider_clip_changes): If point moved into or out of composition, set b->clip_changed to 1 to force updating of the screen. (disp_char_vector): Delete codes for a composite character. (decode_mode_spec_coding): Adjusted for the change of CHAR_STRING. | ||||
| * | Don't duplicate Qheight, Qwidth definitions done elsewhere. | Dave Love | 1999-11-24 | 1 | -7/+4 |
| | | |||||
| * | (ensure_echo_area_buffers): New. | Gerd Moellmann | 1999-11-14 | 1 | -8/+23 |
| | | | | | | (with_echo_area_buffer): Use it. (setup_echo_area_for_printing): Ditto. | ||||
| * | Remove conditional computation on USE_TEXT_PROPERTIES. | Gerd Moellmann | 1999-11-07 | 1 | -10/+6 |
| | | | | | | (resize_mini_window): Fix computation of needed mini-window height. | ||||
| * | (display_line): Set charpos of first glyph in blank | Gerd Moellmann | 1999-11-02 | 1 | -5/+5 |
| | | | | | | lines not corresponding to any text to -1, even if no glyphs are filled in in that line. | ||||
| * | (resize_mini_window): Compute needed height differently. | Gerd Moellmann | 1999-10-31 | 1 | -1/+2 |
| | | |||||
| * | (append_space): Return non-zero if space was appended. | Gerd Moellmann | 1999-10-31 | 1 | -9/+10 |
| | | | | | | (display_line): Set charpos of first glyph to -1 only if that glyph is the space added by append_glyph. | ||||
| * | * xdisp.c (echo_area_display) [HAVE_X_WINDOWS]: Do nothing if | Gerd Moellmann | 1999-10-26 | 1 | -3/+2 |
| | | | | | Vterminal_frame is selected and Vwindow_system is non-nil. | ||||
| * | (echo_area_display): Put previous change in #if 0. | Gerd Moellmann | 1999-10-26 | 1 | -0/+2 |
| | | |||||
| * | (echo_area_display) [HAVE_X_WINDOWS]: Do nothing | Gerd Moellmann | 1999-10-19 | 1 | -8/+3 |
| | | | | | if selected_frame is equal to Vterminal_frame. | ||||
| * | Add support for large files, 64-bit Solaris, system locale codings. | Paul Eggert | 1999-10-19 | 1 | -5/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (emacs): Set the LC_ALL environment variable to "C" when dumping, so that the dumped Emacs doesn't have stray locale info. (dired.o): Depend on systime.h. (editfns.o): Depend on coding.h. * alloc.c, buffer.c, callproc.c, ccl.c, charset.c, coding.c, data.c, dispnew.c, editfns.c, emacs.c, filelock.c, floatfns.c, hftctl.c, keyboard.c, process.c, sysdep.c, unexelf.c, unexhp9k800.c, unexsunos4.c, vmsfns.c, vmsgmalloc.c, w32faces.c, w32menu.c, w32term.c, w32xfns.c, xfaces.c, xfns.c, xmenu.c, xterm.c: Include <config.h> before any system include files. * alloc.c, buffer.c, ccl.c, data.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, frame.c, insdel.c, keymap.c, lread.c, m/alpha.h, print.c, search.c, sysdep.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: Do not include <stdlib.h>, as <config.h> does this now. * callproc.c (Fcall_process): Synchronize messages locale before invoking strerror. Decode resulting string with locale-coding-system. * coding.c (Vlocale_coding_system): New var. (syms_of_coding): Adjust to above change. (emacs_strerror): New function. * coding.h (emacs_strerror, Vlocale_coding_system): New decls. * config.in (HAVE_STDIO_EXT_H, HAVE_TM_GMTOFF, HAVE___FPENDING, HAVE_FTELLO, HAVE_GETLOADAVG, HAVE_MBLEN, HAVE_MBRLEN, HAVE_STRSIGNAL): New macros. (BITS_PER_LONG): Default to 64 if _LP64 is defined. <stdlib.h>: Include if HAVE_STDLIB_H is defined and NOT_C_CODE isn't. * dired.c: Include "systime.h". (Ffile_attributes): Do not cast s.st_size to int; this loses information if int is 32 bits but st_size and EMACS_INT are larger. Treat large device numbers like large inode numbers. * dispnew.c (PENDING_OUTPUT_COUNT): Use __fpending if available. * editfns.c: Include coding.h. (emacs_strftime): Remove decl. (emacs_strftimeu): New decl. (emacs_memftimeu): Renamed from emacs_memftime; new arg UT. Use emacs_strftimeu instead of emacs_strftime. (Fformat_time_string): Convert format string using Vlocale_coding_system, and convert result back. Synchronize time locale before invoking lower level function. Invoke emacs_memftimeu, passing ut, instead of emacs_memftime. * emacs.c: Include <locale.h> if HAVE_SETLOCALE is defined. (Vmessages_locale, Vprevious_messages_locale, Vtime_locale, Vprevious_time_locale): New variables. (main): Invoke setlocale early, so that initial error messages are localized properly. But skip locale-setting if LC_ALL is "C". Fix up locale when it's safe to do so. (fixup_locale): Moved here from xterm.c. (synchronize_locale, synchronize_time_locale, synchronize_messages_locale): New functions. (syms_of_emacs): Accommodate above changes. * fileio.c (report_file_error): Convert strerror output according to Vlocale_coding_system. (Finsert_file_contents): Check for arithmetic overflow in computations that depend on file size. Report IO errors with emacs_strerror, not strerror. * fns.c (Fgethash): Declare dflt parameter. * gmalloc.c: Do not define const to nothing if HAVE_CONFIG_H is defined; that's config.h's job. * lisp.h (EMACS_INT, BITS_PER_EMACS_INT, EMACS_UINT): If _LP64, default these values to long, BITS_PER_LONG, and unsigned long. (VALBITS, MARKBIT, XINT): Do not assume 32-bit EMACS_INT. (PNTR_COMPARISON_TYPE): Default to EMACS_UINT, not to unsigned int. (code_convert_string_norecord, fixup_locale, synchronize_messages_locale, synchronize_time_locale, emacs_open, emacs_close, emacs_read, emacs_write): New decls. All Emacs callers of open, close, read, write changed to use emacs_open, emacs_close, emacs_read, emacs_write. * lread.c (file_offset, file_tell): New macros. All uses of ftell changed to file_tell. (saved_doc_string_position, prev_saved_doc_string_position): Now of type file_offset. (init_lread): Do not fix locale here; fixup_locale now does this. * m/amdahl.h, s/usg5-4.h: (NSIG): Remove. (NSIG_MINIMUM): New macro. * m/cydra5.h, m/dpx2.h, m/mips.h, m/pfa50.h, m/sps7.h, m/stride.h, m/ustation.h, s/gnu-linux.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/umips.h, s/usg5-4.h: (SIGIO): Do not undef. (BROKEN_SIGIO): New macro. * m/ustation.h: (SIGTSTP): Do not undef. (BROKEN_SIGTSTP): New macro. * s/gnu-linux.h: (SIGPOLL, SIGURG): Do not undef. (BROKEN_SIGPOLL, BROKEN_SIGURG): New macros. * s/ptx4.h: (SIGINFO): Do not undef. (BROKEN_SIGINFO): New macros. * m/delta.h, s/ptx.h, s/template.h: Doc fix. * mktime.c, strftime.c: Update to glibc 2.1.2 version, with some Emacs-related changes merged. * print.c (float_to_string): Prepend "-" to representation of a NaN if the NaN is negative. * process.c (sys_siglist): Omit if HAVE_STRSIGNAL. (wait_reading_process_input): Use emacs_strerror, not strerror. * process.c (status_message, sigchld_handler): Synchronize locale, then use strsignal istead of sys_siglist. * w32proc.c (sys_wait): Likewise. * s/aix3-1.h, s/bsd4-1.h, s/dgux.h, s/gnu-linux.h, s/hiuxmpp.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/osf1.h, s/rtu.h, s/sunos4-1.h, s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, s/usg5-2.h, s/usg5-3.h, s/xenix.h: (open, close, read, write, INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Remove. * s/sol2-5.h (_LARGEFILE_SOURCE, _FILE_OFFSET_BITS): New macros. * sysdep.c (sys_read, sys_write, read, write, sys_close, close, sys_open, open): Remove. (emacs_open, emacs_close, emacs_read, emacs_write): Always define; the old INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, and INTERRUPTIBLE_IO macros are no longer used. (emacs_open): Renamed from sys_open. Merge BSD4_1 version. (emacs_close): Renamed from sys_close. (emacs_read): Renamed from sys_read. (emacs_write): Renamed from sys_write. (sys_siglist): Do not declare if HAVE_STRSIGNAL. (dup2): Do not print error on failure; the real dup2 doesn't. (strsignal): New function, defined if !HAVE_STRSIGNAL. * syssignal.h (SIGINFO): Undef if defined and if BROKEN_SIGINFO is defined. (SIGIO, SIGPOLL, SIGTSTP, SIGURG): Likewise. (NSIG): If less than NSIG_MINIMUM, define to NSIG_MINIMUM. (strsignal): Declare if !HAVE_STRSIGNAL. * unexelf.c (ElfBitsW, ELFSIZE, ElfExpandBitsW): New macros. (ElfW): Define in terms of ElfExpandBitsW. * w32proc.c (sys_siglist): Remove decl. * xdisp.c (decode_mode_spec): 3rd arg is int, not char, to comply with ANSI C. (display_string): Declare face_string_pos arg. * xfns.c (Fx_show_tip): Declare timeout param. * xterm.c: No need to include locale.h. (x_alloc_lighter_color, x_setup_relief_color): Pass arg as double, not float, for compatibility with ANSI C. (fixup_locale): Move to emacs.c. (x_term_init): Do not setlocale or fixup locale; the main program does this now. | ||||
| * | (handle_fontified_prop): GCPRO pos. | Dave Love | 1999-10-14 | 1 | -0/+3 |
| | | |||||
| * | (display_menu_bar): Use MENU_FACE_ID instead of | Gerd Moellmann | 1999-10-06 | 1 | -3/+3 |
| | | | | | MODE_LINE_FACE_ID. | ||||
| * | (resize_mini_window): Do nothing if frame is an X | Gerd Moellmann | 1999-09-29 | 1 | -1/+2 |
| | | | | | frame that hasn't been initialized yet. | ||||
| * | (display_prop_end, invisible_text_between_p): Use | Gerd Moellmann | 1999-09-26 | 1 | -23/+9 |
| | | | | | next_single_char_property_change. | ||||
| * | (add_to_log): Moved from xfaces.c. Remove frame | Gerd Moellmann | 1999-09-23 | 1 | -0/+31 |
| | | | | | parameter. | ||||
| * | (resize_mini_window): Use grow_mini_window and | Gerd Moellmann | 1999-09-23 | 1 | -22/+11 |
| | | | | | shrink_mini_window. | ||||
| * | (sync_frame_with_window_matrix_rows): Disable frame rows | Gerd Moellmann | 1999-09-20 | 1 | -0/+7 |
| | | | | | | whose corresponding window rows have been disabled in try_window_id. | ||||
| * | (compute_window_start_on_continuation_line): Handle case | Gerd Moellmann | 1999-09-20 | 1 | -14/+38 |
| | | | | | | | | | | that window start is out of range. (handle_display_prop, handle_single_display_prop): Replace marginal area specifications like `left-margin' with `(margin left-margin)'. (Qmargin): New. (syms_of_xdisp): Initialize Qmargin. | ||||
| * | (echo_area_display): Turn off code that returned | Richard M. Stallman | 1999-09-18 | 1 | -0/+5 |
| | | | | | without doing anything when using a terminal frame. | ||||
| * | (resize_mini_window): Temporarily set the selected | Gerd Moellmann | 1999-09-16 | 1 | -0/+12 |
| | | | | | | window's or Vminibuf_scroll_window's height to "fixed" around the call the change_window_height. | ||||
| * | (resize_mini_window): Don't report changed window | Gerd Moellmann | 1999-09-15 | 1 | -1/+2 |
| | | | | | height if it actually hasn't changed. | ||||
| * | (display_echo_area_1, try_window_id): Remove unused | Gerd Moellmann | 1999-09-14 | 1 | -3/+0 |
| | | | | | variable(s). | ||||
| * | (redisplay_window): Make sure start_at_line_beg | Gerd Moellmann | 1999-09-13 | 1 | -2/+2 |
| | | | | | is always set correctly. | ||||
| * | (move_it_in_display_line_to): Make type consistent with declaration. | Dave Love | 1999-09-13 | 1 | -1/+1 |
| | | |||||
| * | (QCfile): Move here from xfns.c. | Gerd Moellmann | 1999-09-13 | 1 | -40/+52 |
| | | | | | | | | | (syms_of_xdisp): Initialize it. (message2_nolog): Change for Lisp_Object selected_frame. (message3_nolog, message_with_string, message, setup_echo_area_for_printing, truncate_echo_area, prepare_menu_bars, redisplay_internal, Fdump_tool_bar_row): Ditto. | ||||
| * | (resize_mini_window): Add parameter exact_p. Resize | Gerd Moellmann | 1999-09-12 | 1 | -16/+67 |
| | | | | | | | | | | | | to exact size if exact_p is non-zero. (display_echo_area_1): Call resize_mini_window with new parameter. (redisplay_internal): Ditto. (resize_echo_area_axactly): New. (hscroll_window_tree): Choose cursor row from desired or current matrix. (redisplay_internal): Hscroll before updating. | ||||
| * | (run_window_scroll_functions): If hook functions switch | Richard M. Stallman | 1999-09-12 | 1 | -2/+10 |
| | | | | | buffers, switch back after. | ||||
| * | (Qwhen): Replaces QCwhen. | Gerd Moellmann | 1999-09-08 | 1 | -5/+5 |
| | | | | | | (syms_of_xdisp): Initialized it instead of QCwhen. (handle_single_display_prop): Use it instead of QCwhen. | ||||
| * | (handle_single_display_prop): Change conditional | Gerd Moellmann | 1999-09-07 | 1 | -5/+2 |
| | | | | | display property to `:when FORM . VALUE'. | ||||
| * | Change | Gerd Moellmann | 1999-09-05 | 1 | -40/+42 |
| | | | | | | `top-line' and `top_line' to `header-line' and `header_line'. Likewise for similar spellings. | ||||
| * | (row_containing_pos): New. | Gerd Moellmann | 1999-09-05 | 1 | -146/+175 |
| | | | | | | | (try_window_id): Use it. Change spelling of `toolbar' to `tool_bar' or `tool-bar'. Likewise for upper-case etc. | ||||
| * | Use XCAR and XCDR instead of XCONS. | Gerd Moellmann | 1999-09-03 | 1 | -98/+55 |
| | | | | | | | | | | | | (Vresize_mini_config, resize_mini_frame, resize_mini_initial_height): Removed. (syms_of_xdisp): Remove references to these variables. (resize_mini_window): Don't save window configuration, freeze window starts instead. Enlarge window until displaying an empty buffer, then shrink it. Make the function externally visible. (redisplay_window): Treat frozen window start like forced start, but accept point outside of the window. | ||||
| * | (get_next_display_element): Display incomplete multibyte | Kenichi Handa | 1999-09-03 | 1 | -14/+26 |
| | | | | | sequence (e.g. \222\300) by octal form. | ||||
| * | (try_window_id): Reset first_unchanged_at_end_row | Gerd Moellmann | 1999-09-02 | 1 | -6/+13 |
| | | | | | if we have displayed to the bottom of the window. | ||||
| * | (window_box_width): Use FRAME_FLAGS_AREA_COLS instead of | Gerd Moellmann | 1999-08-30 | 1 | -2/+2 |
| | | | | | | | 2 * that value. (window_box_left): Use FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH. | ||||
| * | (resize_mini_window): Don't resize if | Gerd Moellmann | 1999-08-25 | 1 | -1/+8 |
| | | | | | | | Vmax_mini_window_height is nil. Otherwise, use a default if Vmax_mini_window_height is not ot a number. (syms_of_xdisp): Extend documentation of Vmax_mini_window_height. | ||||
| * | (try_window_id): Remove typo. | Gerd Moellmann | 1999-08-25 | 1 | -1/+1 |
| | | |||||
| * | (try_window_id): Recognize case that PT == ZV and in | Gerd Moellmann | 1999-08-25 | 1 | -2/+12 |
| | | | | | | | unchanged text at the bottom when computing the cursor position. (message3_nolog): Raise frame only if minibuffer_auto_raise is set. | ||||
| * | (redisplay_window): Don't ever test just_this_one_p | Gerd Moellmann | 1999-08-24 | 1 | -34/+70 |
| | | | | | | | | | before calling try_window. (echo_area_display): If height has changed, update other windows. (resize_mini_frame, resize_mini_initial_height): New. (resize_mini_window): Save/restore window configuration differently. | ||||
| * | (redisplay_internal): Clear garbaged frames after | Gerd Moellmann | 1999-08-23 | 1 | -64/+93 |
| | | | | | | | | | | | | | | | | resizing mini-window. (unwind_with_echo_area_buffer): Use set_buffer_internal_1 instead of set_buffer_internal. (with_echo_area_buffer): Ditto. (Vresize_mini_config): New. (resize_mini_window): Use it to save restore original window configuration (syms_of_xdisp): Initialize it. (reconsider_clip_changes): New. (redisplay_internal, redisplay_window): Call it. (mark_window_display_accurate, redisplay_internal): Set current matrix' buffer, begv, zv. | ||||
| * | (resize_mini_window): Do it for truncate-lines t as | Gerd Moellmann | 1999-08-21 | 1 | -59/+75 |
| | | | | | | | | | well. (redisplay_internal): Resize mini-window only if text might have changed. (display_echo_area): Reset displayed echo_area_buffer to nil at the end if we're displaying a nil message. | ||||
| * | Call change_frame_size and do_pending_window_change with | Gerd Moellmann | 1999-08-21 | 1 | -303/+775 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new parameter. Remove conditional compilation on NO_PROMPT_IN_BUFFER. (get_next_display_element): Display \r as ^M. (minibuffer_scroll_overlap): Removed because not used anywhere. (unwind_redisplay): Return nil. (clear_garbaged_frames): New. (redisplay_internal): Use it. (echo_area_display): Ditto. (resize_mini_window): Mew. (display_echo_area_1): Use it to resize echo area window. (redisplay_internal): Use it to resize active mini-window. (echo_area_glyphs, echo_area_message, echo_area_glyphs_length, previous_echo_glyphs, previous_echo_area_message, previous_echo_area_glyphs_length): Removed. (Vmessage_stack, echo_area_buffer, echo_buffer, display_last_displayed_message_p, Vwith_echo_area_save_vector): New. (message2_nolog): Use set_message and clear_message. (message3): Rename parameter len to nbytes to make clear what it is. (message3_nolog): Ditto. Use set_message and clear_message. (update_echo_area): Rewritten. (with_echo_area_buffer): New. (with_echo_area_buffer_unwind_data, unwind_with_area_buffer): New. (setup_echo_area_for_printing): New. (display_echo_area, display_echo_area_1): New. (current_message, current_message_1): New. (push_message, restore_message, pop_message, check_message_stack): New. (truncate_echo_area): Rewritten. (truncate_message_1): New. (set_message, set_message_1, clear_message): New. (echo_area_display): Rewritten. (redisplay_internal): Check for needed echo area update differently. (redisplay_preserve_echo_area): Rewritten. (redisplay_window): Check for mini-window displaying echo area message differently. (syms_of_xdisp): Initialize Vmessage_stack and echo area buffers. Remove initialzation of removed variables. (init_xdisp): Remove references to removed variables. | ||||
| * | (unwind_redisplay): New. Resets flag redisplaying_p. | Gerd Moellmann | 1999-08-17 | 1 | -9/+25 |
| | | | | | | | | | (redisplay_internal): Register unwind_redisplay with register_unwind_protect. (try_window_reusing_current_matrix): If new start > old start, give up if start pos of first reusable row is not equal to new start. | ||||
| * | (Qshow_trailing_whitespace): Removed. | Gerd Moellmann | 1999-08-17 | 1 | -15/+19 |
| | | | | | | | | | | | | | | | | | (Vshow_trailing_whitespace): Added. (init_iterator): Remove initialization code for show_trailing_whitespace_p. (redisplay_internal): Don't try cursor movement in this_line if showing trailing whitespace. (redisplay_window): Likewise for cursor movement in current matrix and try_window_id. (try_window_reusing_current_matrix): Likewise. (trailing_whitespace_p): Return 0 if trailing whitespace is in front of point. (display_line): Use Vshow_trailing_whitespace instead of former iterator member show_trailing_whitespace_p. (syms_of_xdisp): Add DEFVAR_LISP for show-trailing-whitespace. | ||||