+2009-01-09 Glenn Morris <rgm@gnu.org>
+
+ * keyboard.c (last_command_char): For clarity, rename to...
+ (last_command-event): ... and update all users.
+ (last_input_char): For clarity, rename to...
+ (last_input_event): ... and update all users.
+ (last-command-char, last-input-char): Move to subr.el as aliases.
+ * cmds.c, commands.h: Update for last_command_char rename.
+
+2009-01-08 Chong Yidong <cyd@stupidchicken.com>
+
+ * font.c (font_open_for_lface): Handle unspecified height
+ attribute.
+
+2009-01-08 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (Vx_pointer_shape, Vx_nontext_pointer_shape)
+ (Vx_mode_pointer_shape, Vx_window_horizontal_drag_shape)
+ (Vx_hourglass_pointer_shape, Vx_sensitive_text_pointer_shape):
+ Don't declare.
+ (syms_of_w32fns): Don't define x-pointer-shape variable. (Bug#1485)
+ (x_create_tip_frame) [GLYPH_DEBUG]: Enable image debugging code.
+
+2009-01-07 Kenichi Handa <handa@m17n.org>
+
+ * fileio.c (Finsert_file_contents): In the case of replace,
+ remeber the coding system used for decoding in
+ coding_system (Bug#1039).
+
+ * coding.c (decode_coding_utf_8): Check byte_after_cr before
+ breaking the loop. (Bug#870)
+ (decode_coding_utf_16, decode_coding_emacs_mule)
+ (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5)
+ (decode_coding_charset): Likewise.
+
+2009-01-05 Martin Rudalics <rudalics@gmx.at>
+
+ * frame.c (x_set_frame_parameters): Make sure height (width) get
+ applied when fullwidth (fullheight) is set. (Bug#1522)
+
+2009-01-04 Juanma Barranquero <lekktu@gmail.com>
+
+ * w32.c: Use 64-bit arithmetic to do FILETIME conversions. (Bug#1766)
+ (utc_base): Declare as ULONGLONG, not long double.
+ (convert_time_raw): Delete.
+ (FILETIME_TO_U64, U64_TO_LISP_TIME): New macros.
+ (initialize_utc_base): New function.
+ (convert_time): Use FILETIME_TO_U64, initialize_utc_base.
+ (convert_from_time_t): Use initialize_utc_base; compute result with
+ 64-bit arithmetic.
+ (process_times): Use FILETIME_TO_U64, U64_TO_LISP_TIME.
+
+2009-01-03 Eli Zaretskii <eliz@gnu.org>
+
+ * process.c (Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess)
+ (Qttname, Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime)
+ (Qcutime, Qpri, Qnice, Qthcount, Qstart, Qvsize, Qrss, Qargs)
+ (Quser, Qgroup, Qetime, Qpcpu, Qpmem, Qtpgid, Qcstime)
+ [!subprocesses]: Define.
+ (syms_of_process) [!subprocesses]: Intern and staticpro them.
+ (Flist_system_processes, Fsystem_process_attributes)
+ [!subprocesses]: Call list_system_processes and
+ system_process_attributes instead of returning Qnil.
+
+ * dosfns.c (system_process_attributes, list_system_processes):
+ New functions.
+
+ * vm-limit.c (ret_lim_data) [MSDOS]: New function.
+
+ * sysdep.c (list_system_processes, system_process_attributes) [MSDOS]:
+ Don't use the default (no-op) implementation.
+
+2009-01-03 Jason Rumney <jasonr@gnu.org>
+
+ * keyboard.c (parse_modifiers_uncached): Wheel events are
+ clicks (bug#687).
+
+ * w32term.c (x_query_colors, x_query_color): New functions.
+
+ * image.c (x_to_xcolors, png_load): Eliminate W32 specific code.
+ (svg_load_image): Cast returned pointers from dynamically loaded
+ functions. Eliminate W32 specific code.
+
+2009-01-02 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * nsfns.m (x_set_foreground_color, x_set_background_color)
+ (x_set_cursor_color, x_set_icon_name, x_explicitly_set_name)
+ (x_set_title, x_set_icon_type, x_set_cursor_type): Rename to use
+ x_ prefix instead of ns_. Update references.
+ (syms_of_nsfns): Add a FIXME comment.
+
+ * nsterm.m (x_set_cursor_type): New prototype.
+ (setValuesFromPanel): Use it instead of the old ns_ prefixed name.
+
+ * sysdep.c (system_process_attributes): Provide Qtime and Qctime
+ for Solaris instead of incorrectly providing Qutime and Qcutime.
+
+2009-01-02 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (process_times): Compute sum of utime and stime.
+ (system_process_attributes): Add Qtime to the alist.
+
+ * sysdep.c (system_process_attributes): Compute Qtime and Qctime
+ and add them to the alist.
+
+ * process.c (top level) <Qtime, Qctime>: New variables.
+ (syms_of_process): staticpro them.
+ (Fsystem_process_attributes): Add their documentation to the doc
+ string.
+
+ * process.h: Declare Qtime and Qctime.
+
+2009-01-02 Jason Rumney <jasonr@gnu.org>
+
+ * image.c (Qgobject): New symbol.
+ (syms_of_image): Initialize it.
+ (init_svg_functions): Load some functions from gobject library.
+
+2009-01-01 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * frame.c (make_terminal_frame): Remove redundant code and useless
+ block.
+
+2009-01-01 Andreas Schwab <schwab@suse.de>
+
+ * process.c (conv_sockaddr_to_lisp): Add workaround for
+ getsockname bug on BSD.
+
+2009-01-01 Chong Yidong <cyd@stupidchicken.com>
+
+ * xfns.c (x_create_tip_frame): Set border width of the X window.
+
+ * xfaces.c (Finternal_set_lisp_face_attribute): Improve error
+ message.
+
+2009-01-01 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.c (x_new_font): Return font object, not fontset. (Bug#119)
+ Don't block input, as per earlier xterm.c changes.
+
+2008-12-31 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * nsfns.m (ns_appkit_version_str): Rename from ns_appkit_version.
+ (ns_appkit_version_int): New function.
+ (x-server-version): Use ns_appkit_version_int and follow 21+
+ convention of returning 3 integers.
+
+2008-12-30 Kenichi Handa <handa@m17n.org>
+
+ * character.h (CHAR_VARIATION_SELECTOR_P): New macro.
+ (CHAR_SURROGATE_PAIR_P): New macro.
+
+ * font.h (struct font_driver): New member get_variation_glyphs.
+
+ * font.c (font_range): Don't require a font for a variation selector.
+ (Ffont_variation_glyphs): New function.
+ (syms_of_font): Defsubr it.
+
+ * ftfont.c (ftfont_driver): Set the member get_variation_glyphs to
+ ftfont_variation_glyphs.
+ (setup_otf_gstring): New function.
+ (ftfont_drive_otf): Use it.
+ (ftfont_shape_by_flt): Handle variation selector.
+ (ftfont_variation_glyphs): New function.
+
+2008-12-30 Martin Rudalics <rudalics@gmx.at>
+
+ * frame.c (Vemacs_iconified): Remove.
+
+2008-12-30 Jason Rumney <jasonr@gnu.org>
+
+ * frame.c (store_frame_param, x_get_arg): Enable newer code on
+ WINDOWSNT too, as related changes have already been synced. (Bug#117)
+
+2008-12-30 Chong Yidong <cyd@stupidchicken.com>
+
+ * indent.c (Fvertical_motion): Don't advance iterator if we have
+ reseated to the desired position.
+
+ * xdisp.c (move_it_to): Handle GET_FROM_STRETCH method when
+ checking for pos match.
+
+2008-12-30 Kenichi Handa <handa@m17n.org>
+
+ * insdel.c (copy_text): To convert a non-ASCII char to unibyte,
+ just get the low 8-bit of the code.
+
+ * font.c (font_intern_prop): Validate str as multibyte.
+
+2008-12-29 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * dispextern.h (struct face): Move lface and hash from the middle
+ of bitfields.
+
+ * Makefile.in (INTERVALS_H): Rename from INTERVAL_SRC, update all users.
+
+2008-12-29 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * Makefile.in (INTERVAL_SRC): Also depend on dispextern.h.
+ (coding.o, dispnew.o, keymap.o, msdos.o): Depend on INTERVAL_SRC
+ instead of intervals.h.
+
+2008-12-26 Andreas Schwab <schwab@suse.de>
+
+ * keymap.c (map_keymap_char_table_item): Make a copy of KEY if it is a
+ cons.
+
+2008-12-26 Martin Rudalics <rudalics@gmx.at>
+
+ * textprop.c (Qminibuffer_prompt): New variable.
+ (syms_of_textprop): Initialize it.
+ * callint.c (Fcall_interactively): For `c', `k', and `K' prompt
+ in minibuffer-prompt face. (Bug#1662)
+
+2008-12-25 Jason Rumney <jasonr@gnu.org>
+
+ * buffer.c (Fbuffer_swap_text): Use POINTER_TYPE.
+
+2008-12-24 Jason Rumney <jasonr@gnu.org>
+
+ * ralloc.c (r_alloc_reset_variable): New function.
+
+ * buffer.c (Fbuffer_swap_text) [REL_ALLOC]: Reset ralloc's internal
+ record of what points where. (Bug#716)
+
+2008-12-22 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * minibuf.c (read_minibuf): Follow the non-interactive case when
+ running as a daemon, before detaching.
+
+2008-12-22 Andreas Schwab <schwab@suse.de>
+
+ * buffer.c (init_buffer): Use realloc instead of xrealloc.
+ * gtkutil.c (free_widget_value): Use xfree instead of free.
+
+2008-12-22 Martin Rudalics <rudalics@gmx.at>
+
+ * frame.c (delete_frame): New function derived from
+ Fdelete_frame to handle Qnoelisp value for FORCE argument.
+ Delete last frame iff FORCE equals Qnoelisp. (Bug#1450)
+ (Fdelete_frame): Call delete_frame. Remove line from doc-string
+ saying that FORCE non-nil doesn't run `delete-frame-functions'.
+ * frame.h: Extern delete_frame.
+ * window.c (window_loop):
+ * terminal.c (delete_terminal):
+ * xterm.c (x_connection_closed):
+ * xfns.c (Fx_hide_tip):
+ * w32fns.c (Fx_hide_tip): Call delete_frame instead of Fdelete_frame.
+
+2008-12-21 Jason Rumney <jasonr@gnu.org>
+
+ * w32uniscribe.c (uniscribe_encode_char): Return FONT_INVALID_CHAR
+ when character maps to .notdef character.
+
+2008-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * keyboard.c (cmd_error_internal): Don't exit in daemon mode, bug#1310.
+
+2008-12-20 Jason Rumney <jasonr@gnu.org>
+
+ * frame.c (Fmake_terminal_frame): Raise an error when called from
+ a graphical frame on Windows. (Bug#1325)
+
+2008-12-20 Jan Djärv <jan.h.d@swipnet.se>
+
+ * frame.c (Fdelete_frame): Set f->menu_bar_vector to Qnil.
+
+2008-12-20 Chong Yidong <cyd@stupidchicken.com>
+
+ * minibuf.c (Fread_buffer): Doc fix.
+
+2008-12-20 Jason Rumney <jasonr@gnu.org>
+
+ * fileio.c (Fexpand_file_name): Do not allow ../ to go beyond the
+ server name in UNC paths. (Bug#719)
+
+ * coding.c (decode_coding): Clear chars_at_source flag when using
+ charbuf. (Bug#1035)
+
+2008-12-19 Daniel Engeler <engeler@gmail.com>
+
+ * sysdep.c (serial_configure): Fix typo.
+
+2008-12-19 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * sysdep.c: Include alloca.h.
+ (system_process_attributes): Add implementation for Solaris.
+
+ * s/sol2-10.h (HAVE_PROCFS, _STRUCTURED_PROC): New defines.
+
+2008-12-19 Dan Nicolaescu <dann@ics.uci.edu>
+
+ Reorganize implementation of Flist_system_processes and
+ Fsystem_process_attributes. No functional changes.
+ * process.c: Don't #include pwd.h, grp.h and limits.h.
+ (Flist_system_processes): Just call list_system_processes.
+ (Fsystem_process_attributes): Just call system_process_attributes.
+ (procfs_list_system_processes, time_from_jiffies)
+ (ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR)
+ (procfs_get_total_memory, procfs_system_process_attributes): Move ...
+
+ * sysdep.c: ... here. Include pwd.h, grp.h and limits.h.
+ (list_system_processes): Rename from
+ procfs_list_system_processes. Enclose in #ifdef HAVE_PROCFS.
+ Provide a do nothing implementation.
+ (system_process_attributes): Rename from
+ procfs_list_system_processes.
+ (ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR)
+ (procfs_get_total_memory): Enclose in #ifdef GNU_LINUX.
+
+ * w32.c (list_system_processes): Rename from
+ w32_list_system_processes.
+ (system_process_attributes): Rename from
+ w32_system_process_attributes.
+
+ * s/gnu-linux.h (LISTPROC, PROCATTR): Remove.
+
+ * process.h (w32_list_system_processes)
+ (w32_system_process_attributes): Remove.
+ (list_system_processes, system_process_attributes): New
+ prototypes.
+
+2008-12-19 Kenichi Handa <handa@m17n.org>
+
+ * xfont.c (xfont_decode_coding_xlfd): New function.
+ (xfont_encode_coding_xlfd): New function.
+ (xfont_list_pattern): Decode XLFD by iso-8859-1.
+ (xfont_list): Decode and encode XLFD by iso-8859-1.
+ (xfont_match): Likewise.
+ (xfont_list_family): Likewise.
+ (xfont_open): Likewise.
+
+ * ftfont.c (ftfont_open): Generate a multibyte string if given
+ names are utf-8.
+
+ * xftfont.c (xftfont_open): Generate a multibyte string if given
+ names are utf-8.
+
+2008-12-18 Jan Djärv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_frame_resized): Remove check if rows/columns have
+ changed.
+ (xg_tool_bar_proxy_callback): Put focus on the frame after we have
+ clicked on a detached tool bar button.
+
+2008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * emacs.c (main): Print and error and exit when no data is read
+ from the pipe.
+
+2008-12-17 Jason Rumney <jasonr@gnu.org>
+
+ * w32font.c (w32font_has_char): Always return -1.
+
+2008-12-16 Kenichi Handa <handa@m17n.org>
+
+ * font.c (font_open_entity): Fix previous change.
+
+2008-12-16 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * process.c: Include <limits.h>.
+
+2008-12-16 Chetan Pandya <pandyacus@sbcglobal.net> (tiny change)
+
+ * font.c (font_update_drivers): Fix mistake in reconstructing the
+ driver list.
+
+2008-12-16 Chong Yidong <cyd@stupidchicken.com>
+
+ * font.c (font_clear_cache): Fix format of font cache data.
+
+2008-12-15 Chong Yidong <cyd@stupidchicken.com>
+
+ * xftfont.c (xftfont_open): Free Xft font pattern if
+ XftFontOpenPattern fails.
+
+ * xterm.c (x_free_frame_resources): Remove extraneous call to
+ free_frame_faces.
+
+2008-12-13 Chong Yidong <cyd@stupidchicken.com>
+
+ * xterm.c (x_delete_display): Move xim_close_dpy call to
+ x_delete_terminal.
+ (x_delete_terminal): Call xim_close_dpy.
+
+2008-12-13 Jason Rumney <jasonr@gnu.org>
+
+ * w32font.c (intern_font_name): New function.
+ (add_font_name_to_list, w32_enumfont_pattern_entity): Use it.
+ (w32font_open_internal, Fx_select_font): Decode font name.
+ (fill_in_logfont, list_all_matching_fonts): Encode font name.
+
+ * w32font.h (intern_font_name): Declare new function.
+
+ * w32uniscribe.c (add_opentype_font_name_to_list):
+ Use intern_font_name.
+
+2008-12-13 Chong Yidong <cyd@stupidchicken.com>
+
+ * frame.c (Fdelete_frame): Call free_font_driver_list.
+
+ * font.c (free_font_driver_list): Implement missing function.
+
+ * w32term.c (w32_term_init): Don't initialize the image cache
+ here; it will be done in init_frame_faces.
+
+ * xterm.h (struct xim_inst_t): Definition moved from xterm.c.
+ (struct x_display_info): Remove unused member null_pixel. New
+ member xim_callback_data.
+
+ * xterm.c (struct xim_inst_t): Definition moved to xterm.h.
+ (xim_initialize): Save pointer to callback function data.
+ (xim_close_dpy): Free callback function data. Call XCloseIM,
+ reverting 2008-11-04 change by David Smith.
+ (x_term_init): Don't initialize the image cache here; it will be
+ done in init_frame_faces. Remove ancient "null_pixel" cruft.
+ (x_delete_display): Free x_dnd_atoms member.
+
+2008-12-13 Kenichi Handa <handa@m17n.org>
+
+ * font.c (font_rescale_ratio): Moved from xfaces.c.
+ Argument type changed. Handle a font-spec too.
+ (font_score): Check Vface_font_rescale_alist.
+ (font_open_entity): Likewise. (Bug#1547)
+
+ * xfaces.c (font_rescale_ratio): Moved to font.c.
+
+2008-12-13 Chong Yidong <cyd@stupidchicken.com>
+
+ * xfns.c (Fx_wm_set_size_hint): Check if the frame is an X frame.
+
+2008-12-12 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (x_display_info_for_name, Fx_open_connection): Set
+ Vwindow_system_version to the real w32 major version.
+
+2008-12-12 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * term.c (init_tty): Move setting the terminal name before the
+ potential user: maybe_fatal.
+
2008-12-11 Chong Yidong <cyd@stupidchicken.com>
- * term.c (tty_free_frame_resources): Renamed from
- delete_tty_output; all callers changed. Call free_frame_faces to
- free the face cache.
+ * term.c (tty_free_frame_resources): Renamed from delete_tty_output;
+ all callers changed. Call free_frame_faces to free the face cache.
2008-12-11 Jason Rumney <jasonr@gnu.org>
* w32font.c (fill_in_logfont): Don't assume symbol script means
- SYMBOL_CHARSET.
+ SYMBOL_CHARSET. (Bug#547)
* w32uniscribe.c (uniscribe_encode_char): Increase glyph buffer
- size for surrogates.
+ size for surrogates. (Bug#1096, bug#872)
2008-12-11 Juanma Barranquero <lekktu@gmail.com>
2008-11-26 Jason Rumney <jasonr@gnu.org>
* w32font.c (w32font_open_internal): Don't include external
- leading in font height.
+ leading in font height. (Bug#879)
2008-11-26 Glenn Morris <rgm@gnu.org>
* w32font.c (check_face_name): New function.
(add_font_entity_to_list): Use it to filter out common substituted
- fonts.
+ fonts. (Bug#642)
2008-11-22 Martin Rudalics <rudalics@gmx.at>
2008-09-01 Kenichi Handa <handa@m17n.org>
- * ftfont.c (ftfont_spec_pattern): Don't create a charset of the
+ * ftfont.c (ftfont_spec_pattern): Don't create a charset if the
representative chars of the script is a vector.
- (ftfont_list): Handle the case the representative chars of the
- script is a vector.
+ (ftfont_list): Handle the case where the representative chars of
+ the script is a vector.
* character.c (syms_of_character): Docstring of
script-representative-chars fixed.
(composition_update_it, composition_adjust_point): Extern them.
(Fcomposition_get_gstring): EXFUN it.
- * composite.c: Include window.h, frame.h, dispextern.h font.h.
+ * composite.c: Include window.h, frame.h, dispextern.h, font.h.
(Vcomposition_function_table)
(get_composition_id): Don't handle COMPOSITION_WITH_GLYPH_STRING.
(gstring_hash_table, gstring_work, gstring_work_headers):
(next_element_from_string): Check if the character at the current
position is composed by CHAR_COMPOSED_P.
(next_element_from_buffer): Likewise.
- (next_element_from_composition): Adjust for the change of struct
- it. Update it->cmp_it.
+ (next_element_from_composition): Adjust for the change of struct it.
+ Update it->cmp_it.
(dump_glyph): Adjust for the change of struct glyph.
(fill_composite_glyph_string): Adjust for the change of struct
it and struct glyph. Don't handle automatic composition here.
(Fmake_terminal_frame) [MSDOS]: Don't allow creation of new
terminal devices.
- * msdos.h Remove definition of struct x_display_info and struct
+ * msdos.h: Remove definition of struct x_display_info and struct
x_output.
(FRAME_FONT): Use output_data.tty.
(FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Don't define.
Set Vx_resource_name to a fallback. Replace read of 'buffered'
parameter with read of 'alpha' one.
(Qns_frame_parameter): Remove.
- * nsselection.m (selection-coding-system)
+ * nsselect.m (selection-coding-system)
(next-selection-coding-system, Vselection_coding_system)
(Vnext_selection_coding_system): Drop.
* atimer.c:
* Makefile.in: Remove code for Carbon.
-2008-07-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+2008-07-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* macterm.c (XDrawLine) [USE_MAC_IMAGE_IO]: Remove spurious return.
* w32font.c (w32font_full_name): Use floor to round.
-2008-03-10 dhruva <dhruvakm@gmail.com> (tiny change)
+2008-03-10 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
* sound.c (alsa_configure): Declare vol at beginning of block.
;; bug-reference-url-format: "http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=%s"
;; End:
- Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of GNU Emacs.