1. 04 Apr, 2000 8 commits
  2. 03 Apr, 2000 21 commits
  3. 02 Apr, 2000 5 commits
    • Stefan Monnier's avatar
      * regex.c (PTR_TO_OFFSET) [!emacs]: Remove. · 2d1675e4
      Stefan Monnier authored
      (GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when
      we are between str1 and str2.
      (MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default.
      (PATFETCH_RAW): Fetch multibyte char if applicable.
      (PATUNFETCH): Remove.
      (regex_compile): Rely on PATFETCH to do most of the multibyte magic.
      When writing a char, write it directly into the pattern buffer rather
      than going needlessly through a temp char-array.
      (re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the
      multibyte magic and remove the useless `#ifdef emacs'.
      (bcmp_translate): Don't compare as multibyte chars when in a unibyte
      * regex.h (struct re_pattern_buffer): Make field `multibyte'
      conditional on `emacs'.
      * charset.h (GET_CHAR_BEFORE_2): Moved to regex.c.
    • Ken Raeburn's avatar
      * composite.c (run_composite_function): Use NILP when checking for nil. · 09654086
      Ken Raeburn authored
      (syms_of_composite): Delete local var NARGS, pass an int as first argument to
    • Ken Raeburn's avatar
      fix error in last log message · 2387b382
      Ken Raeburn authored
    • Ken Raeburn's avatar
      * editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test · c01fbf95
      Ken Raeburn authored
      Lisp_Object boolean value.
      (Fformat): Use a temporary variable to avoid ENABLE_CHECKING problems reading
      from and changing the same lisp value in an XSETSTRING call.
    • Ken Raeburn's avatar
      * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type · cc2d8c6b
      Ken Raeburn authored
      versions of XMARK and friends here, because XMARK and friends won't work on an
      integer field if NO_UNION_TYPE is not defined.
      (make_number): Define as a function if it's not defined as a macro.
  4. 01 Apr, 2000 6 commits
    • Dave Love's avatar
      *** empty log message *** · ccf5869a
      Dave Love authored
    • Dave Love's avatar
      Change customization group to `c' from `C'. · 2279eb90
      Dave Love authored
    • Gerd Moellmann's avatar
      *** empty log message *** · 27660e89
      Gerd Moellmann authored
    • Gerd Moellmann's avatar
      (TN_no_color_video): New variable. · 4e6ba4a4
      Gerd Moellmann authored
      (term_init): Intitialize TN_no_color_video.
      (enum no_color_bit): New enumeration.
      (MAY_USE_WITH_COLORS_P): New macro.
      (turn_on_face): Use it to determine if attributes may be used
      combined with colors.
    • Ken Raeburn's avatar
      Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type: · 6fc556fd
      Ken Raeburn authored
      * xdisp.c (compute_string_pos): Fix order of arguments to
      (handle_fontified_prop, add_to_log): Pass int, not Lisp_Object, as
      count arg to variable-arg routines like Frun_hook_with_args and Fformat.
      (back_to_previous_visible_line_start, build_desired_tool_bar_string):
      Pass Lisp_Object, not int, to fixed-arg routines like
      Fget_char_property and Fmake_string.
      (reconsider_clip_changes): Use XINT when comparing integer lisp
      objects, or passing them as int arguments.
      (mark_window_display_accurate, insert_left_trunc_glyphs, append_space,
      extend_face_to_end_of_line): Use make_number when storing or passing
      integer values as lisp objects.
      (set_cursor_from_row, highlight_trailing_whitespace): Use INTEGERP,
      not implicit test against zero, for glyph object.
      (try_window_id): Don't use make_number when we want an int value.
      * xfaces.c (xlfd_symbolic_value): Make last argument a Lisp_Object, to
      be consistent with callers.
      (Fbitmap_spec_p): Use XINT to get numeric value of height.
      (lface_hash): Apply XFASTINT to lisp values before folding in.
      * xfns.c (Fx_show_tip): Use make_number to get lisp objects to fill in window
      width and height.  Pass an int, not a lisp object, as first arg to Finsert.
    • Ken Raeburn's avatar
      * window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues · 3578db3c
      Ken Raeburn authored
      with int lvalues via casts; instead, just yield lisp object
      (enlarge_window): Variable sizep now points to Lisp_Object.  Use
      proper accessor macros.
      (shrink_window_lowest_first): w->top is Lisp_Object; use XINT.
      (grow_mini_window): Fix typo getting int value of root->height.