* s/ms-w32.h (MULTI_KBOARD): Remove.
[bpt/emacs.git] / src / ChangeLog
index 51524b2..89b730f 100644 (file)
@@ -1,3 +1,464 @@
+2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * s/ms-w32.h (MULTI_KBOARD): Remove.
+       * xterm.c:
+       * xselect.c:
+       * xfns.c:
+       * window.c:
+       * w32term.c:
+       * w32fns.c:
+       * terminal.c:
+       * termhooks.h:
+       * term.c:
+       * sysdep.c:
+       * keyboard.h:
+       * keyboard.c:
+       * frame.h:
+       * frame.c:
+       * frame.c: Remove references to MULTI_KBOARD, it is now the
+       default.
+       * config.in: Regenerate.
+
+2008-07-30  Jason Rumney  <jasonr@gnu.org>
+
+        * 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.
+        Don't enable or disable glyph indices here.
+        (w32font_open): Disable use of glyph indices.
+
+        * w32uniscribe.c (uniscribe_open): Enable use of glyph indices.
+
+2008-07-30  Chong Yidong  <cyd@stupidchicken.com>
+
+       * minibuf.c (Vread_buffer_function): Doc fix.
+
+2008-07-30  John Paul Wallington  <jpw@pobox.com>
+
+       * minibuf.c (read_buffer_completion_ignore_case): New var.
+       (Fread_buffer): Use it.
+
+2008-07-30  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * systty.h (sensemode): Remove empty #if.  Remove reference to
+       BSD_TERMIOS, unused.
+
+       * sysdep.c: Remove reference to DGUX.
+       (closedir): Remove reference to BROKEN_CLOSEDIR, unused.
+
+       * config.in: Regenerate.
+
+2008-07-30  Jason Rumney  <jasonr@gnu.org>
+
+        * w32uniscribe.c (uniscribe_encode_char): Fix glyph buffer size.
+
+2008-07-29  Jason Rumney  <jasonr@gnu.org>
+
+        * w32uniscribe.c (uniscribe_shape): Avoid using context if cache
+        is populated.
+        (uniscribe_encode_char): Always use uniscribe.
+        Avoid using context if cache is populated.
+
+2008-07-29  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xmenu.c (Fx_menu_bar_open_internal): Use activate_item signal to
+       open menu.
+
+       * gtkutil.c (menu_nav_ended): Remove.
+       (create_menus): Remove signal connect for menu_nav_ended.
+
+2008-07-28  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (redisplay_window): Check return value of
+       compute_window_start_on_continuation_line before forcing a window
+       start.
+
+2008-07-28  Jason Rumney  <jasonr@gnu.org>
+
+       * w32font.c (w32font_text_extents): Use w32_metric_cache consistently.
+
+       * w32term.c (w32_enable_unicode_output, cleartype_active):
+       Remove obsolete display options.
+       (x_draw_glyph_string_background): Don't use old cleartype_active
+       workaround.
+       (w32_initialize): Remove cleartype_active initialization.
+       (syms_of_w32term): Remove w32_enable_unicode_output initialization.
+
+2008-07-28  Andreas Schwab  <schwab@suse.de>
+
+       * lisp.h (init_weak_hash_tables, syms_of_font)
+       (xd_read_queued_messages, syms_of_dbusbind): Declare.
+       (remove_hash_entry): Don't declare.
+       * eval.c (maybe_call_debugger): Make static and move before use.
+       * gtkutil.c: Include <X11/Xft/Xft.h> if HAVE_XFT.
+       * xdisp.c: Include "gtkutil.h" if USE_GTK.
+       * xterm.h (x_set_frame_alpha): Declare.
+
+2008-07-28  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (menu_nav_ended): Revert change from 2008-07-24.
+       (create_menus): Connect selection-done to menu_nav_ended.
+
+2008-07-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsfns.m (x-create-frame): Add copy of parms argument to beginning.
+       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)
+       (next-selection-coding-system, Vselection_coding_system)
+       (Vnext_selection_coding_system): Drop.
+
+2008-07-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsfns.m (do-applescript, do_applescript): Rename to
+       ns-do-applescript, ns_do_applescript, and move within file.
+
+2008-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       Remove support for Mac Carbon.
+       * mactoolbox.c:
+       * macterm.h:
+       * macterm.c:
+       * macselect.c:
+       * macmenu.c:
+       * macgui.h:
+       * macfns.c:
+       * mac.c: Remove file.
+       * s/darwin.h:
+       * m/intel386.h:
+       * xfaces.c:
+       * xdisp.c:
+       * window.c:
+       * tparam.c:
+       * termhooks.h:
+       * termcap.c:
+       * term.c:
+       * syssignal.h:
+       * sysselect.h:
+       * sysdep.c:
+       * process.c:
+       * lread.c:
+       * lisp.h:
+       * keyboard.c:
+       * image.c:
+       * fringe.c:
+       * frame.h:
+       * frame.c:
+       * fontset.c:
+       * font.h:
+       * font.c:
+       * fns.c:
+       * fileio.c:
+       * emacs.c:
+       * dispnew.c:
+       * dispextern.h:
+       * config.in:
+       * atimer.c:
+       * Makefile.in: Remove code for Carbon
+
+2008-07-26 YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (XDrawLine) [USE_MAC_IMAGE_IO]: Remove spurious return.
+
+2008-07-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.h (kCGBitmapByteOrder32Host): New define for
+       non-universal SDKs.
+
+       * image.c (mac_create_cg_image_from_image, image_load_image_io)
+       [USE_MAC_IMAGE_IO]: Remove conditionals for kCGBitmapByteOrder32Host.
+
+       * macterm.c (XDrawLine, XCreatePixmapFromBitmapData)
+       [USE_MAC_IMAGE_IO]: Remove conditionals for kCGBitmapByteOrder32Host.
+
+2008-07-26  David Robinow  <drobinow@gmail.com>  (tiny change)
+
+       * w32inevt.c: Include dispextern.h.
+
+2008-07-26  Andreas Schwab  <schwab@suse.de>
+
+       * print.c (print_object): Fix off-by-one in last change.
+
+2008-07-25  Juanma Barranquero  <lekktu@gmail.com>
+
+       * term.c (syms_of_term): Don't initialize default_orig_pair,
+       default_set_foreground and default_set_background on Windows.
+
+2008-07-25  Jason Rumney  <jasonr@gnu.org>
+
+       * w32uniscribe.c (uniscribe_shape): Pass NULL for control arg to
+       ScriptItemize.  Clean up return value checking.  Remove unused
+       variables.
+       (uniscribe_encode_char): Encode non-BMP characters with uniscribe
+       shaping engine.
+
+       * w32font.c (w32font_has_char): Handle the case where we can't
+       determine the script for a character.
+
+2008-07-25  Chong Yidong  <cyd@stupidchicken.com>
+
+       * term.c (syms_of_term): Initialize default_orig_pair,
+       default_set_foreground, and default_set_background.
+
+       * getloadavg.c (nl): Rename to name_list to avoid ncurses.h
+       clash (bug#86).
+       (getloadavg): Callers changed.
+
+       * image.c (svg_load_image): Fix last change.
+       (svg_load_image): Use rsvg_handle_get_dimensions to check that
+       image size is valid.  Use g_object_unref instead of deprecated
+       rsvg_handle_free to free rsvg handle.
+       (x_from_xcolors): Don't initialize pixmap (silence compiler).
+
+2008-07-25  Jason Rumney  <jasonr@gnu.org>
+
+       * w32font.c (w32font_encode_char): Encode characters outside BMP as
+       surrogates before looking up glyph index.
+       (w32font_text_extents): Encode as surrogates if falling back to
+       functions that need UTF-16 wide chars.
+
+       * w32uniscribe.c (uniscribe_encode_char): Encode characters outside
+       BMP as surrogates before looking up glyph index.
+
+2008-07-25  Chong Yidong  <cyd@stupidchicken.com>
+
+       * image.c (svg_load_image): Check for failure in return value of
+       rsvg_handle_get_pixbuf.  Free rsvg handle when done.
+
+2008-07-25  Jason Rumney  <jasonr@gnu.org>
+
+       * w32font.c (Fx_select_font): Reverse sense of second arg.
+
+2008-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * syntax.c (struct lisp_parse_state, char_quoted, inc_bytepos)
+       (dec_bytepos, find_defun_start): Use EMACS_INT for buffer positions.
+
+       * puresize.h (PURESIZE_CHECKING_RATIO): New macro.
+       (PURESIZE): Use it.
+
+2008-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * m/amdx86-64.h (HAVE_LIB64_DIR): Consolidate ifdefs.
+       * m/alpha.h (TEXT_END):
+       * m/ibmrs6000.h (TEXT_END):
+       * m/macppc.h (TEXT_END):
+       * s/darwin.h (TEXT_END):
+       * s/msdos.h (TEXT_END): Remove, unused.
+       * s/gnu-linux.h (BSD_PGRPS): Add a comment.
+       * s/cygwin.h: Remove comment.
+
+       * ecrt0.c (NODOT_GLOBAL_START): Remove code, unused.
+       (DOT_GLOBAL_START): Remove conditional, redundant for CRT0_DUMMIES.
+       * m/intel386.h (DOT_GLOBAL_START):
+       * m/vax.h (DOT_GLOBAL_START): Remove, redundant with CRT0_DUMMIES.
+       (USG): Remove, file not used on USG platforms.
+
+       * Makefile.in (HAVE_X11): Remove empty #else.
+
+2008-07-24  Andreas Schwab  <schwab@suse.de>
+
+       * fileio.c (Finsert_file_contents): Properly adjust undo list
+       after format conversion.
+
+2008-07-24  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_get_font_name): Cast w to GTK_FONT_SELECTION_DIALOG.
+       (menu_nav_ended): Remove.
+       (create_menus): Remove signal connect for menu_nav_ended.
+       (xg_update_menubar): Also take deactivate_cb as parameter, pass it to
+       create_menus.
+       (xg_modify_menubar_widgets): Pass deactivate_cb to xg_update_menubar.
+
+2008-07-23  Jason Rumney  <jasonr@gnu.org>
+
+       * w32font.c (w32_enumfont_pattern_entity): Return height consistent
+       with opened font.
+       (w32font_open): Set font type to gdi.
+
+       * w32uniscribe.c (uniscribe_open): Set font type to uniscribe.
+
+2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * s/usg5-4.h (ADDR_CORRECT): Remove, unused.
+       * unexaix.c (ADDR_CORRECT): Remove conditional, the only user
+       defines it.
+       * unexec.c (ADDR_CORRECT): Define unconditionally.
+
+       * m/ibmrs6000.h (C_SWITCH_MACHINE): Remove.
+
+       * unexec.c: Remove code depending on !COFF and USG, the file is
+       not used for such systems.
+
+       * s/netbsd.h (A_TEXT_OFFSET, A_TEXT_SEEK):
+       * s/freebsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, unused.
+       (LD_SWITCH_SYSTEM_1): Remove, update users.
+
+       * s/darwin.h (DATA_END):
+       * m/intel386.h (DATA_END):
+       * m/ibmrs6000.h (DATA_END):
+       * m/alpha.h (DATA_END): Remove, unused.
+
+       * config.in: Regenerate.
+       * s/ms-w32.h (subprocesses): Define unconditionally.
+       * s/template.h (subprocesses): Update comment.
+       * s/vms.h (subprocesses):
+       * s/usg5-4.h (subprocesses):
+       * s/hpux10-20.h (subprocesses):
+       * s/gnu-linux.h (subprocesses):
+       * s/cygwin.h (subprocesses):
+       * s/bsd-common.h (subprocesses):
+       * s/aix4-2.h (subprocesses):
+       * s/darwin.h (subprocesses): Do not define, defined by default now.
+
+       * Makefile.in (C_SWITCH_SITE, LD_SWITCH_SITE): Remove, unused.
+       Remove all references.
+       (temacs): Add GNUStep specific ld flags.
+
+       * nsterm.m (syms_of_nsterm): Provide ns, not ns-windowing,
+       similarly to what X does.
+
+2008-07-22  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsfns.m (x-list-fonts): Remove.
+       (syms_of_nsfns): Drop the x-list-fonts declaration.
+       * nsterm.m: Get rid of remaining "//" comments.
+
+2008-07-22  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xselect.c (Fx_rotate_cut_buffers_internal): Doc fix.
+
+       * nsselect.m (Fns_selection_exists_p, Fns_selection_owner_p)
+       (Fx_get_selection_internal, Fns_rotate_cut_buffers_internal)
+       (Fns_own_selection_internal, Fx_disown_selection_internal)
+       (Fns_get_cut_buffer_internal, Fns_store_cut_buffer_internal):
+
+       * nsmenu.m (Fns_reset_menu, Fx_popup_menu): Change to use 'doc: /*
+       ... */' style of docstrings.  Doc fixes.
+
+2008-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * terminfo.c (UP, BC, PC): Undo previous change.
+
+       * nsfns.m: Rename ns prefixed functions/variables to the
+       corresponding x versions.  Update references.
+
+2008-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * syntax.c (char_quoted): Check "charpos > beg" before decrementing.
+
+2008-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * nsfns.m (x_set_menu_bar_lines, x_set_tool_bar_lines):
+       Remove forwarding functions.
+       (ns_set_menu_bar_lines): Rename to x_set_menu_bar_lines, make
+       non-static.
+       (ns_set_tool_bar_lines): Rename to x_set_tool_bar_lines, make
+       non-static.
+       (ns_frame_parm_handlers): Use the new names.
+       (syms_of_nsfns): Move to the end of file.
+
+       * nsterm.m (syms_of_nsterm): Move to the end of file.
+
+       * dispnew.c (init_display): Remove code for X10.
+
+2008-07-22  Jason Rumney  <jasonr@gnu.org>
+
+       * w32proc.c (Fw32_long_file_name): Don't append dir separator to
+       bare drive.
+
+2008-07-22  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsgui.h:
+       * nsfont.m:
+       * nsmenu.m:
+       * nsterm.m: Change PENDINGS to FIXME / TODO / XXX.
+
+2008-07-22  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsterm.m (syms_of_nsterm): Remove debugging println.
+
+2008-07-22  David Reitter  <david.reitter@gmail.com>
+
+       * nsfns.m (do_applescript, F_do_applescript): NS version of the
+       Carbon implementation of the same functionality: execute arbitrary
+       AppleScript code.
+
+2008-07-21  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsfns.m (Fx_create_frame, Fx_read_file_name, Fx_get_resource)
+       (Fx_set_resource, Fx_set_alpha, Fx_server_max_request_size)
+       (Fx_server_vendor, Fx_server_version, Fx_display_screens)
+       (Fx_display_mm_height, Fx_display_mm_width)
+       (Fx_display_backing_store, Fx_display_visual_class)
+       (Fx_display_save_under, Fx_open_connection)
+       (Fx_close_connection, Fx_hide_emacs, Fx_font_name)
+       (Fx_list_colors, Fx_perform_service, Fx_color_defined_p)
+       (Fx_color_values, Fxw_display_color_p, Fx_display_grayscale_p)
+       (Fx_display_pixel_width, Fx_display_pixel_height)
+       (Fx_display_usable_bounds, Fx_display_planes)
+       (Fx_display_color_cells, Vns_icon_type_alist): Change to use 'doc: /*
+       ... */' style of docstrings.
+
+2008-07-21  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * m/mips.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Do not define, not used
+       on this platform.
+       (mips):
+       * m/iris4d.h (mips): Do not define.
+       * sysdep.c (init_sys_modes): Use __mips__ instead of mips.
+
+       * m/ibmrs6000.h (LD_SWITCH_SITE): Remove.
+
+       * image.c:
+       * nsfns.m:
+       * nsselect.m:
+       * nsterm.h:
+       * nsterm.m: Rename ns prefixed functions/variables to the
+       corresponding x versions.  Update references.
+
+       * m/ibms390x.h (NO_REMAP): Do not undefine.
+
+       * m/amdx86-64.h: Use SOLARIS2 instead of sun.
+
+2008-07-21  Chong Yidong  <cyd@stupidchicken.com>
+
+       * nsfns.m: Change NS to Nextstep in docstrings and error messages.
+       (Fns_create_frame, Fns_read_file_name, Fns_get_resource)
+       (Fns_set_resource, Fns_set_alpha, Fns_server_max_request_size)
+       (Fns_server_vendor, Fns_server_version, Fns_display_screens)
+       (Fns_display_mm_height, Fns_display_mm_width)
+       (Fns_display_backing_store, Fns_display_visual_class)
+       (Fns_display_save_under, Fns_open_connection)
+       (Fns_close_connection, Fns_hide_emacs, Fns_font_name)
+       (Fns_list_colors, Fns_perform_service, Fns_color_defined_p)
+       (Fns_color_values, Fxw_display_color_p, Fx_display_grayscale_p)
+       (Fns_display_pixel_width, Fns_display_pixel_height)
+       (Fns_display_usable_bounds, Fx_display_planes)
+       (Fns_display_color_cells, Vns_icon_type_alist): Doc fixes.
+
+2008-07-21  Ami Fischman  <ami@fischman.org>  (tiny change)
+
+       * print.c (print_object): Check print_depth before searching for
+       circularities.
+
+2008-07-21  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (Fdbus_register_signal): Use sprintf + strcat instead
+       only sprintf.
+
+2008-07-21  Kenichi Handa  <handa@m17n.org>
+
+       * ftfont.c (adjust_anchor): Check if DetalValue is not NULL.
+
+2008-07-20  Andreas Schwab  <schwab@suse.de>
+
+       * syntax.c (find_start_pos, find_start_value)
+       (find_start_value_byte, find_start_begv, find_defun_start)
+       (back_comment, scan_sexps_forward): Use EMACS_INT for buffer positions.
+
 2008-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * s/sol2-3.h: Insert contents of s/sol2.h.
@@ -6,8 +467,7 @@
 
 2008-07-20  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
-       * nsterm.m (ns_get_color): Recognize HSB,AHSB be synonyms for
-       HSV,AHSV.
+       * nsterm.m (ns_get_color): Recognize HSB,AHSB be synonyms for HSV,AHSV.
 
 2008-07-20  Adrian Robert  <Adrian.B.Robert@gmail.com>