Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (face_before_or_after_it_pos): Pass multibyteness | Gerd Moellmann | 2000-03-27 | 1 | -2/+2 |
| | | | | to DEC_TEXT_POS and INC_TEXT_POS. | ||||
* | (charset_at_position): Function removed. | Kenichi Handa | 2000-03-21 | 1 | -67/+23 |
| | | | | | | | | | | | (init_iterator): Don't set member charset of struct `it'. (handle_face_prop, reseat_to_string, set_iterator_to_next, next_element_from_display_vector, insert_left_trunc_glyphs): Likewise. (face_before_or_after_it_pos): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET. (get_next_display_element, append_space, extend_face_to_end_of_line): Likewise. | ||||
* | (handle_single_display_prop): Initialize local `value'. | Gerd Moellmann | 2000-03-20 | 1 | -4/+7 |
| | | | | | | (try_window_reusing_current_matrix): Don't call scroll run function if run's current and desired position are the same; this prevents cursor flickering. | ||||
* | (display_echo_area): Temporarily inhibit garbage collection. | Gerd Moellmann | 2000-03-08 | 1 | -2/+10 |
| | |||||
* | (QCdata): Moved here from xfns.c. | Gerd Moellmann | 2000-03-05 | 1 | -1/+3 |
| | | | | (syms_of_xdisp): Initialize QCdata. | ||||
* | (try_window_id): Recompute unchanged information if | Gerd Moellmann | 2000-03-05 | 1 | -5/+3 |
| | | | | it is invalid. | ||||
* | (handle_single_display_prop): Use FONT_HEIGHT macro. | Jason Rumney | 2000-02-27 | 1 | -3/+3 |
| | | | | (echo_area_display): Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM. | ||||
* | (cursor_in_non_selected_windows): New variable. | Gerd Moellmann | 2000-02-24 | 1 | -0/+11 |
| | | | | (syms_of_xdisp): DEFVAR_BOOL it. | ||||
* | (decode_mode_spec_coding): Delete superfluous code. | Kenichi Handa | 2000-02-17 | 1 | -9/+3 |
| | | | | | Allocate sufficient memory for eol_str in the case that eoltype is Lisp_Int. | ||||
* | (syms_of_xdisp): Doc fix for scroll-conservatively. | Gerd Moellmann | 2000-02-12 | 1 | -1/+3 |
| | |||||
* | * dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM, | Andrew Innes | 2000-02-06 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | around image definitions and prototypes. (gamma_correct) [WINDOWSNT]: New prototype. * w32term.c (x_make_frame_visible): Replace call to input_poll_signal with poll_for_input. * window.c [WINDOWSNT]: Include w32term.h. * xdisp.c [WINDOWSNT]: Include w32term.h. * makefile.nt: Add dependencies on w32gui.h. (OBJ1): Include atimer.obj. ($(BLD)\atimer.obj): New dependency rule. * w32.c (sigmask): New function (does nothing). (sigunblock): Ditto. * frame.c [WINDOWSNT]: Include w32term.h. * w32gui.h (struct W32FontStruct): Add ascent and descent slots. * lread.c (syms_of_lread): Fix literal newlines. * emacs.c (USAGE): Split into USAGE1 and USAGE2, to work-around the string constant limit (2048 bytes) in MSVC. (main): Ditto. | ||||
* | (Ftrace_to_stderr) [GLYPH_DEBUG]: New function. | Gerd Moellmann | 2000-01-31 | 1 | -2/+17 |
| | | | | (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | ||||
* | (handle_single_display_prop) [HAVE_WINDOW_SYSTEM]: No | Eli Zaretskii | 2000-01-03 | 1 | -2/+2 |
| | | | | need to test for MSDOS frames. | ||||
* | (reseat_at_next_visible_line_start): Position before | Gerd Moellmann | 2000-01-03 | 1 | -24/+31 |
| | | | | | | | | | newline only if ending up on a newline. (next_element_from_ellipsis): Return success. Handle case of displaying no ellipsis. Fix case of ellipsis defined in display table. (next_element_from_buffer): Return 0 if next_element_from_ellipsis returns 0. | ||||
* | (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. |