* deps.mk (getloadavg.o): Remove; gnulib now does this.
* lisp.h (getloadavg) [!defined HAVE_GETLOADAVG]: Remove; gnulib
now does this.
- * src/s/freebsd.h (HAVE_GETLOADAVG): Remove; gnulib now does this.
- * src/s/netbsd.h (HAVE_GETLOADAVG): Likewise.
+ * s/freebsd.h (HAVE_GETLOADAVG): Remove; gnulib now does this.
+ * s/netbsd.h (HAVE_GETLOADAVG): Likewise.
* config.in: Regenerate.
2011-02-15 Eli Zaretskii <eliz@gnu.org>
($(BLD)/editfns.$(O)): Depend on ../lib/strftime.h.
($(BLD)/print.$(O)): Depend on ../lib/ftoastr.h and ../lib/intprops.h.
- * deps.mk: Update for recent changes: gnutls support, gnulib
+ * deps.mk: Update for recent changes: GnuTLS support, gnulib
imports, addition of globals.h.
* makefile.w32-in ($(BLD)/sysdep.$(O)): Depend on
2010-12-16 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (ns_draw_window_cursor): If the cursor color is the
- same as the background, use the face forground as cursor.
+ same as the background, use the face foreground as cursor.
2010-12-13 Eli Zaretskii <eliz@gnu.org>
2010-10-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnutls.c (emacs_gnutls_write): If we're trying to write before
- gnutls is ready, return EAGAIN as the errno.
+ GnuTLS is ready, return EAGAIN as the errno.
2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
* nsmenu.m (syms_of_nsmenu):
* nsfns.m (syms_of_nsfns):
* msdos.c (syms_of_msdos):
-
* image.c (syms_of_image):
* charset.c (syms_of_charset): Use intern_c_string instead of intern.
* process.c (make_process): Set the gnutls_p field to zero by
default.
(read_process_output): Always call the gnutls_read function if the
- stream is a gnutls stream.
+ stream is a GnuTLS stream.
(send_process): Ditto for writes.
* gnutls.c (emacs_gnutls_write, emacs_gnutls_read): Refuse to read
or write anything until the state is GNUTLS_STAGE_READY.
- (Fgnutls_boot): Mark the stream as being a gnutls stream.
+ (Fgnutls_boot): Mark the stream as being a GnuTLS stream.
2010-09-29 Eli Zaretskii <eliz@gnu.org>
* xml.c (Fxml_parse_string, Fxml_parse_string): Revert last change.
Don't make first argument optional. Doc fix.
-2010-09-14 Leo <sdl.web@gmail.com> (tiny change)
+2010-09-14 Leo Liu <sdl.web@gmail.com> (tiny change)
* xml.c (Fxml_parse_string, Fhtml_parse_string): Fix up the
parameters for the doc string.
2010-08-13 Jason Rumney <jasonr@gnu.org>
- * w32menu.c (simple_dialog_show): Use unicode message box if available.
+ * w32menu.c (simple_dialog_show): Use Unicode message box if available.
(MessageBoxW_Proc): New function typedef.
(unicode-message-box): New function pointer.
(globals_of_w32menu): Import it from user32.dll. (Bug#5629)
* eval.c (Feval, Ffuncall): Use the new names.
* lisp.h (struct Lisp_Subr): Rename `am' to aMANY and add aUNEVALLED.
- (DEFUN): Add braces around the union initialisation and use ## to
+ (DEFUN): Add braces around the union initialization and use ## to
specify the right union alternative and avoid a cast.
2010-07-18 Juanma Barranquero <lekktu@gmail.com>
* keyboard.c (input_available_signal): Declare.
(kbd_buffer_nr_stored): New function.
(kbd_buffer_store_event_hold): If kbd_buffer_nr_stored returns
- more than KBD_BUFFER_SIZE/2, stop reding input (Bug#6571).
+ more than KBD_BUFFER_SIZE/2, stop reading input (Bug#6571).
(kbd_buffer_get_event): If input is suspended and kbd_buffer_nr_stored
- returns less than KBD_BUFFER_SIZE/4, resume reding input (Bug#6571).
+ returns less than KBD_BUFFER_SIZE/4, resume reading input (Bug#6571).
(tty_read_avail_input): If input is on hold, return.
Don't read more that free slots in kbd_buffer (Bug#6571).
2010-06-27 Chong Yidong <cyd@stupidchicken.com>
- * xfns.c (Fx_create_frame): Don't consult X resouces when setting
+ * xfns.c (Fx_create_frame): Don't consult X resources when setting
menu-bar-lines and tool-bar-lines. Use menu-bar-mode and
tool-bar-mode, which are now set using these X resources at
startup, to determine the defaults (Bug#2249).
2010-05-20 Juri Linkov <juri@jurta.org>
- * fileio.c (Fdelete_file): Change interative spec to use
+ * fileio.c (Fdelete_file): Change interactive spec to use
`read-file-name' like in `find-file-read-args' where the default
value is `default-directory' instead of `buffer-file-name'.
http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00533.html
2010-04-13 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (xg_set_geometry): Set geometry for PPosition also.
- (x_wm_set_size_hint): Dont set position flags, gtk_window_parse_geometry
- does that.
+ (x_wm_set_size_hint): Don't set position flags,
+ gtk_window_parse_geometry does that.
* xfns.c (Fx_create_frame, x_create_tip_frame): Set default border width
to zero.
Get rid of the direct_output optimizations.
* keyboard.c (nonundocount): Remove extern declaration.
- (command_loop_1): Remove brittle optimisation for cheap and
+ (command_loop_1): Remove brittle optimization for cheap and
common operations.
* xdisp.c (redisplay_internal): Don't bother checking
redisplay_performed_directly_p any more.
* frame.c (Vdefault_frame_scroll_bars): Put non-GTK X scroll-bars
on left.
-2010-03-13 Andreas Politz <politza@fh-trier.de> (tiny change)
+2010-03-13 Andreas Politz <politza@fh-trier.de>
* editfns.c (Fformat): Account for string precision when computing
field width (Bug#5710).
2010-03-12 Eli Zaretskii <eliz@gnu.org>
- These changes remove termcap.c from the build on Posix platforms.
+ These changes remove termcap.c from the build on POSIX platforms.
* Makefile.in (termcapobj): Move termcap.o from here...
(MSDOS_OBJ): ...to here.
(termcapobj) [!LIBS_TERMCAP]: Remove specialized value, as it is
2010-01-27 Jason Rumney <jasonr@gnu.org>
- * w32inevt.c (w32_kbd_patch_key): Save the unicode character.
- (key_event): Use unicode for characters 128 and higher (Bug#4567).
+ * w32inevt.c (w32_kbd_patch_key): Save the Unicode character.
+ (key_event): Use Unicode for characters 128 and higher (Bug#4567).
2010-01-27 Kenichi Handa <handa@m17n.org>
(syms_of_nsfont): Declare it.
(ns_registry_to_script): New function.
(ns_get_req_script): Call it.
- (ns_findfonts): Don't give up on non-unicode registry.
+ (ns_findfonts): Don't give up on non-Unicode registry.
* font.c (DEFAULT_ENCODING) [HAVE_NS]: Remove special case.
* coding.c (encode_coding_utf_16): Fix checking of a Unicode
character.
- * cmds.c (Fself_insert_command): Avoid unnecessay
+ * cmds.c (Fself_insert_command): Avoid unnecessary
unibyte->multibyte conversion. (Bug#4240) (Bug#4037)
2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
* process.c (status_notify): Don't perform redisplay.
(Fdelete_process, list_processes_1, process_send_signal):
- Expliticly perform redisplay.
+ Explicitly perform redisplay.
(wait_reading_process_output): Always check process status, but
don't perform redisplay unless DO_DISPLAY is non-zero (Bug#2930).
* image.c (xbm_read_bitmap_data): New arg inhibit_image_error.
(xbm_load_image): Caller changed.
- (xbm_file_p): Avoid signalling an image_error (Bug#4107).
+ (xbm_file_p): Avoid signaling an image_error (Bug#4107).
2009-08-13 Nick Roberts <nickrob@snap.net.nz>
* dbusbind.c (XD_SYMBOL_TO_DBUS_TYPE): Convert macro into function
xd_symbol_to_dbus_type. With Solaris 2.11, it was said to compile
- for hours, when optimzation is enabled.
+ for hours, when optimization is enabled.
(xd_signature, xd_append_arg, xd_retrieve_arg, xd_initialize)
(xd_read_message): Make them static.
2009-06-23 Jim Meyering <meyering@redhat.com>
- * src/ftfont.c (setup_otf_gstring, ftfont_shape_by_flt):
+ * ftfont.c (setup_otf_gstring, ftfont_shape_by_flt):
Use xmalloc and xrealloc (not malloc and realloc), so subsequent heap
pointer dereferences are guaranteed to be valid.
* font.c (font_update_drivers): Sanity fallback to avoid disabling
all drivers.
- * nsterm.m (-windowDidResize:): Avoid inf-loop under GNUStep.
+ * nsterm.m (-windowDidResize:): Avoid inf-loop under GNUstep.
2009-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
(ftfont_has_char): Special handling of `ja' and `ko' adstyle.
* font.c (font_sort_entites): Change the meaning of the arg
- BEST-ONLY. Don't optimize for VEC of lenght 1.
+ BEST-ONLY. Don't optimize for VEC of length 1.
(font_select_entity): Just return the value of font_sort_entites.
* xfaces.c (merge_face_vectors): Reflect font properties in
2008-09-07 Andreas Schwab <schwab@suse.de>
* callproc.c (Fcall_process): Don't hold references to string data
- across garbage collection. Move initialisation of new_argv down
+ across garbage collection. Move initialization of new_argv down
to avoid compiler bug.
2008-09-07 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2008-08-20 Chong Yidong <cyd@stupidchicken.com>
* xselect.c (x_get_foreign_selection): Return nil if desired
- selection could not be obtained, instead of signalling an error.
+ selection could not be obtained, instead of signaling an error.
2008-08-20 David Reitter <david.reitter@gmail.com>
2008-07-30 Jason Rumney <jasonr@gnu.org>
- * w32font.h (struct w32font_info): Use unicode version of textmetrics.
+ * w32font.h (struct w32font_info): Use Unicode version of textmetrics.
- * w32font.c (w32font_encode_char): Leave as unicode if in range.
- (w32font_open_internal): Get unicode version of textmetrics.
+ * w32font.c (w32font_encode_char): Leave as Unicode if in range.
+ (w32font_open_internal): Get Unicode version of textmetrics.
Don't enable or disable glyph indices here.
(w32font_open): Disable use of glyph indices.
2008-06-10 Jason Rumney <jasonr@gnu.org>
* w32uniscribe.c (add_opentype_font_name_to_list):
- Skip non unicode fonts.
+ Skip non Unicode fonts.
2008-06-10 Chong Yidong <cyd@stupidchicken.com>
* w32menu.c (Fx_popup_menu): Unwind protect while building menu.
(parse_single_submenu): Remove.
(digest_single_submenu): Remove.
- (syms_of_w32menu): Don't initialise variables that have moved
+ (syms_of_w32menu): Don't initialize variables that have moved
to menu.c.
(set_frame_menubar): Sync with version in xmenu.c.
(w32_menu_show): Sync with xmenu_show in xmenu.c.
`raster' specified.
(add_font_entity_to_list): Allow non-opentype truetype fonts back
in the uniscribe backend, but disallow any font that has no
- unicode subrange support.
+ Unicode subrange support.
2008-05-29 Juanma Barranquero <lekktu@gmail.com>
(CACHE_BLOCKSIZE): New constants.
* w32font.c (Qja, Qko, Qzh): New symbols.
- (syms_of_w32font): Initialise them.
+ (syms_of_w32font): Initialize them.
(font_matches_spec): Use them to filter by language.
(recompute_cached_metrics): Remove function.
(compute_metrics, clear_cached_metrics): New functions.
2008-03-06 Jason Rumney <jasonr@gnu.org>
* w32font.c (w32_registry): Take font_type argument. Use ANSI
- when charset not specified. Only translate ANSI to unicode when
- font_type is truetype.
+ when charset not specified. Only translate ANSI to Unicode when
+ font_type is TrueType.
(w32font_coverage_ok): New function.
(add_font_entity_to_list): Use it to filter unsuitable fonts.
* lisp.h (Fdelete_terminal): Declare.
* charset.h (CHECK_CHARSET, CHECK_CHARSET_GET_ID)
- (CHECK_CHARSET_GET_ATTR): Don't use the inexistent return value of
+ (CHECK_CHARSET_GET_ATTR): Don't use the nonexistent return value of
wrong_type_argument.
2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
* font.c (font_prop_validate_symbol, font_prop_validate_style)
(font_prop_validate_non_neg, font_prop_validate_spacing):
Delete argument prop_index.
- (font_property_table): Change arguments to validater. Change Callers.
+ (font_property_table): Change arguments to validator. Change Callers.
(font_lispy_object): Delete.
(font_at): Use font_find_object instead fo font_lispy_object.
(w32font_list, w32font_match): Use it.
(w32font_open): Don't populate subranges.
(w32font_has_char): Use script Lisp symbols, not subrange bitmask.
- (w32font_encode_char): Always return unicode code-point as-is.
+ (w32font_encode_char): Always return Unicode code-point as-is.
(w32font_text_extents): Supply a transformation matrix to
GetGlyphOutline. Never look up by glyph index. Avoid looping
- twice. Use unicode version of GetTexExtentPoint32 instead of
+ twice. Use Unicode version of GetTexExtentPoint32 instead of
glyph index version.
(set_fonts_frame): Remove.
(w32_enumfont_pattern_entity): Add frame parameter, use it to
STORE_XCHARB a valid l-value.
* w32term.c (w32_native_per_char_metric): Swap width and rbearing
- calculations for non-Truetype fonts.
+ calculations for non-TrueType fonts.
(x_draw_glyph_string): Sync with xterm.c.
(x_draw_glyph_string_foreground) [USE_FONT_BACKEND]:
Remove redundant code.
* keymap.c (describe_vector): Handle default value of a char table.
* fontset.c (fontset_face): Handle fallback fonts correctly.
- (Ffontset_info): Return infomation about fallback fonts.
+ (Ffontset_info): Return information about fallback fonts.
2008-02-01 Kenichi Handa <handa@m17n.org>
(pfnGetFontUnicodeRanges): New dynamically loaded function.
(w32_initialize): Try to load it.
(x_get_font_repertory): Use it if available.
- (w32_encode_char): Add shortcut for unicode output.
+ (w32_encode_char): Add shortcut for Unicode output.
* w32fns.c (w32_load_system_font): Default charset to -1.
- (x_to_w32_charset): Match all fonts for unicode.
+ (x_to_w32_charset): Match all fonts for Unicode.
(w32_to_x_charset): New parameter matching. Don't return partial
or wildcard charsets.
(w32_to_all_x_charsets): Don't return partial or wildcard charsets.
- (w32_codepage_for_font): Return CP_UNICODE for unicode.
+ (w32_codepage_for_font): Return CP_UNICODE for Unicode.
(w32_to_x_font): Match charset to real charset.
- (enum_font_cb2): Always list unicode versions.
+ (enum_font_cb2): Always list Unicode versions.
* makefile.w32-in (temacs): Increase EMHEAP.
* w32fns.c (Fx_create_frame, x_create_tip_frame): Use new version
of x_new_fontset.
- (w32_load_system_font): Initialize charset as unicode.
+ (w32_load_system_font): Initialize charset as Unicode.
font_info.encoding becomes encoding_type.
(w32_to_x_font): Use decode_coding_c_string in place of decode_coding.
(x_to_w32_font): Use encode_coding_object in place of encode_coding.
2008-02-01 Kenichi Handa <handa@m17n.org>
* xdisp.c (face_before_or_after_it_pos):
- Call FETCH_MULTIBYTE_CHAR with byte postion, not char position.
+ Call FETCH_MULTIBYTE_CHAR with byte position, not char position.
2008-02-01 Kenichi Handa <handa@m17n.org>
* ccl.c: Include "character.h".
(Qccl, Qcclp): New variables.
- (CCL_WRITE_CHAR): Alway treat the arg CH as a character even if
+ (CCL_WRITE_CHAR): Always treat the arg CH as a character even if
it's less than 256.
(CCL_WRITE_MULTIBYTE_CHAR): Delete.
(CCL_WRITE_STRING, CCL_READ_CHAR): Adjust for the change of SRC
* xterm.c (handle_one_xevent): Revert to counting chars not bytes.
* w32term.c (w32_read_socket) <WM_CHAR>: Decode characters outside
- the unicode range available in MULE by locale-coding-system.
+ the Unicode range available in MULE by locale-coding-system.
Improve dbcs lead byte detection. Set event timestamp and modifiers
earlier.
* lisp.h (defvar_per_buffer, DEFVAR_PER_BUFFER):
* lread.c (defvar_per_buffer):
- * abbrev.c (syms_of_abbrev) <local-abbrev-tabl>: Move to buffer.c.
+ * abbrev.c (syms_of_abbrev) <local-abbrev-table>: Move to buffer.c.
* window.c (candidate_window_p): Only consider as visible frames that
are on the same terminal.
(Fdisplay_buffer): Use it.
(syms_of_window): Export, and initialize it.
-2007-09-06 Pixel <pixel@mandriva.com> (tiny change)
+2007-09-06 Pascal Rigaux <pixel@mandriva.com> (tiny change)
* image.c (gif_load): Fix bug: Handle nonexistent colormap.
* callproc.c (child_setup, getenv_internal): Use the
display-environment-variable and term-environment-variable frame params.
- (set_initial_environment): Initialise Vprocess_environment.
+ (set_initial_environment): Initialize Vprocess_environment.
* config.in: Disable multi-keyboard support on a mac.
(display_buffer): Do not set split_height_threshold to twice the
value of window_min_height to avoid changing the value of a
customizable variable. Rather explicitly check whether the
- height of the window that shall be splitted is at least as large
+ height of the window that shall be split is at least as large
as split_height_threshold.
(Fwindow_full_width_p): New defun.
(syms_of_window): Defsubr it.
2007-06-17 Jason Rumney <jasonr@gnu.org>
* w32menu.c (add_menu_item): Don't use multibyte string functions on
- unicode strings.
+ Unicode strings.
2007-06-16 Juanma Barranquero <lekktu@gmail.com>
2007-06-14 Jason Rumney <jasonr@gnu.org>
* w32.c (get_process_times_fn): New function pointer.
- (globals_of_w32): Intialize it if present in kernel32.dll.
+ (globals_of_w32): Initialize it if present in kernel32.dll.
(w32_get_internal_run_time): New function.
* editfns.c (Fget_internal_run_time) [WINDOWSNT]: Use it.
(term_mouse_highlight, term_mouse_movement, term_mouse_position)
(term_mouse_click, handle_one_term_event, Fterm_open_connection)
(Fterm_close_connection): New functions.
- (term_init): Initialise mouse_face_window.
+ (term_init): Initialize mouse_face_window.
2007-05-19 Chong Yidong <cyd@stupidchicken.com>
2007-05-12 Chong Yidong <cyd@stupidchicken.com>
- * image.c (pbm_load): Correctly check image size for greyscale pbm.
+ * image.c (pbm_load): Correctly check image size for grayscale pbm.
* xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC).
;; coding: utf-8
;; End:
- Copyright (C) 2007-2011 Free Software Foundation, Inc.
+ Copyright (C) 2007-2012 Free Software Foundation, Inc.
This file is part of GNU Emacs.