1999-12-15 Kenichi Handa <handa@etl.go.jp>
- * coding.c (code_convert_region): Fix the secoding arg to
+ * coding.c (code_convert_region): Fix the second arg to
update_compositions.
1999-12-15 Kenichi Handa <handa@etl.go.jp>
(get_property_and_range): Extern it.
(Vtext_property_default_nonsticky): Extern it.
- * intervals.c (adjust_intervals_for_insertion): To check stickines
+ * intervals.c (adjust_intervals_for_insertion): To check stickiness
of properties, pay attention to text-property-default-nonsticky.
(merge_properties_sticky): Likewise.
(get_property_and_range): New function.
(FRAME_MODE_LINE_PARAM_FACE, FRAME_COMPUTED_FACES)
(FRAME_N_COMPUTED_FACES, FRAME_SIZE_COMPUTED_FACES)
(FRAME_DEFAULT_FACE, FRAME_MODE_LINE_FACE, unload_color): Remove
- unused macro definintions.
+ unused macro definitions.
* msdos.c (IT_set_frame_parameters): Don't call
recompute_basic_faces, the next redisplay will, anyway.
* config.in (HAVE_SETITIMER, HAVE_UALARM): New.
-1999-11-28 eliz <eliz@dlpx1>
+1999-11-28 Eli Zaretskii <eliz@is.elta.co.il>
* emacs.c (synchronize_locale): Avoid compiler warnings about
pointer type mismatch.
1999-11-28 Eli Zaretskii <eliz@is.elta.co.il>
* charset.c (Fmake_char_internal): Print the charset ID when
- signalling an error.
+ signaling an error.
* emacs.c (synchronize_locale): Avoid compiler warnings about
pointer type mismatch.
(casify_region): Ditto.
* filelock.c (get_boot_time): Put local variable used in
- conditinally compiled section in #ifdef.
+ conditionally compiled section in #ifdef.
(toplevel): Include stdio.h.
* keymap.c (Flookup_key, Faccessible_keymaps, describe_vector)
1999-09-14 Gerd Moellmann <gerd@gnu.org>
- * sound.c (Fplay_sound): Remove usused variables.
+ * sound.c (Fplay_sound): Remove unused variables.
(be2hs): Put in #if 0 because it's currently not used.
1999-09-14 Ken Raeburn <raeburn@gnu.org>
1999-09-14 Andreas Schwab <schwab@gnu.org>
- * process.c (Fopen_network_stream): Avoid socket decriptor leak.
+ * process.c (Fopen_network_stream): Avoid socket descriptor leak.
* lisp.h: Declare close_file_unwind.
(CURSOR_FACE_ID, MOUSE_FACE_ID): New.
* xfaces.c (Qscroll_bar, Qcursor, Qborder, Qmouse): New.
- (syms_of_xfaces): Intialize new symbols.
+ (syms_of_xfaces): Initialize new symbols.
* fns.c (Fmakehash): Take one argument, test, make all the
rest keyword arguments.
(x_alloc_lighter_color): Call x_alloc_lighter_color with new
parameter list.
- * xterm.h: Change protorype of x_alloc_nearest_color.
+ * xterm.h: Change prototype of x_alloc_nearest_color.
1999-09-03 Richard Stallman <rms@gnu.org>
* sysdep.c: Define numerous routines to emulate Unix system calls.
- * xfaces.c: on MacOS, define the set of colors listed in rgb.txt
+ * xfaces.c: On MacOS, define the set of colors listed in rgb.txt
file of an X Window environment.
- * xfaces.c: on MacOS, define the Lisp functions x-display-color-p,
+ * xfaces.c: On MacOS, define the Lisp functions x-display-color-p,
x-display-grayscale, x-color-defined-p, and x-color-values.
* sysdep.c [macintosh] (stat, fstat, mkdir, rmdir, utime, access)
1999-09-03 Kenichi Handa <handa@etl.go.jp>
- The following changes are for the new handling of mulitbyte
+ The following changes are for the new handling of multibyte
sequence. Now, except for a composite character, no multibyte
character in string/buffer has trailing garbage bytes. For
instance, the length of string "\201\300\300" is now 2, the first
1999-08-25 Gerd Moellmann <gerd@gnu.org>
* syntax.c (Fforward_word): If in a mini-buffer and moving
- backwards, stop in front of the prompt to prevent accidentially
+ backwards, stop in front of the prompt to prevent accidentally
moving into the read-only prompt.
* window.c (Frecenter): Clear frame if called with nil or no arg.
1999-08-25 Alexandre Oliva <oliva@dcc.unicamp.br>
- * unexelf.c: Merge IRIX debugging info patch from unexsgi.c
+ * unexelf.c: Merge IRIX debugging info patch from unexsgi.c.
* m/iris4d.h: Use unexelf for IRIX 5.*.
* m/iris5d.h: Use unexelf for IRIX 6.*.
* unexsgi.c: Deleted.
1999-08-21 Gerd Moellmann <gerd@gnu.org>
- * fns.c (hash_lookup): Test with EQ before calling key comparion
+ * fns.c (hash_lookup): Test with EQ before calling key comparison
function.
(hash_remove): Ditto.
(cmpfn_eq): Removed.
* dispnew.c (do_pending_window_change): Add parameter `safe'.
(change_frame_size): Ditto.
- (change_frame_size_1): Ditto. Deley size changes if redisplaying
+ (change_frame_size_1): Ditto. Delay size changes if redisplaying
and not called from a safe place.
(window_change_signal): Call change_frame_size with new parameter.
(redisplay_window): Check for mini-window displaying echo area
message differently.
(syms_of_xdisp): Initialize Vmessage_stack and echo area buffers.
- Remove initialzation of removed variables.
+ Remove initialization of removed variables.
(init_xdisp): Remove references to removed variables.
* dispnew.c (adjust_frame_message_buffer): Removed references
* dispnew.c (direct_output_for_insert): Use
Vshow_trailing_whitespace instead of former iterator member
show_trailing_whitespace_p.
- (direct_output_forward_char): Don't do it if hightlighting
+ (direct_output_forward_char): Don't do it if highlighting
trailing whitespace.
* xdisp.c (Qshow_trailing_whitespace): Removed.
Simplify clearing "under" scroll bar.
* window.c (Qfixed_window_size): New.
- (syms_of_window): Initialiaze it.
+ (syms_of_window): Initialize it.
(check_all_windows): Add return type void.
(window_fixed_size_p): New. Return non-zero if window
is fixed-size.
* lread.c (read_escape): For Control modifier, pay attention to
multibyte character.
- (read1): Likewise. Singal error or a multibyte character which
- has a modifer bit. Check validity of Shift modifer.
+ (read1): Likewise. Signal error or a multibyte character which
+ has a modifier bit. Check validity of Shift modifier.
* charset.c (non_ascii_char_to_string): Handle modifier bits as
the same as Lisp reader.
1999-08-06 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (compute_line_metrics): If first line's physical ascent
- is larger than its logical ascent, use the physical ascent, and
- make the row taller. Set row's overlapping_p flag.
+ is larger than its logical ascent, use the physical ascent, and
+ make the row taller. Set row's overlapping_p flag.
* dispnew.c (redraw_overlapping_rows): Use flag overlapping_p.
(direct_output_for_insert): Ditto.
* dispextern.h (struct glyph_row): Flag internal_border_p removed.
* xfns.c (x_create_tip_frame): Don't set bitmapIcon resource
- because this will try to access a nonexisting widget.
+ because this will try to access a nonexistent widget.
1999-07-26 Markus Rost <rost@gnu.org>
* xrdb.c (x_load_resources): Set double-click time defaults
for Motif list boxes from double-click-time.
- * fns.c (Vhash_table_tests): Remvoed.
+ * fns.c (Vhash_table_tests): Removed.
(Qhash_table_test): New.
(syms_of_fns): Initialize Qhash_table_test.
(Fmake_hash_table): Look up user-defined tests in symbol prop
* Makefile.in (LIBGIF): Use libungif.
- * configure.in (HAVE_GIF): Use libungif instead of libgif
- because the former doesn't contain patented compression code.
-
* xdisp.c (compute_window_start_on_continuation_line): Don't
do it if line start is too far away from window start.
1999-06-04 Gerd Moellmann <gerd@gnu.org>
- * xfaces.c (recompute_basic_faces)[GLYPH_DEBUG]: Check return
+ * xfaces.c (recompute_basic_faces) [GLYPH_DEBUG]: Check return
value of realize_basic_faces.
(load_face_font_or_fontset): Store full font name in face.
(realize_default_face): Use full font name.
(Finternal_set_lisp_face_attribute): Likewise.
* xfaces.c (load_color): Change the last argument type to enum
- lface_attribute_index from int. And addec code for underling coloring.
+ lface_attribute_index from int. And add code for underling coloring.
(load_face_colors): Pass LFACE_*_INDEX to load_color.
1999-02-12 Gerd Moellmann <gerd@gnu.org>
(Fx_file_dialog): New.
* fileio.c (Fread_file_name): Call it.
- * xrdb.c (x_load_resources): Add default resoures for file
+ * xrdb.c (x_load_resources): Add default resources for file
selection dialog.
1998-11-14 Gerd Moellmann <gerd@gnu.org>
is active.
* keyboard.c (timer_check): Inhibit busy cursor around calls to
- timer-event-handler. This busy cursor tends to be anoying if
+ timer-event-handler. This busy cursor tends to be annoying if
fontifying stealthily.
* dispnew.c (direct_output_for_insert): Give up if current row
1998-11-10 Gerd Moellmann <gerd@gnu.org>
- * xrdb.c (x_load_resources): Add grey background colors as
+ * xrdb.c (x_load_resources): Add gray background colors as
defaults for menus, scroll bars, and dialogs.
* insdel.c (prepare_to_modify_buffer): Move setting
* window.c (coordinates_in_window): Use CURRENT_MODE_LINE_HEIGHT.
* xdisp.c (redisplay_window): If mode line height has changed,
- arrange for a thorough immediate redisplay using the correct mode
- line height.
- (window_box_height): Use CURRENT_MODE_LINE_HEIGHT.
+ arrange for a thorough immediate redisplay using the correct mode
+ line height.
+ (window_box_height): Use CURRENT_MODE_LINE_HEIGHT.
* dispextern.h (MATRIX_MODE_LINE_HEIGHT): New.
(CURRENT_MODE_LINE_HEIGHT): New.
* dispextern.h (struct glyph): Add bit multibyte_p.
(struct face): New member registry holding the registry and
encoding of the X font of the face.
- (FACE_UNIBYTE_P): Value is non-zero if face is for unibye text.
+ (FACE_UNIBYTE_P): Value is non-zero if face is for unibyte text.
(enum face_id): Add BASIC_FACE_ID_SENTINEL.
- (FACE_SUITABLE_FOR_CHARSET_P): Handle charset < 0 meansing unibyte
+ (FACE_SUITABLE_FOR_CHARSET_P): Handle charset < 0 meaning unibyte
text.
(struct iterator_stack_entry): Add multibyte_p.
* buffer.c (init_buffer_once): Add default for `indicate-zv-lines'.
(init_buffer_once): New variable `default-indicate-zv-lines'.
- (syms_of_buffer): New buffer-local varianle `indicate-zv-lines'.
+ (syms_of_buffer): New buffer-local variable `indicate-zv-lines'.
* xdisp.c (redisplay_window): Don't try moving the cursor
if current glyph row w->last_cursor.vpos isn't enabled.
cursor face extend to end of line.
* xdisp.c (append_space): If adding space of default face,
- make sure glyph ist produced with right face.
+ make sure glyph is produced with right face.
* xterm.c (x_clear_glyph_string_rect): Draw a rectangle in the
background color of a glyph string.
1998-05-04 Gerd Moellmann <gerd@gnu.org>
* Makefile.in (LIBXPM): If not already defined, define to -lXpm.
- (LIBX)[HAVE_X11]: Add LIBXPM.
+ (LIBX) [HAVE_X11]: Add LIBXPM.
* xfns.c (xpm_image_p): Implementation of image type functions
for XPM.
* dispextern.h (ITERATOR_AT_END_OF_LINE_P): Test for
DISP_CHARACTER.
- * xterm.c (x_produce_image_glyph): Poduce image glyphs.
+ * xterm.c (x_produce_image_glyph): Produce image glyphs.
(x_produce_glyphs): Call x_produce_glyphs for DISP_IMAGE.
1998-05-02 Gerd Moellmann <gerd@gnu.org>
* xfaces.c (split_font_name): Don't reject scalable fonts.
- * xterm.c (x_list_fonts): Set code exclusing scalable fonts
+ * xterm.c (x_list_fonts): Set code excluding scalable fonts
in #if 0.
* xfaces.c (xlfd_point_size): Return 0 for fonts whose real
* xfaces.c (free_font): Removed.
(load_face_font_or_fontset): Renamed from load_font.
- (load_face_font_or_fontset): Use message2 instead of signalling.
+ (load_face_font_or_fontset): Use message2 instead of signaling.
(load_color): Likewise.
(load_pixmap): Likewise.
(init_iterator): Do it here.
* xfaces.c (choose_face_font): Check that swidth doesn't change
- for subusequent attributes.
+ for subsequent attributes.
(xlfd_point_size): Return int.
* xdisp.c (redisplay_internal, echo_area-display): If realized
* xterm.c (x_scroll_run): Renamed from do_line_dance.
- * xdisp.c (redisplay_window): For window-based redisplay, alway
+ * xdisp.c (redisplay_window): For window-based redisplay, always
try try_window_id.
* xterm.c (struct glyph_string): New member two_byte_p that is
* xdisp.c (store_frame_title_char): New function to store a
single character for the frame title with re-allocation of
frame_title_buf.
- (init_xdisp): Intialize frame_title_.* variables to null.
+ (init_xdisp): Initialize frame_title_.* variables to null.
* dispnew.c (quit_error_check): Removed.
* xdisp.c (redisplay_internal): Optimization 1 change partially
reverted. Check this again later.
- (skip_via_matrix): Remove redundent test for
+ (skip_via_matrix): Remove redundant test for
MATRIX_ROW_DISPLAYS_TEXT_P.
1997-10-27 Gerd Moellmann <gerd@acm.org>
* xdisp.c (skip_in_display_line_to): Use SET_INFO_FROM_CURSOR.
- * xterm.c (XTget_display_info): Handle 3D facess.
+ * xterm.c (XTget_display_info): Handle 3D faces.
(draw_glyphs): Ditto.
* xdisp.c (Fdump_redisplay_state): Change interactive spec to "p".
* dispnew.c (check_current_matrix_invariants): Check nrows for zero.
(check_current_matrix_invariants): Check used counts.
- * Revisiob v114.
+ * Revision v114.
* dispnew.c (scrolling): Use hash codes from rows.
* xterm.c (XTclear_end_of_line): Respect right_to_left_p.
- * xdisp.c (try_window_id): Clear desired matrix if not successul.
+ * xdisp.c (try_window_id): Clear desired matrix if not successful.
* xdisp.c (try_window_id): Call update_window_begin_hook/end_hook.
(increment_glyph_row_buffer_positions): Stop adjusting at
glyphs with positions <= 0.
- * dispextern.h (struct glyph_pos): Structure desribing a text
+ * dispextern.h (struct glyph_pos): Structure describing a text
position including position in overlay.
(struct glyph_row): Use it for start and end positions.
(struct display_cursor): Use it.
* xdisp.c (skip_via_matrix): Check for overlay arrow.
- * region-cache.h: functino prototypes with PROTO.
+ * region-cache.h: Function prototypes with PROTO.
* dispnew.c (buffer_posn_from_coords): Use -1 as skip position.
1997-08-21 Gerd Moellmann <gerd@acm.org>
- * dispnew.c (clear_glyph_matrix): Additional argument specifiying
+ * dispnew.c (clear_glyph_matrix): Additional argument specifying
that rows should really be cleared. Used for current matrices.
* dispnew.c (scrolling_window): Bug fix.
* dispnew.c (scrolling_window): Simplified.
- * xterm.c (x_draw_3d_border): Inset rectangle by line width.
+ * xterm.c (x_draw_3d_border): Insert rectangle by line width.
* dispnew.c (update_window): Add FRAME_MODE_LINE_BORDER_WIDTH
to mode line row->x.
* xterm.h (WINDOW_COL_PIXEL_X etc.) Removed.
- * dispextern.h (WINDOW_TO_FRAME_HPOS/VPOS): Moved to dispnew.c
+ * dispextern.h (WINDOW_TO_FRAME_HPOS/VPOS): Moved to dispnew.c.
* xfns.c (x_contour_region): Use pixel coordinates from window
cursor instead of WINDOW_TO_FRAME_H/VPOS.
* dispnew.c (adjust_frame_glyphs): Don't set frame garbaged
since update will follow soon.
- * xdisp.c (echo_area_display): Unitialized variable.
+ * xdisp.c (echo_area_display): Uninitialized variable.
* xterm.c (draw_bitmap): Previously draw_truncation; draw
overlay arrow bitmap.
* dispextern.h: Take FRAME_TRUNC_WIDTH into account.
- * dispnew.c (update_window_line): Call after_update_windwo_line-
- hook.
+ * dispnew.c (update_window_line): Call after_update_window_line_hook.
* xdisp.c (display_line): Set overlay_arrow_p in row.
* term.c (get_char_info): Use WHAT field of CHAR_INFO.
Use tabs as multiples of spaces.
- * dispextern.h (struct char_info ): WHAT field.
+ * dispextern.h (struct char_info): WHAT field.
* term.c (encode_terminal_code): Don't use GLYPH_CHAR, use
FAST_GLYPH_CHAR instead because GLYPH_CHAR won't remove faces.
* xterm.c (XTget_char_info): Check WANT_ELLIPSIS_P.
- * dispextern.h (struct char_info ): GLYPH_ROW for intermediate
- glyphs.
+ * dispextern.h (struct char_info): GLYPH_ROW for intermediate glyphs.
* dispnew.c (init_char_info): Init GLYPH_ROW to NULL. CHAR_CURSOR
moved to xdisp.c.
* term.c (get_char_info): Set MAX_PIXEL_WIDTH in CHAR_INFO.
- * dispextern.h (struct char_info ): Use LISP_CHAR_TABLE for DP.
+ * dispextern.h (struct char_info): Use LISP_CHAR_TABLE for DP.
New member MAX_PIXEL_HEIGHT.
* xterm.c (x_per_char_metric): Get per character metrics.
* window.c (mark_window_cursors_off): Mark all cursors in
window tree off.
- * xterm.c (x_display_box_cursor): Window paraemter. Use
+ * xterm.c (x_display_box_cursor): Window parameter. Use
window matrix.
(glyph_to_pixel_pos): Convert matrix pos -> pixels.
(pixel_to_glyph_pos): Convert pixel pos -> matrix pos.
1997-07-05 Gerd Moellmann <gerd@acm.org>
- * dispnew.c (scroll_frame_lines): Don't assume first scolled
+ * dispnew.c (scroll_frame_lines): Don't assume first scrolled
line is non-empty.
(realloc_glyph_pool): Don't add 1 to the pool size.
(adjust_glyph_matrix): Don't add 1 to pointers to glyph areas.
(MATRIX_ROW_INVERSE_P): Former MATRIX_ROW_HIGHLIGHT_P.
(struct glyph_row): HIGHLIGHT_P -> INVERSE_P
- * all files: use above new names.
+ * all files: Use above new names.
* dispnew.c (scroll_frame_lines): Simplified. Use
SCROLL_GLYPH_MATRIX.
(init_display): Ditto.
(syms_of_display): Ditto.
- * dispextern.h: add prototypes for REDRAW_FRAME,
+ * dispextern.h: Add prototypes for REDRAW_FRAME,
REDRAW_GARBAGED_FRAMES, CANCEL_LINE, CLEAR_FRAME_RECORDS,
INIT_DESIRED_GLYPHS, SCROLL_FRAME_LINES, PRESERVE_OTHER_COLUMNS,
ADJUST_WINDOW_CHARSTARTS, CANCEL_MY_COLUMNS,
Returns 1 if pool changed.
(matrix_row): Additional check for lost pointers to glyph rows.
(compute_matrices): Additional parameter DIM_P set means that no
- allocation should take place. Addtional parameter
+ allocation should take place. Additional parameter
ANY_WINDOWS_CHANGED_P set if any windows matrix has changed.
(compute_leaf_matrix): Additional parameter CHANGED_P set to 1
when window matrix changes. Additional parameter DIM_ONLY_P set
(make_window): Initialize DESIRED_MATRIX and CURRENT_MATRIX.
(replace_window): Reset DESIRED_MATRIX and CURRENT_MATRIX
- * Makefile.in (window.o): Add dependency window.c -> dispextern.h
+ * Makefile.in (window.o): Add dependency window.c -> dispextern.h.
- * window.c: Include dispextern.h
+ * window.c: Include dispextern.h.
* scroll.c (do_scrolling): Use new glyphs.
(do_direct_scrolling): Ditto.
(write_glyphs): Ditto.
(insert_glyphs): Ditto.
- * Makefile.in (term.o): term.c depends on dispextern.h
+ * Makefile.in (term.o): term.c depends on dispextern.h.
- * term.c: Include dispextern.h
+ * term.c: Include dispextern.h.
* dispnew.c (direct_output_forward_char): Old glyph functions
removed, new inserted.
1999-05-15 Andrew Innes <andrewi@gnu.org>
- * w32term.c (dumpglyphs): Use correct colours for drawing
- rectangles in place of missing fonts, and make them the right
- size.
+ * w32term.c (dumpglyphs): Use correct colors for drawing
+ rectangles in place of missing fonts, and make them the right size.
1999-05-14 Dave Love <fx@gnu.org>
Substitute homedir by `~' also in default_filename.
* xdisp.c (try_window_id): Fix computation of tab_offset when
- backing up over a character that is splitted across lines.
+ backing up over a character that is split across lines.
1999-05-08 Kenichi HANDA <handa@etl.go.jp>
* ccl.c (ccl_prog_stack_struct): Declare it as static.
(ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
- before returing.
+ before returning.
(setup_ccl_program): Initialize ccl->stack_idx to 0.
1999-05-03 Jason Rumney <jasonr@altavista.net>
1999-05-02 Andrew Innes <andrewi@gnu.org>
* s/ms-w32.h (HAVE_FSYNC): New macro.
- (fsync): Map to _commit.
- (ftruncate): Map to _chsize.
+ (fsync): Map to _commit.
+ (ftruncate): Map to _chsize.
* w32term.c (dumpglyphs): On Windows NT, do output in Unicode even
for ASCII, if enabled, to avoid memory allocation overhead for
* fontset.c (Fquery_fontset): Don't check for fontset aliases here.
(Fnew_fontset, Fset_fontset_font): Check for them here.
- (Ffontset_info, Fnew_fontset, Fset_fontset_font):
+ (Ffontset_info, Fnew_fontset, Fset_fontset_font):
Fix error message syntax.
* buffer.c (Fmake_indirect_buffer): Copy multibyte status
* w32fns.c (w32_strict_fontnames): New variable.
(Fx_create_frame): Formatting fix.
- (w32_load_system_font): Keep trying to load non-existant font
+ (w32_load_system_font): Keep trying to load non-existent font
if w32_strict_fontnames is nil. Formatting fix.
(syms_of_w32fns): Add w32-strict-fontnames.
* xterm.c (x_new_fontset): For ASCII font, don't use the font name
returned by x_new_font (the resolved one) but use the font name
set in the fontset specification.
- (x_load_font): For the height of font, if normarl ascent and
+ (x_load_font): For the height of font, if normal ascent and
descent value are larger than those in max_bounds field, use the
former.
(enumfont_t): Remove unused head pointer.
(enum_font_cb2): Dereference elfLogFont.
(w32_list_bdf_fonts): New function.
- (w32_list_fonts): Use one_w32_dispay_info instead of insisting on
+ (w32_list_fonts): Use one_w32_display_info instead of insisting on
valid frame. Remove MessageBox. Support BDF fonts.
(Fw32_find_bdf_fonts): New function.
(syms_of_w32fns): Add Vw32_bdf_filename_alist and
quit_char is typed, in order to break out of potential deadlocks.
(cancel_all_deferred_msgs): New function.
(complete_deferred_msg): Don't abort if msg not found; may have
- been cancelled.
+ been canceled.
(Fw32_reconstruct_hot_key): Use pre-interned symbols.
(Fw32_send_sys_command): Wait for system command to
complete before returning.
* fns.c (string_char_to_byte): Handle invalid multibyte sequence
correctly.
- (string_byte_to_char): Likesize.
+ (string_byte_to_char): Likewise.
* print.c (printchar): When outputting a multibyte character to
echo area, always set message_enable_multibyte to 1.
1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
- * makefile.nt: Do string comparision of _NMAKE_VER.
+ * makefile.nt: Do string comparison of _NMAKE_VER.
1998-12-06 Eli Zaretskii <eliz@mescaline.gnu.org>
* Makefile.in (msdos.o): Depend on termchar.h, charset.h,
- coding.h, and disptab.h
+ coding.h, and disptab.h.
* msdos.c (Vdos_unsupported_char_glyph): New variable.
(syms_of_msdos): DEFVAR_LISP it.
* charset.h (SPLIT_NON_ASCII_CHAR): Check dimension of an invalid
character correctly.
- (STRING_CHAR): Handle an invalid charater correctly.
+ (STRING_CHAR): Handle an invalid character correctly.
1998-11-05 Kenichi Handa <handa@etl.go.jp>
1998-11-04 Kenichi Handa <handa@etl.go.jp>
* charset.c (string_to_non_ascii_char): Change the check for the
- varidity of multibyte form.
+ validity of multibyte form.
(update_charset_table): Check validity of BYTES. Don't set
bytes_by_char_head here.
(init_charset_once): Set bytes_by_char_head completely.
* w32.c (stat): GetFileInformationByHandle can legitimately fail,
so don't rely on it succeeding.
- * w32fns.c (x_to_w32_font): Specify DEFAULT_CHARSET in the w32
+ * w32fns.c (x_to_w32_font): Specify DEFAULT_CHARSET in the Windows
LOGFONT struct if x font doesn't specify the charset.
(x_to_w32_charset): Change >= to == when testing results of
stricmp.
(insert_from_string_1): Set *(GPT_ADDR) to 0 before calling
CHECK_BYTE_COMBINING_FOR_INSERT.
(insert_from_buffer_1): Likewise.
- (adjust_after_replace): Check the posibility of inhibitted byte
+ (adjust_after_replace): Check the possibility of inhibitted byte
combining correctly.
(replace_range): Before signaling an error for inhibitted byte
combining, recover the buffer in a safe state.
- (del_range_2): Check the posibility of inhibitted byte combining
+ (del_range_2): Check the possibility of inhibitted byte combining
correctly.
1998-10-30 Andreas Schwab <schwab@delysid.gnu.org>
* charset.c (Fchar_bytes): Doc fix.
(char_bytes): Fix returned value to match returned type.
- (syms_of_charset): Fix type clash in initialisation of
+ (syms_of_charset): Fix type clash in initialization of
Vauto_fill_chars.
1998-10-29 Geoff Voelker <voelker@cs.washington.edu>
* editfns.c (Fsubst_char_in_region): Fix previous change.
(Ftranslate_region): Fix previous change.
- * insdel.c (check_markers): Check if markers are at character boundry.
+ * insdel.c (check_markers): Check if markers are at character boundary.
(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.
1998-10-23 Kenichi Handa <handa@etl.go.jp>
- * coding.c (code_convert_region): While preserving the orignal
+ * coding.c (code_convert_region): While preserving the original
point, pay attention to the byte combining problem.
* fns.c (Fbase64_decode_region): Pay attention to the byte
* coding.c (setup_coding_system): Fix setting up
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.
+ result of pre-write-function. Preserve original point.
(code_convert_string): If coding->type is coding_type_ccl, do
conversion even if the length of conversion region is zero.
1998-10-21 Jason Rumney <jasonr@altavista.net>
- * x-list-font.c (Fx_list_fonts): Access frame parameters throught
+ * x-list-font.c (Fx_list_fonts): Access frame parameters through
general macros. Don't call x_list_font directory, instead call a
function set in list_fonts_func.
1998-10-20 Jason Rumney <jasonr@altavista.net>
- * makefile.nt (w32fns.c): Add x-list-font.c to dependancies.
+ * makefile.nt (w32fns.c): Add x-list-font.c to dependencies.
* w32faces.c: Update comments referring to obsolete structs.
(allocate_face, copy_face, face_eql, load_font)
`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
+ (syms_of_w32fns): New lisp variables initialized. Function
pointers for fontset.c set up.
* w32term.c: Include fontset.h. Define codepage macros.
1998-09-28 Kenichi Handa <handa@etl.go.jp>
* coding.c (check_composing_code): Fix previous change. Now it
- alwasy returns 0 or -1.
+ always returns 0 or -1.
(decode_coding_iso2022): Adjusted for the above change.
(encode_coding_iso2022): When encoding the last block, flush out
tailing garbage bytes.
(SHRINK_CONVERSION_REGION): New macro.
(code_convert_region): Call SHRINK_CONVERSION_REGION. Delete text
properties here.
- (code_convert_region): In the case of encoding, always calulate
+ (code_convert_region): In the case of encoding, always calculate
correct character number.
(code_convert_string): Call SHRINK_CONVERSION_REGION.
(code_convert_region1): Don't delete text properties here.
* ccl.c (CCL_WRITE_CHAR): Don't use bcopy.
(ccl_driver): If BUFFER-MAGNIFICATION of the CCL program is 0,
cause error if the program is going to output some bytes. When
- outputing a string to notify an error, check the case that
+ outputting a string to notify an error, check the case that
DST_BYTES is zero.
* coding.h (CODING_FINISH_INTERRUPT): New macro.
(adjust_after_replace): Record deletion of combining after bytes
with the correct position.
(replace_range): Likewise. Record the actual deletion after
- recoding deletions of combining bytes.
+ recording deletions of combining bytes.
* xdisp.c (message_log_check_duplicate): Count byte length of the
latest message correctly.
ACTUAL_LEN even if LEN is too short to have a valid multibyte form.
(STRING_CHAR_AND_CHAR_LENGTH): Likewise.
- * coding.c (ccl_coding_driver): Always calculate correct mulibyte
+ * coding.c (ccl_coding_driver): Always calculate correct multibyte
chars in produced byte sequence.
(Ffind_operation_coding_system): Doc-string fixed.
1998-08-31 Kenichi Handa <handa@etl.go.jp>
* charset.c (unibyte_char_to_multibyte):
- Vnonacii_translation_table will convert a 7-bit charcater.
+ Vnonacii_translation_table will convert a 7-bit character.
(multibyte_char_to_unibyte): Handle the case that
- Vnonacii_translation_table converts a multibyte charcater to a
- unibyte charcter of less than 128.
+ Vnonacii_translation_table converts a multibyte character to a
+ unibyte character of less than 128.
(init_charset_once): Initialize nonascii_insert_offset and
Vnonacii_translation_table.
See ChangeLog.7 for earlier changes.
- Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007
- Free Software Foundation, Inc.
+ Copyright (C) 1999, 2001-2013 Free Software Foundation, Inc.
This file is part of GNU Emacs.
- GNU Emacs is free software; you can redistribute it and/or modify
+ GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3, or (at your option)
- any later version.
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with GNU Emacs; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
-;;; arch-tag: 4d73444a-8f6e-4255-92a6-d3abc438b8d3
+ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.