+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): Genarate a multibyte string if given
+ names are utf-8.
+
+ * xftfont.c (xftfont_open): Genarate 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.
+
+ * 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.
+
+2008-12-11 Jason Rumney <jasonr@gnu.org>
+
+ * w32font.c (fill_in_logfont): Don't assume symbol script means
+ SYMBOL_CHARSET. (Bug#547)
+
+ * w32uniscribe.c (uniscribe_encode_char): Increase glyph buffer
+ size for surrogates. (Bug#1096, bug#872)
+
+2008-12-11 Juanma Barranquero <lekktu@gmail.com>
+
+ * w32proc.c (Fw32_get_locale_info): Decode long form of locale name.
+
+2008-12-11 Juanma Barranquero <lekktu@gmail.com>
+
+ * process.c (Fsystem_process_attributes, syms_of_process):
+ Fix typo in name of Ssystem_process_attributes.
+ Reported by Ulrich Mueller <ulm@kph.uni-mainz.de>.
+
+2008-12-11 Juanma Barranquero <lekktu@gmail.com>
+
+ * syntax.c (Fmodify_syntax_entry): Doc fix.
+
+2008-12-10 Juanma Barranquero <lekktu@gmail.com>
+
+ * font.c (Ffont_spec): Move usage to end of docstring.
+
+2008-12-10 Jason Rumney <jasonr@gnu.org>
+
+ * w32font.c (Qcham): New symbol.
+ (font_supported_scripts): Add cham, and comments for other new
+ scripts in bitfield from OpenType spec.
+ (add_font_entity_to_list): Limit unicode-sip fonts to those that
+ contain characters beyond the bmp.
+
+2008-12-10 Kenichi Handa <handa@m17n.org>
+
+ * ftfont.c (fc_charset_table): Add "unicode-sip".
+ (ftfont_spec_pattern): Lookup fc_charset_table for the registry
+ Qunicode_sip.
+
+2008-12-10 Juanma Barranquero <lekktu@gmail.com>
+
+ * coding.c (QCdefault_char): Rename from QCdefalut_char.
+ (Fcoding_system_put): Use QCdefault_char.
+ (syms_of_coding): Set QCdefault_char, not QCdefalut_char.
+
+2008-12-09 Chong Yidong <cyd@stupidchicken.com>
+
+ * xftfont.c (syms_of_xftfont): Fix typo.
+
+ * buffer.c (Fbuffer_swap_text): Signal error if swapping a dead buffer.
+
+2008-12-08 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * emacs.c (main): Close daemon_pipe on exec.
+
+2008-12-08 Chong Yidong <cyd@stupidchicken.com>
+
+ * termchar.h (struct tty): New members termcap_term_buffer and
+ termcap_strings_buffer.
+
+ * term.c (encode_terminal_code): Free any previous memory blocks
+ before calling xmalloc for encode_terminal_src or encode_terminal_dst.
+ (maybe_fatal): Buffer argument deleted. Don't free buffer here.
+ All callers changed.
+ (init_tty): Store termcap data and string buffers in new struct
+ tty members termcap_term_buffer and termcap_strings_buffer.
+ (delete_tty): Free them.
+ (syms_of_term): Initialize encode_terminal_src and encode_terminal_dst.
+
+2008-12-07 Seiji Zenitani <zenitani@mac.com>
+
+ * nsfns.m (ns_set_background_color): Remove code duplication.
+ It was a substitute for face-transparency on OS X 10.3.
+
+2008-12-06 Chong Yidong <cyd@stupidchicken.com>
+
+ * coding.c (make_conversion_work_buffer): Disable buffer
+ modification hooks in the work buffer.
+
+2008-12-05 Eli Zaretskii <eliz@gnu.org>
+
+ * process.c (procfs_system_process_attributes): If `nread' has a
+ negative value, assign zero to it.
+
+2008-12-05 Chong Yidong <cyd@stupidchicken.com>
+
+ * eval.c (Vdebug_on_error): Doc fix.
+
+2008-12-05 Kenichi Handa <handa@m17n.org>
+
+ * ftfont.c (ftfont_shape_by_flt): Use "combining" flt if the
+ second character is a combining character.
+
+2008-12-05 Eli Zaretskii <eliz@gnu.org>
+
+ * process.c (procfs_system_process_attributes): Don't use cmd,
+ cmdsize, and q without initializing them first.
+
+2008-12-04 Jason Rumney <jasonr@gnu.org>
+
+ * w32font.c (w32font_draw): Initialize orig_clip before getting
+ it, and delete it when finished.
+
+2008-12-04 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * keyboard.c (kbd_buffer_get_event): Follow the non-interactive
+ case when running as a daemon before detaching.
+
+2008-12-03 Juanma Barranquero <lekktu@gmail.com>
+
+ * w32.c (init_environment): Don't unload library shell32.dll.
+
+2008-12-03 Kenichi Handa <handa@m17n.org>
+
+ * font.c (font_at): Set `multibyte' at first.
+
+ * coding.c (decode_coding_charset): Check type of an element of
+ vector VALIDS.
+ (encode_coding_emacs_mule): Be sure to set `code'.
+
+ * fontset.c (face_for_char): Handle invalid charset property correctly.
+ (font_for_char): Likewise.
+
2008-12-03 Chong Yidong <cyd@stupidchicken.com>
+ * font.c (Fopen_font): Compute pixel size correctly.
+ (font_update_lface): Handle fonts with corrupted size specs,
+ i.e. non-int and non-float.
+
+ * ftfont.c (ftfont_match): Initialize entity variable.
+ (ftfont_resolve_generic_family): Avoid using uninitialized var.
+ (ftfont_list_family): Initialize list var earlier.
+
+ * xselect.c (Fx_get_cut_buffer_internal): Fix memory leak.
+
* xterm.c (x_draw_glyph_string): Fall back on
- underline_minimum_offset for undlerline position.
+ underline_minimum_offset for underline position.
2008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
2008-12-03 Kenichi Handa <handa@m17n.org>
- * coding.c (decode_coding_utf_16): Initialize consumed_chars_base
- to 0.
+ * coding.c (decode_coding_utf_16): Initialize consumed_chars_base to 0.
(decode_coding_utf_8): Likewise.
- (detect_coding_system): Initialize utf_16_le_eol to -1, val to
- Qnil.
+ (detect_coding_system): Initialize utf_16_le_eol to -1, val to Qnil.
(produce_chars): Initialize consumed_chars to 0.
2008-12-02 Chong Yidong <cyd@stupidchicken.com>
* character.h (MAYBE_UNIFY_CHAR): Call maybe_unify_char instead of
Funify_charset.
- * charset.h (enum charset_method): Delete
- CHARSET_METHOD_MAP_DEFERRED.
+ * charset.h (enum charset_method): Delete CHARSET_METHOD_MAP_DEFERRED.
(DECODE_CHAR): Check if the decoder vector is ready.
(ENCODE_CHAR): Check if the encoder char-table is ready.
(maybe_unify_char): Extern it.
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>
* nsterm.m (ns_get_color): Handle long hex strings (fixes bug #1044).
-2008-11-24 Wolfgang Lux <wolfgang.lux@gmail.com> (tiny change)
+2008-11-24 Wolfgang Lux <wolfgang.lux@gmail.com> (tiny change)
* nsterm.m (-otherMouseDown:, -otherMouseUp:, -otherMouseDragged):
New EmacsView methods.
* 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-11-10 Kenichi Handa <handa@m17n.org>
- * character.c (Fget_byte): Fix and make it faster for unibyte
- target.
+ * character.c (Fget_byte): Fix and make it faster for unibyte target.
2008-11-08 Chong Yidong <cyd@stupidchicken.com>
2008-10-21 Jan Djärv <jan.h.d@swipnet.se>
* emacs.c (main): Unconditionally set PER_LINUX32 and exec
- temacs when dumping if HAVE_PERSONALITY_LINUX32 is defined
+ temacs when dumping if HAVE_PERSONALITY_LINUX32 is defined.
2008-10-21 Kenichi Handa <handa@m17n.org>
* font.c (font_fill_lglyph_metrics): Use EMACS_INT in
LGLYPH_SET_CODE to avoid compiler warnings.
- * makefile.w32-in ($(BLD)/w32uniscribe.$(O)): Depend on composite.h
+ * makefile.w32-in ($(BLD)/w32uniscribe.$(O)): Depend on composite.h.
* composite.h (LGLYPH_SET_CODE): Cast `val' to EMACS_INT.
output_termcap.
(Fresume_tty, Fsuspend_tty, init_tty, delete_tty):
Call add_keyboard_wait_descriptor and delete_keyboard_wait_descriptor
- only when subprocesses are supported
+ only when subprocesses are supported.
* frame.c (make_terminal_frame) [MSDOS]: Adjust initialization of
f->output_data.x.
(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.
* dispextern.h:
* config.in:
* atimer.c:
- * Makefile.in: Remove code for Carbon
+ * 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.
2008-07-02 Jason Rumney <jasonr@gnu.org>
* xfns.c (syms_of_xfns): Only define x-select-font when both
- HAVE_FREETYPE and USE_GTK
+ HAVE_FREETYPE and USE_GTK.
* xdisp.c (next_element_from_display_vector): Move assignment out
of if statement.
* 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.