aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Vselection_coding_system): Doc fix.Andreas Schwab1998-10-301-1/+1
|
* (Fbase64_encode_region): Use SET_PT_BOTH instead of SET_PTAndreas Schwab1998-10-301-3/+3
| | | | when we have both char and byte position. Fix type clashes.
* (Fsignal): Use a separate format string when passingAndreas Schwab1998-10-301-1/+1
| | | | error message string to fatal, in case it contains %'s.
* (Fchar_after): Fix type clashes.Andreas Schwab1998-10-301-2/+2
|
* (Fchar_bytes): Doc fix.Andreas Schwab1998-10-301-4/+4
| | | | | | (char_bytes): Fix returned value to match returned type. (syms_of_charset): Fix type clash in initialisation of Vauto_fill_chars.
* (initialize_w32_display): Use buffer coordsGeoff Voelker1998-10-301-7/+7
| | | | instead of buffer size (which may be larger than the window).
* fileio.c (init_fileio_once): New function.Geoff Voelker1998-10-301-1/+7
|
* emacs.c (main): Invoke init_fileio_once.Geoff Voelker1998-10-301-0/+1
|
* (XTread_socket): Check the returned value of XmbLookupString more carefully.Paul Eggert1998-10-291-0/+10
|
* (check_markers): Check if markers are at characterKenichi Handa1998-10-281-6/+61
| | | | | | | | | | | | | | | | | boundry. (adjust_markers_for_insert): Fix previous change. (count_combining_before): Don't limit the check at BEGV. (count_combining_after): Don't limit the check at ZV. (CHECK_BYTE_COMBINING_FOR_INSERT): New macro. (insert_1_both): Call CHECK_BYTE_COMBINING_FOR_INSERT. (insert_from_string_1): Likewise. (insert_from_buffer_1): Likewise. (adjust_after_replace): Inhibit bytes combined across region boundary. Update end_unchanged correctly. (replace_range): Call CHECK_BYTE_COMBINING_FOR_INSERT. Update end_unchanged correctly. (del_range_2): Inhibit bytes combined across region boundary. Update end_unchanged correctly.
* (Fsubst_char_in_region): Fix previous change.Kenichi Handa1998-10-281-32/+12
| | | | (Ftranslate_region): Fix previous change.
* (DECODE_CHARACTER_ASCII): Check validity of insertedKenichi Handa1998-10-281-2/+10
| | | | | | | code. (DECODE_CHARACTER_DIMENSION1): Likewise. (DECODE_CHARACTER_DIMENSION2): Likewise. (decode_coding_sjis_big5): Check the 2nd byte of SJIS correctly.
* (Fset_message_beep): Recognize 'silent.Geoff Voelker1998-10-281-3/+13
| | | | (w32_sys_ring_bell): Do nothing for the 'silent sound.
* (Vnext_selection_coding_system): New variable.Geoff Voelker1998-10-281-5/+46
| | | | | | | | (syms_of_w32select): DEFVAR_LISP it. (Fw32_set_clipboard_data): Use Vnext_selection_coding_system if non-nil. Always convert multibyte strings. (Fw32_get_clipboard_data): Use Vnext_selection_coding_system if non-nil. Always convert a string that includes non-ASCII characters.
* (check_windows_init_file): Also look in load path specifiedGeoff Voelker1998-10-271-2/+5
| | | | in environment.
* (w32_color_map_lookup): Remove duplicate definition.Geoff Voelker1998-10-271-32/+0
|
* (Fbase64_decode_string): Doc fix.Richard M. Stallman1998-10-271-4/+4
| | | | | (Fbase64_decode_region, Fbase64_encode_string Fbase64_encode_region): Likewise.
* (Fbase64_decode_region, Fbase64_encode_region): FixDave Love1998-10-271-2/+2
| | | | newline in doc string.
* (adjust_after_replace): Correctly handle the case thatKenichi Handa1998-10-271-6/+17
| | | | | both byte combining before and byte combining after happen. (replace_range): Likewise.
* (Fsubst_char_in_region): Correctly handle the caseKenichi Handa1998-10-271-29/+69
| | | | | that byte combining before happens. (Ftranslate_region): Likewise.
* (Fformat): Increase buffer size for floating format.Richard M. Stallman1998-10-261-1/+1
|
* (syms_of_category): Doc-string modified.Kenichi Handa1998-10-261-2/+2
|
* (code_convert_region): Kill the work buffer created byKenichi Handa1998-10-261-3/+5
| | | | pre-write-conversion.
* (main) [HAVE_NTGUI]: Invoke syms_of_fontset().Geoff Voelker1998-10-251-0/+1
|
* (adjust_markers_for_insert): Adjust markers by takingKenichi Handa1998-10-241-37/+44
| | | | | | | | | | combined_before_bytes and combined_after_bytes into account. (count_combining_after): Handle the case that LENGTH is zero. (adjust_after_replace): Record deletion at correct buffer position. Handle the case that LEN is zero. (replace_range): Record deletion at correct buffer position. (del_range_2): Call adjust_makers_for_replace to adjust makers for combined bytes.
* (code_convert_region): While preserving the orignalKenichi Handa1998-10-241-5/+6
| | | | point, pay attention to the byte combining problem.
* (Fbase64_decode_region): Pay attention to the byteKenichi Handa1998-10-241-6/+16
| | | | combining problem.
* (Fgarbage_collect): Block input around most of the function.Richard M. Stallman1998-10-221-0/+4
|
* (Fx_list_fonts): Access frame parameters throughtKenichi Handa1998-10-211-5/+5
| | | | | general macros. Don't call x_list_font directory, instead call a function set in list_fonts_func.
* Include frame.h before fontset.h.Kenichi Handa1998-10-211-3/+5
| | | | (list_fonts_func): Fix prototype.
* (list_fonts_func): Fix prototype.Kenichi Handa1998-10-211-4/+4
|
* Include frame.h before fontset.h.Kenichi Handa1998-10-212-4/+4
|
* (setup_coding_system): Fix setting upKenichi Handa1998-10-211-10/+29
| | | | | | | | coding->spec.ccl.valid_codes for CCL based coding system. (code_convert_region): Set point to FROM before inserting the result of pre-write-funciton. Preserve original point. (code_convert_string): If coding->type is coding_type_ccl, do conversion even if the length of conversion region is zero.
* (w32_use_unicode_for_codepage): Interpret w32_no_unicode_output properly.Geoff Voelker1998-10-201-2/+2
| | | | (syms_of_w32term): Reference w32_no_unicode_output properly.
* Include charset.h and fontset.h.Geoff Voelker1998-10-201-1/+2
|
* Remove redundant font_info struct definition.Geoff Voelker1998-10-201-11/+24
| | | | | | | | | (Vx_pixel_size_width_font_regexp, unibyte_display_via_language_environment): Declare variables. (w32_list_fonts, w32_get_font_info, w32_query_font, w32_load_font): Declare functions. w32_output): New fields font_baseline and fontset. (FRAME_FONTSET, FRAME_W32_FONT_TABLE): New macros.
* Include fontset.h. Define codepage macros.Geoff Voelker1998-10-201-142/+690
| | | | | | | | | | | | Add ENCODE_BIG5 macro from coding.c. (w32_no_unicode_output): New variable. (w32_codepage_for_charset, w32_use_unicode_for_codepage): New functions. (BUILD_WCHAR_T, BYTE1, BYTE2): New macros. (dumpglyphs): Rewrite based on xterm.c equivalent. (x_new_font): Use functionality provided in fontset.c. (x_new_fontset): New function based on the one in xterm.c. (syms_of_w32term): Add w32-no-unicode-output flag.
* (Vx_pixel_size_width): New global variable.Geoff Voelker1998-10-201-42/+517
| | | | | | | | | | | | | | | | | | | | | | (unibyte_display_via_language_environment): New global variable. (x_set_font): Add support for setting fontsets. (Fx_create_frame): Add check_w32(). Initialize fontsets. Fix font names to match xlfd-tight-regexp. (w32_load_font): Rewrite based on x_load_font. (x_to_w32_charset, w32_to_x_charset): Add character sets. Use `iso8859-1' rather than `ansi'. (w32_to_x_font): Remove `-' from font name. Remove the `-' off the end. Move charset into `charset registry' field. (enum_font_cb2): Check charsets match. Include width in font list. (w32_list_fonts): Rewrite based on x_list_fonts. Moved from w32term.c to have access to enumfont_t struct. (Fx_list_fonts): w32 specific version eliminated. Include `x-list-fonts.c'. (w32_get_font_info, w32_query_font, w32_find_ccl_program): New functions for fontset support - adapted from x_ equivalents. (syms_of_w32fns): New lisp variables initialised. Function pointers for fontset.c set up.
* Update comments referring to obsolete structs.Geoff Voelker1998-10-201-30/+90
| | | | | | | (allocate_face, copy_face, face_eql, load_font, Fpixmap_spec_p, free_frame_faces, new_computed_face, frame_update_line_height, merge_faces, compute_base_face, Fset_face_attribute_internal): Use fontset support based on xfaces.c.
* (w32fns.c): Add x-list-font.c to dependancies.Geoff Voelker1998-10-201-0/+1
|
* (syms_of_syntax): Fix the setup of Qscan_error.Richard M. Stallman1998-10-201-1/+1
|
* (mouse_init): Reset the button press/release info of the mouse driver.Eli Zaretskii1998-10-201-5/+61
| | | | | | | | | | (mouse_preempted): New variable. (dos_rawgetc): Don't generate mouse events if mouse is preempted. (XMenuActivate): Preempt the mouse during menu-handling loop. Release the current time slice while idling in the menu-handling loop. Leave the loop only if the user pressed, then released the same button. Discard all mouse events that are pending in the event queue before exiting.
* (Vauto_fill_chars, Qauto_fill_chars): New variables.Kenichi Handa1998-10-191-0/+16
| | | | | (syms_of_charset): Staticpro and initialize Qauto_fill_chars. Declare auto-fill-chars as a Lisp variable and initialize it.
* (Vauto_fill_chars): Extern it.Kenichi Handa1998-10-191-0/+3
|
* (internal_self_insert): Check Vauto_fill_chars.Kenichi Handa1998-10-191-1/+3
|
* (casify_object): Use make_string instead ofKenichi Handa1998-10-171-4/+2
| | | | make_specified_string to cope with byte-combining situation.
* (decode_coding_iso2022): Set coding->fake_multibyte toKenichi Handa1998-10-171-0/+2
| | | | 1 when encountered with a code of the range 0x80..0x9F.
* (Fcall_process): Use $TMPDIR instead of trying $TMPEli Zaretskii1998-10-141-2/+4
| | | | | | and $TEMP, since the former is always set in msdos.c. (Fcall_process_region): When looking for a place to put the temporary files, check $TMPDIR as well.
* (exec_sentinel, read_process_output):Richard M. Stallman1998-10-141-0/+11
| | | | Restore waiting_for_user_input_p after running Lisp code.
* (parse_menu_item): Avoid initialization for Lisp_Object.Richard M. Stallman1998-10-141-4/+9
| | | | (command_loop): Likewise.