1. 14 Apr, 2000 4 commits
  2. 13 Apr, 2000 3 commits
  3. 12 Apr, 2000 2 commits
  4. 10 Apr, 2000 5 commits
  5. 09 Apr, 2000 2 commits
  6. 08 Apr, 2000 2 commits
  7. 05 Apr, 2000 3 commits
  8. 04 Apr, 2000 2 commits
  9. 03 Apr, 2000 2 commits
  10. 02 Apr, 2000 5 commits
    • Stefan Monnier's avatar
      * regex.c (PTR_TO_OFFSET) [!emacs]: Remove. · 2d1675e4
      Stefan Monnier authored
      (RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros.
      (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): Use `TRANSLATE'.
      (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
      buffer.
      * regex.h (struct re_pattern_buffer): Make field `multibyte'
      conditional on `emacs'.
      * charset.h (GET_CHAR_BEFORE_2): Moved to regex.c.
      2d1675e4
    • 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
      Fmake_hash_table.
      09654086
    • Ken Raeburn's avatar
      fix error in last log message · 2387b382
      Ken Raeburn authored
      2387b382
    • 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.
      c01fbf95
    • 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.
      cc2d8c6b
  11. 01 Apr, 2000 5 commits
    • Gerd Moellmann's avatar
      *** empty log message *** · 27660e89
      Gerd Moellmann authored
      27660e89
    • 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
      string_pos_nchars_ahead.
      (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.
      6fc556fd
    • 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
      lvalues.
      (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.
      3578db3c
    • Gerd Moellmann's avatar
      *** empty log message *** · 610d841e
      Gerd Moellmann authored
      610d841e
    • Gerd Moellmann's avatar
      6e7b2457
  12. 31 Mar, 2000 1 commit
  13. 30 Mar, 2000 3 commits
    • Ken Raeburn's avatar
      c6129d7e
    • Ken Raeburn's avatar
      * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER): · 8801a864
      Ken Raeburn authored
      Verify correct object type before returning pointer, using eassert.
      * frame.h (XFRAME): Likewise.
      
      * buffer.c (Frename_buffer, Fset_buffer_multibyte,
      swap_out_buffer_local_variables, Fmove_overlay): Don't apply XSYMBOL, XBUFFER,
      etc, to values that may be nil or of the wrong type.
      * data.c (set_internal): Likewise.
      * dispextern.h (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Likewise.
      * fileio.c (auto_save_1): Likewise.
      * insdel.c (check_markers): Likewise.
      * marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise.
      * undo.c (record_insert): Likewise.
      * vmsproc.c (child_sig): Likewise.
      * window.c (unshow_buffer, window_loop): Likewise.
      * xterm.c (x_erase_phys_cursor): Likewise.
      8801a864
    • Gerd Moellmann's avatar
      (xstrdup): Add prototype. · 8e7af858
      Gerd Moellmann authored
      8e7af858
  14. 29 Mar, 2000 1 commit