1. 17 Dec, 1998 1 commit
  2. 16 Dec, 1998 14 commits
  3. 15 Dec, 1998 25 commits
    • Kenichi Handa's avatar
      (iso-languages): For Portuguese ~c and · 2e9537e7
      Kenichi Handa authored
      ~C insert c-cedilla and C-cedilla respectively, like in latin-1.
      2e9537e7
    • Eli Zaretskii's avatar
    • Kenichi Handa's avatar
      (printchar): Outputting multibyte characters · d366d2e4
      Kenichi Handa authored
      to echo area always makes it multibyte.
      d366d2e4
    • Kenichi Handa's avatar
      (printchar): Cancel previous change. · c7e3eb8b
      Kenichi Handa authored
      c7e3eb8b
    • Kenichi Handa's avatar
      File name changed from bdf.el. Provide ps-bdf · e62e3e6b
      Kenichi Handa authored
      instead of bdf.
      
      Require ps-mule instead of ps-print.
      (bdf-directory-list): Add autoload cookie.
      
      Programming uniformization and little code improvement.
      (bdf-search-and-read): New fun.
      (bdf-write-cache, bdf-initialize, bdf-info-absolute-path)
      (bdf-info-mod-time, bdf-info-size, bdf-info-font-bounding-box)
      (bdf-info-relative-compose, bdf-info-baseline-offset)
      (bdf-info-code-range, bdf-info-maxlen, bdf-info-offset-vector)
      (bdf-read-bitmap, bdf-get-bitmaps): Programming uniformization.
      (bdf-expand-file-name, bdf-file-newer-than-time, bdf-find-file)
      (bdf-read-cache, bdf-read-font-info, bdf-generate-glyphs): Little code
      improvement.
      e62e3e6b
    • Kenichi Handa's avatar
      Initial revision · 7e6acc2d
      Kenichi Handa authored
      7e6acc2d
    • Kenichi Handa's avatar
      New file. Mule related code extracted from · 2cb842ae
      Kenichi Handa authored
      ps-print.el.  Require ps-print, provide ps-mule.
      (ps-multibyte-buffer): Add autoload cookie.
      (ps-mule-prepare-ascii-font): New fun.
      (ps-mule-set-ascii-font): New fun.
      (ps-mule-skip-same-charset): Fun deleted.
      (ps-mule-plot-string): Set ps-mule-current-charset.
      (ps-mule-initialize): Add autload cookie.  Don't set
      ps-mule-font-info-database here.
      (ps-mule-begin-job): Renamed from ps-mule-begin.  Update
      ps-mule-font-info-database and ps-control-or-escape-regexp.
      (ps-mule-begin-page): New fun.
      
      Doc fix. Require ps-print only when compiled.
      (ps-mule-prologue-generated): New fun.
      (ps-mule-plot-string): Add autoload cookie.
      (ps-mule-begin-job): Call ps-mule-prologue-generated.
      
      Programming uniformization and little code improvement.
      (ps-mule-prepare-font): Programming uniformization.
      (ps-mule-find-wrappoint, ps-mule-plot-rule-cmpchar)
      (ps-mule-string-encoding, ps-mule-begin-job): Little code improvement.
      
      Always require ps-print.  Move some function
      definitions for Emacs 20.2 and the earlier to ps-print.el.
      (ps-mule-find-wrappoint): Make it work also with Emacs 20.2.
      
      (ps-mule-begin-job): Delete nil and unknown from a
      list of character sets found by find-charset-region.
      2cb842ae
    • Kenichi Handa's avatar
      Initial revision · 9c423e6b
      Kenichi Handa authored
      9c423e6b
    • Kenichi Handa's avatar
      (ps-mule-font-info-database): Doc-string modified. · 298bfad9
      Kenichi Handa authored
      (ps-mule-external-libraries): New element FEATURE.
      (ps-mule-init-external-library): Ajusted for the above change.
      (ps-mule-generate-font): Likewise.
      (ps-mule-generate-glyphs): Likewise.
      (ps-mule-prepare-font): Likewise.
      (ps-mule-initialize): Likewise.
      (ps-begin-file): Superfluous tailing parenthesis deleted.
      
      Mule related code moved to ps-mule.el.
      (ps-begin-job): While setting ps-control-or-escape-regexp, don't
      check ps-mule-charset-list.
      (ps-begin-page): Don't set ps-mule-current-charset, instead call
      ps-mule-begin-page.
      (ps-basic-plot-string): Call ps-mule-prepare-ascii-font.
      (ps-plot-region): Don't set ps-mule-current-charset, instead call
      ps-mule-set-ascii-font.  Don't call ps-mule-skip-same-charset,
      instead skip same charsets by itself.
      (ps-generate): Call ps-mule-initialize of needs-begin-file is
      non-nil.  Call ps-mule-begin-job.
      
      (ps-print-version): New version number (4.1.2), doc fix
      and mule related code extraction. Autoload ps-mule funs.
      
      Define several functions for Emacs 20.2 and the
      earlier version.
      (ps-printer-name): Check if printer-name is bound.
      298bfad9
    • Kenichi Handa's avatar
      (quail-devanagari-compose-characters): · 7bbc9d9f
      Kenichi Handa authored
      Adjusted for the change of input method handling.
      (quail-devanagari-hindi-compose-characters): Likewise.
      7bbc9d9f
    • Kenichi Handa's avatar
      (x-decompose-font-name): If PATTERN · 190ce634
      Kenichi Handa authored
      doesn't have any wild cards, return a vector made from a name that
      is found by x-resolve-font-name found.  Comments added.
      190ce634
    • Kenichi Handa's avatar
      (find-coding-systems-for-charsets): · 251d4f4b
      Kenichi Handa authored
      Handle the case of unknown charset.
      (find-multibyte-characters): If invalid multibyte characters are
      found, return the corresponding strings instead of character
      codes.
      (find-multibyte-characters): Adjusted for the above change.
      (select-safe-coding-system): For a unibyte buffer, always returns
      DEFAULT-CODING-SYSTEM.
      (get-charset-property): Fix previous change.  Make it a function.
      (put-charset-property): Make it a function.
      251d4f4b
    • Kenichi Handa's avatar
      (make-coding-system): Set mime-charset · d00742a1
      Kenichi Handa authored
      property of *-with-esc coding system to nil.
      d00742a1
    • Kenichi Handa's avatar
      (quail-point-in-conversion-region): New · 407c6b94
      Kenichi Handa authored
      function.
      (quail-conversion-backward-delete-char): When a key sequence is
      being translated, call quail-delete-last-char.
      407c6b94
    • Kenichi Handa's avatar
      (devanagari-reorder-glyphs-for-decomposition): Fix the way to · ebcc4e2e
      Kenichi Handa authored
      handle devanagari-decomposition-rules.
      ebcc4e2e
    • Kenichi Handa's avatar
      Include "ccl.h". · edf496dd
      Kenichi Handa authored
      (Fcall_process): Doc-string modified.  Set CODING_MODE_LAST_BLOCK
      bit in argument_coding.mode to tell encoding procedure to flush
      data.  While encoding arguments, if argument_coding uses CCL
      program, initialize it again after encoding.
      (Fcall_process_region): Doc-string modified.  Handle the case that
      NARGS is 3.
      edf496dd
    • Kenichi Handa's avatar
      (CCL_SUCCESS): Don't set ccl->ic. · ad3d1b1d
      Kenichi Handa authored
      (ccl_driver) <CCL_End>: Pretend that all source text is consumed.
      Set `ic' to the head of this command.
      (ccl_driver) <CCL_ReadMultibyteChar2>: Return a single byte 8-bit
      code for an invalid code.
      (setup_ccl_program): If the arg VEC is nil, skip setting ups
      based on VEC.
      ad3d1b1d
    • Kenichi Handa's avatar
      (Qunknown): New variable. · 0282eb69
      Kenichi Handa authored
      (init_charset_once): Intern and staticpro Qunknown.  Initialize
      all elements of Vcharset_symbol_table to Qunknown.
      (find_charset_in_str): New arg MULTIBYTE.  If it is zero, check
      unibyte characters only.  For an invalid composition sequence, set
      CHARSETS[1] to 1.
      (Ffind_charset_region): Call find_charset_in_str with an
      appropriate MULTIBYTE arg.  If undefined charsets are found,
      include `unknown' is the return value.
      (Ffind_charset_string): Likewise.
      (Fsplit_char): If CHAR is invalid, return `(unknown CHAR)'.
      (str_cmpchar_id): Max composite character code should be less than
      GENERIC_COMPOSITION_CHAR.
      0282eb69
    • Kenichi Handa's avatar
      (find_charset_in_str): Update declaration. · 8c5b01cc
      Kenichi Handa authored
      8c5b01cc
    • Kenichi Handa's avatar
      (DECODE_DESIGNATION): Jump to label_invalid_code if · 944bd420
      Kenichi Handa authored
      final_char is invalid.
      (decode_coding): If coding->type is coding_type_ccl, call
      ccl_coding_driver even if SRC_BYTES is zero.
      (code_convert_region): Update `inserted' correctly after calling
      coding->post_read_conversion.  Even after the code converter
      consumed all source text, call it once more if it is
      coding_type_ccl to flush out data.
      944bd420
    • Kenichi Handa's avatar
      (printchar): When outputting a multibyte character to · 02a08df0
      Kenichi Handa authored
      echo area, always set message_enable_multibyte to 1.
      02a08df0
    • Kenichi Handa's avatar
      (read_process_output): If NBYTES is zero and · de7fbd09
      Kenichi Handa authored
      CODING_MODE_LAST_BLOCK bit is not yet set in coding->mode, set it
      and try decoding again.
      (Fprocess_send_eof): If the coding system of PROCESS
      requires flushing, call send_process with null-string at first.
      de7fbd09
    • Kenichi Handa's avatar
      (Finsert_file_contents): Even if INSERTED is zero, if · c91beee2
      Kenichi Handa authored
      CODING is handled by CCL program, call code_convert_region.
      c91beee2
    • Kenichi Handa's avatar
      (string_char_to_byte): Handle invalid multibyte sequence · 67bfe42d
      Kenichi Handa authored
      correctly.
      (string_byte_to_char): Likesize.
      67bfe42d
    • Kenichi Handa's avatar
      (search_buffer): Don't use Boyer-Moore · 040272ce
      Kenichi Handa authored
      to search for an invalid multibyte code.
      In unibyte case, no need to check whether there are translations
      in more than one charset; just set charset_base to 0.
      040272ce