]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Ensure NS frames remain hidden when invisible
[gnu-emacs] / src / ChangeLog
index ccd678ff8bf3254795d3a201b21ff82b2aad74f3..3a44cebd1ab280270ae32ce2f792eb7fdb2c5257 100644 (file)
@@ -1,3 +1,242 @@
+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]: