]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Ensure NS frames remain hidden when invisible
[gnu-emacs] / src / ChangeLog
index 378bce3a07b030ceb48c0403c0eb02ed5241751a..3a44cebd1ab280270ae32ce2f792eb7fdb2c5257 100644 (file)
@@ -1,5 +1,284 @@
+2009-05-25  David Reitter  <david.reitter@gmail.com>
+
+       * nsterm.m (ns_raise_frame): only raise frame if visible.
+       (x_make_frame_visible): move frame to front rather than calling
+       ns_raise_frame().
+       (keyDown:) do not swallow events that aren't re-sent if frame
+       isn't key window.
+       (drawRect:) do not set visibility/iconified flags because
+       drawRect may be called by NSView even if the frame is hidden.
+
+       * nsfns.m (Fx_create_frame): follow other ports in
+       determining visibility; default to t. Ensure async_visible is set.
+
+2009-05-23  Eli Zaretskii  <eliz@gnu.org>
+
+       * dired.c (Ffile_attributes): Doc fix.
+
+2009-05-22  Chong Yidong  <cyd@stupidchicken.com>
+
+       * m/mips.h [GNU_LINUX]: Don't define DATA_START (Bug#2685).
+
+2009-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xfont.c (xfont_list_pattern): Don't initialize xfont_scripts_cache
+       and xfont_scratch_props.
+       (syms_of_xfont): Do it here instead.
+       (xfont_find_ccl_program): Delete, unused.
+       (xfont_open): Delete unused var `i'.
+
+2009-05-21  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (Qlatin): Don't make it static.
+
+       * xfont.c (xfont_chars_supported, xfont_supported_scripts):
+       New functions.
+       (xfont_scripts_cache, xfont_scratch_props): New variables.
+       (Qlatin, Vscalable_fonts_allowed): Extern it.
+       (xfont_list_pattern): Argument changed.  Callers changed.
+       Check Vscalable_fonts_allowed.  Check the support of a script.
+       (xfont_list): Don't reject a font spec with :script property.
+       (xfont_has_char): Fix setting of encoding.
+       (syms_of_xfont): Staticpro and initialize xfont_scripts_cache and
+       xfont_scratch_props.
+
+2009-05-19  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_sort_entities): Rename from font_sort_entites.
+       Callers changed.
+
+2009-05-18  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_find_for_lface): Copy SPEC's FONT_TYPE too.
+
+2009-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * frame.c (do_switch_frame) [NS_IMPL_COCOA]: Don't raise any window.
+       (delete_frame) [NS_IMPL_COCOA]: Instead, do it here.
+
+2009-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xterm.c (x_delete_display): Don't call XrmDestroyDatabase here.
+       (x_delete_terminal): Dissociate resource database from display and
+       then call XrmDestroyDatabase before closing display.
+
+2009-05-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsterm.m (ns_read_socket): Remove unused variable.
+       * frame.c (do_switch_frame): Under NS_IMPL_COCOA section, check
+       whether selected frame is viable before raising it (based on patch
+       by David Reitter), and improve commentary.
+       * nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning.
+
+2009-05-15  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (Ffont_spec): Check arguments.
+
+2009-05-14  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfaces.c (tty_supports_face_attributes_p): Recognize unspecified
+       weight when testing attributes (Bug#3282).
+
+2009-05-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * gtkutil.c (xg_frame_set_char_size): Set frame pixel width/height to
+       what we expect to get in the next ConfigureNotify event.
+
+       * xftfont.c (xftfont_open): Make sure that Xrender extension is added
+       before Xft one (Bug#1696).
+
+2009-05-07  David Reitter  <david.reitter@gmail.com>
+
+       * nsfns.m (Fx_display_planes): Compute bitplanes using
+       NSBitsPerPixelFromDepth (Bug#3207).
+
+2009-05-10  Chong Yidong  <cyd@stupidchicken.com>
+
+       * editfns.c (Ftranspose_regions): Doc fix (Bug#3248).
+
+2009-05-10  Ulrich Mueller  <ulm@gentoo.org>
+
+       * s/gnu-linux.h: Make GCPROs and UNGCPRO no-ops also on SuperH.
+
+2009-05-07  David Reitter  <david.reitter@gmail.com>
+
+       * nsterm.m (ns_dumpglyphs_stretch,ns_dumpglyphs_image):
+       respect mouse face background.
+
+2009-05-07  David Reitter  <david.reitter@gmail.com>
+
+       * nsterm.m (note_mouse_movement,ns_frame_up_to_date):
+       mouse movement/highlight: bracket drawing operations
+       in ns_update_begin and ns_update_end.
+
+2009-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * nsfns.m (ns_get_screen): Rewrite.
+       Don't presume selected-frame is of type `ns'.
+
+       * font.c (font_update_drivers): Sanity fallback to avoid disabling
+       all drivers.
+
+       * nsterm.m (-windowDidResize:): Avoid inf-loop under GNUStep.
+
+2009-05-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * keyboard.h (add_user_signal): Fix typo in extern.
+
+       * lisp.h (add_user_signal): Remove extern.
+
+       * unexelf.c (unexec): Consider a section to precede the .bss section
+       if its addresses overlap that of .bss.
+       (unexec) [NS_IMPL_GNUSTEP]: Copy ObjC-related data from old file
+       instead of dumping process.
+
+2009-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keyboard.c (syms_of_keyboard): Staticpro pending_funcalls.
+
+2009-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * Makefile.in (ctagsfiles1, ctagsfiles2): Include ObjC files in TAGS.
+
+2009-05-02  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * xterm.c (x_handle_net_wm_state): Move declaration of lval before
+       any statements.
+
+2009-05-02  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * process.c (read_process_output): Make sure the current buffer is
+       always restored.
+
+       * coding.c (record_conversion_result): Don't modify
+       Vlast_code_conversion_error for successful result.
+       (alloc_destination): Don't clobber conversion result.  (Bug#1650)
+
+2009-05-01  Emanuele Giaquinta  <emanuele.giaquinta@gmail.com>  (tiny change)
+
+       * charset.c (load_charset): Reformat X==Y==Z to (X==Y)==Z.
+       (load_charset_map): Remove unnecessary code.
+
+2009-04-30  David Reitter  <david.reitter@gmail.com>
+
+       * nsterm.m (convert_ns_to_X_keysym): Define function keys f16
+       through f24.
+
+2009-04-30  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfaces.c (face_at_buffer_position): New arg base_face_id.
+
+       * xdisp.c (handle_face_prop): Pass base_face_id of iterator to
+       face_at_buffer_position.
+       (face_before_or_after_it_pos, get_next_display_element)
+       (note_mouse_highlight): Update face_at_buffer_position call.
+
+       * term.c (term_mouse_highlight):
+       * msdos.c (IT_note_mouse_highlight):
+       * fontset.c (Finternal_char_font):
+       * font.c (font_at, font_range): Update face_at_buffer_position call.
+
+       * dispextern.h (face_at_buffer_position): Update prototype.
+
+2009-04-30  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (fontset_find_font): Check if rfont_def is Qnil or not.
+
+2009-04-29  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * callproc.c (Fcall_process): Fix GC protection.  Make sure
+       current buffer is always restored.
+
+2009-04-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * atimer.c (init_atimer): Also clear stopped_atimers.
+
+       * keyboard.c (init_keyboard) [POLL_FOR_INPUT]: Reset poll_timer.
+
+       * process.c (create_process): Clean up merger residues of
+       2008-07-17 change.
+
+2009-04-29  Ulrich Mueller  <ulm@gentoo.org>
+
+       * lread.c (Vread_circle): New variable.
+       (read1): Disable recursive read if Vread_circle is nil.
+
+2009-04-29  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.h (set_default_ascii_font): Delete extern.
+
+       * fontset.c (set_default_ascii_font): Delete this unused function.
+
+       * frame.c (x_set_font): When ARG is a font-object, check if the
+       font-object matches with the ASCII font-spec of the frame's
+       fontset.  If not, create a new fontset for the frame.  (Bug #3075)
+
+2009-04-28  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * fns.c (Flocale_info): Protect vector from GC during decoding.
+
+       * process.c (Fstart_process): Protect argv strings from GC during
+       encoding.
+
+2009-04-27  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * sysdep.c: Include <ctype.h>.
+
+2009-04-27  David Reitter  <david.reitter@gmail.com>
+
+       * nsfont.m (nsfont_open): Remove unused variable shrink.
+       Remove commented-out code.
+
+2009-04-26  Johan Bockgård  <bojohan@gnu.org>
+
+       * keyboard.c (syms_of_keyboard) <input-decode-map>: Doc fix.
+
+2009-04-25  Jason Rumney  <jasonr@gnu.org>
+
+       * w32font.c (clear_cached_metrics): Remove, unused since 2008-08-02.
+
+2009-04-25  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * fringe.c (init_fringe_bitmap) [HAVE_X_WINDOWS && WORDS_BIG_ENDIAN]:
+       Swap bytes in short integer if fringe bitmap width > 8.
+
+2009-04-23  Kenichi Handa  <handa@m17n.org>
+
+       * xfaces.c (Fx_list_fonts): If a font size is specified in
+       PATTERN, set it in returned scalable fonts.
+
+2009-04-22  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keyboard.c (Fset_input_meta_mode): Doc fix.
+
+       * dispnew.c (Fsend_string_to_terminal): Doc fix.
+
+       * data.c (Fterminal_local_value, Fset_terminal_local_value): Doc
+       fixes.
+
+       * coding.c (Fterminal_coding_system): Doc fix.
+
+       * xfns.c (Fx_display_grayscale_p, Fx_display_pixel_width)
+       (Fx_display_pixel_height, Fx_display_planes)
+       (Fx_display_color_cells, 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_close_connection, Fx_synchronize): Doc
+       fixes, replacing "terminal id" with "terminal object".
+       (check_x_display_info): Handle terminal objects instead of
+       terminal ids.
+
+       * term.c (Ftty_display_color_p, Ftty_display_color_cells)
+       (Ftty_type, Fcontrolling_tty_p, Ftty_no_underline, Fsuspend_tty)
+       (Fresume_tty, Vsuspend_tty_functions, Vresume_tty_functions): Doc
+       fixes, replacing "terminal id" with "terminal object".
+
 2009-04-21  Kenichi Handa  <handa@m17n.org>
 
+       * font.c (font_load_for_lface): Cancel previous change (bug#2994).
+       (font_score): Check AVGWIDTH too.
+
        * coding.c (decode_coding_utf_16): Reduce charbuf_end for the
        worst case.
        (decode_coding_emacs_mule, decode_coding_iso_2022)
 2009-04-19  Jason Rumney  <jasonr@gnu.org>
 
        The following changes fix Bug#3005 for wide glyphs on each platform,
-       without reintroducing Bug#1258 for stretch glyphs.
+       without reintroducing Bug#1258 for stretch glyphs.
 
        * xterm.c (x_draw_bar_cursor): Limit cursor width differently for
        BAR_CURSOR and HBAR_CURSOR.  Calculate width of HBAR_CURSOR using
        get_phys_cursor_geometry.
 
-       * w32term.c (x_draw_bar_cursor):  Limit cursor width differently
+       * w32term.c (x_draw_bar_cursor): Limit cursor width differently
        for BAR_CURSOR and HBAR_CURSOR.  Calculate width of HBAR_CURSOR
        using get_phys_cursor_geometry.
 
        (ns_get_color): Use unsigned long long for scanned hex string value.
        (ns_term_shutdown): Abort on non SIGTERM signals.
        (EmacsPrefsController-setDefaultFont:,-setColors:): Raise the frame.
-       (EmacsPrefsController-setPanelFromDefaultValues) New function.
+       (EmacsPrefsController-setPanelFromDefaultValues): New function.
        (EmacsPrefsController-resetToDefaults:): Use it.  (Bug#1801)
        (ns_font_to_xlfd, ns_fontname_to_xlfd): Remove, unused.
        (ns_defined_color): Fix settings of the XColor variable fields:
 
        * image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with
        correct arguments.
-       * menu.c (find_and_return_menu_selection) Add cast.
+       * menu.c (find_and_return_menu_selection): Add cast.
 
 2008-10-03  Glenn Morris  <rgm@gnu.org>
 
        New functions.
        * w32.c (_sys_read_ahead, sys_read, sys_write): Modify to handle
        serial ports.
-       (serial_open, serial_configure) New functions.
+       (serial_open, serial_configure): New functions.
        * w32.h: Add FILE_SERIAL.
        (struct _child_process): Add ovl_read, ovl_write.