1. 30 Sep, 2005 1 commit
    • Dan Nicolaescu's avatar
      * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct · fa8459a3
      Dan Nicolaescu authored
      type.
      * xterm.c (handle_one_xevent, handle_one_xevent): Likewise.
      
      * unexelf.c (fatal): Fix prototype.
      
      * term.c (fatal): Implement using varargs.
      
      * regex.c (re_char): Move typedef ...
      * regex.h (re_char): ... here.
      (re_iswctype, re_wctype, re_set_whitespace_regexp): New
      prototypes.
      
      * emacs.c (malloc_set_state): Fix return type.
      (endif): Fix type.
      
      * lisp.h (fatal): Add argument types.
      
      * dispextern.h (fatal): Delete prototype.
      
      * systime.h: (make_time): Prototype moved from ...
      * editfns.c (make_time): ... here.
      
      * editfns.c: Move systime.h include after lisp.h.
      * dired.c:
      * xsmfns.c:
      * process.c: Likewise.
      
      * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook):
      Add parameter types.
      (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes.
      (emacs_blocked_free): Change definition to match __free_hook.
      (emacs_blocked_malloc): Change definition to match __malloc_hook.
      (emacs_blocked_realloc): Change definition to match
      __realloc_hook.
      fa8459a3
  2. 07 Aug, 2005 1 commit
  3. 04 Jul, 2005 1 commit
  4. 24 Apr, 2005 1 commit
  5. 20 Dec, 2004 1 commit
  6. 06 Dec, 2004 1 commit
  7. 05 Dec, 2004 1 commit
  8. 19 Nov, 2004 2 commits
  9. 24 Oct, 2004 1 commit
  10. 13 Jun, 2004 1 commit
  11. 28 May, 2004 1 commit
  12. 19 May, 2004 1 commit
    • Stefan Monnier's avatar
      Add support for new '\_<' and '\_>' regexp operators, matching the · 669fa600
      Stefan Monnier authored
      beginning and ends of symbols.
      * regex.c (enum syntaxcode): Add Ssymbol.
      (init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword.
      (re_opcode_t): New opcodes `symbeg' and `symend'.
      (print_partial_compiled_pattern): Print the new opcodes properly.
      (regex_compile): Parse the new operators.
      (analyse_first): Skip symbeg and symend (they match only the empty string).
      (mutually_exclusive_p): `symend' is mutually exclusive with \s_ and
      \sw; `symbeg' is mutually exclusive with \S_ and \Sw.
      (re_match_2_internal): Match symbeg and symend.
      669fa600
  13. 11 May, 2004 1 commit
  14. 13 Oct, 2003 1 commit
  15. 30 Sep, 2003 1 commit
  16. 01 Sep, 2003 1 commit
  17. 23 Feb, 2003 1 commit
  18. 04 Feb, 2003 1 commit
  19. 16 Jan, 2003 1 commit
  20. 18 Nov, 2002 1 commit
  21. 07 Nov, 2002 1 commit
  22. 10 Sep, 2002 1 commit
  23. 09 Sep, 2002 1 commit
  24. 06 Sep, 2002 1 commit
    • Richard M. Stallman's avatar
      (set_image_of_range_1): In no-TRANSLATE case, · b7c12565
      Richard M. Stallman authored
      call EXTEND_RANGE_TABLE and return a proper value.
      (set_image_of_range): Don't call set_image_of_range_1
      if no TRANSLATE or if range includes all of Latin-1.
      Only call it for the Latin-1 part of the range.
      For other cases, make two separate ranges,
      one for the original specified characters and one for
      their case-conversions.
      b7c12565
  25. 05 Sep, 2002 1 commit
    • Richard M. Stallman's avatar
      (set_image_of_range_1): New function. · 77d11aec
      Richard M. Stallman authored
      (set_image_of_range): Use set_image_of_range_1 for Latin-1.
      Return a value to indicate running out of memory.
      (SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range.
      (extend_range_table_work_area): New subroutine.
      (EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA.
      Different calling conventions, and used from set_image_of_range{,_1}.
      (IMMEDIATE_QUIT_CHECK): Definitions moved.
      77d11aec
  26. 23 Aug, 2002 1 commit
    • Stefan Monnier's avatar
      (PATFETCH): Remove the translating fetch. · 36595814
      Stefan Monnier authored
      (PATFETCH_RAW): Rename to PATFETCH.
      (set_image_of_range): New fun.
      (SET_RANGE_TABLE_WORK_AREA): Use it.
      (regex_compile): Don't translate the pattern chars so eagerly.
      Only do it when inserting an `exactn' bytecode or when handling a char-range.
      (mutually_exclusive_p): Avoid empty statement.
      36595814
  27. 25 Mar, 2002 1 commit
  28. 21 Mar, 2002 1 commit
  29. 02 Nov, 2001 1 commit
  30. 09 Oct, 2001 1 commit
  31. 12 May, 2001 1 commit
  32. 25 Jan, 2001 1 commit
  33. 24 Jan, 2001 1 commit
  34. 30 Oct, 2000 1 commit
  35. 27 Oct, 2000 1 commit
  36. 26 Oct, 2000 1 commit
    • Stefan Monnier's avatar
      More `unsigned char' -> `re_char' changes. · 01618498
      Stefan Monnier authored
      Also change several `int' into `re_wchar_t'.
      (PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove.
      (PUSH_FAILURE_POINTER): Don't cast any more.
      (POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'.
      We want GCC to complain, since this piece of code makes
      re_match non-reentrant, which *should* be fixed.
      (GET_BUFFER_SPACE): Use size_t rather than unsigned long.
      (EXTEND_BUFFER): Use RETALLOC.
      (SET_LIST_BIT): Don't cast.
      (re_wchar_t): New type.
      (re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC
      that those two functions will always properly return.
      (IMMEDIATE_QUIT_CHECK): Cast to void.
      (analyse_first): Use recursion rather than an explicit stack.
      (re_compile_fastmap): Can't fail anymore.
      (re_search_2): Don't check re_compile_fastmap for failure.
      (PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT.
      Now also sets the new value (passed in a new argument).
      (re_match_2_internal): Use it.
      Also, use a new var `reg' of type size_t when looping through regs
      rather than reuse the inappropriate `mcnt'.
      01618498
  37. 24 Oct, 2000 3 commits