]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Minor fixes for MinGW64 build.
[gnu-emacs] / src / ChangeLog
index 7f69572dc01e436447f3cc0a33b9d10610a1d7f9..d17191df9d0125ab15e3b7f21fdea252295ca7e0 100644 (file)
@@ -1,3 +1,93 @@
+2013-12-31  Fabrice Popineau  <fabrice.popineau@supelec.fr>
+
+       * w32term.c (w32_initialize): Use LCID and LOWORD.
+
+       * w32proc.c (create_child): Use pid_t for 5th argument.
+       (IsValidLocale): Don't provide prototype for MinGW64.
+       (Fw32_get_valid_keyboard_layouts, Fw32_get_keyboard_layout)
+       (Fw32_set_keyboard_layout): Use HKL and HIWORD/LOWORD.
+
+       * w32heap.c (allocate_heap) [_WIN64]: Use "ull", not "i64", which
+       MinGW64 doesn't support.
+
+       * lisp.h (EMACS_INT) [_WIN64]: Define for the MinGW64 build.
+
+       * w32.c (set_named_security_info): New function.
+       (acl_set_file): Fall back on set_named_security_info if
+       set_file_security fails.
+       (g_b_init_set_named_security_info_w)
+       (g_b_init_set_named_security_info_a): New static variables.
+       (globals_of_w32): Initialize them to zero.
+       (set_named_security_info): Set them to non-zero if the
+       corresponding API is available.
+       (SetNamedSecurityInfoW_Proc, SetNamedSecurityInfoA_Proc): New
+       function typedefs.
+
+2013-12-31  Martin Rudalics  <rudalics@gmx.at>
+
+       Some more fixes following pixelwise resize changes including one
+       for Bug#16306.
+       * gtkutil.c (x_wm_set_size_hint): Have size hints respect value
+       of frame_resize_pixelwise.
+       * widget.c (pixel_to_text_size): New function.
+       (update_wm_hints): Have size hints respect value of
+       frame_resize_pixelwise.
+       (EmacsFrameResize): Alway process resize requests pixelwise.
+       * window.c (grow_mini_window): Make sure mini window is at least
+       one line tall.
+       * xdisp.c (display_menu_bar): Make sure menubar extends till
+       right end of frame.
+       * xfns.c (x_set_menu_bar_lines): Resize frame windows pixelwise.
+       (x_set_tool_bar_lines): Calculate pixelwise.
+       * xterm.c (x_wm_set_size_hint): Have size hints respect value of
+       frame_resize_pixelwise.
+
+2013-12-30  Juanma Barranquero  <lekktu@gmail.com>
+
+       * fileio.c (Fcopy_file) [!WINDOWSNT]: Don't declare on Windows
+       variables not used there.
+
+2013-12-30  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32.c (sys_umask): New function.  (Bug#16299)
+
+2013-12-30  Martin Rudalics  <rudalics@gmx.at>
+
+       * dispnew.c (change_frame_size_1): Take old width of root window
+       from that window's pixel width.  (Bug#16284)
+
+2013-12-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Plain copy-file no longer chmods an existing destination (Bug#16133).
+       * fileio.c (realmask): Now a static var, not a local.
+       (barf_or_query_if_file_exists): New arg KNOWN_TO_EXIST.
+       Remove arg STATPTR.  All uses changed.
+       (Fcopy_file): Do not alter permissions of existing destinations,
+       unless PRESERVE-PERMISSIONS (renamed from
+       PRESERVE-EXTENDED-ATTRIBUTES) is non-nil.
+       Avoid race when testing for existing destinations and for
+       when input and output files are the same.
+       If changing the group fails, adjust both default and
+       preserved permissions so that access is not granted to the
+       wrong group.
+       (Fset_default_file_modes, init_fileio): Update realmask.
+       (Fdefault_file_modes): Use realmask instead of calling umask.
+
+2013-12-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix pipe bug with OS X emacs --daemon (Bug#16262).
+       * emacs.c (main) [DAEMON_MUST_EXEC]: Clear the close-on-exec
+       flags on the daemon pipe ends before execing.
+
+2013-12-28  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32fns.c (Fx_create_frame): Error out if called from a TTY
+       session.  (Bug#14739)
+
+2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
+
+       * callproc.c (Vexec_path): Document that exec-directory is in it.
+
 2013-12-27  Steve Purcell  <steve@sanityinc.com>  (tiny change)
 
        * nsterm.m (syms_of_nsterm): Enable ns-use-srgb-colorspace by
        Remove font and color handling.
        (syms_of_nsterm): Defsym Qfile and Qurl.
 
-2013-12-19  Anders Lindgren <andlind@gmail.com>
+2013-12-19  Anders Lindgren  <andlind@gmail.com>
 
        * nsterm.m (NSTRACE_SIZE, NSTRACE_RECT): New macros.
        (ns_constrain_all_frames, x_set_offset): Remove assignment to
 
        * nsterm.h (ns_output): Remove dont_constrain.
 
-2013-12-19  Anders Lindgren <andlind@gmail.com>
+2013-12-19  Anders Lindgren  <andlind@gmail.com>
 
        * nsterm.m (mouseDown:): Generate HORIZ_WHEEL_EVENT.
 
 
        Avoid undefined behavior with huge regexp interval counts.
        * regex.c (GET_INTERVAL_COUNT): Rename from 'GET_UNSIGNED_NUMBER',
-       since it's now specialized to interval counts.  All uses changed.
+       since it's now specialized to interval counts.  All uses changed.
        Do not assume wrapraound on signed integer overflow.
        (regex_compile): Simplify based on the above changes.
 
        use MAX_UTF8_PATH for size of file-name strings.
        (emacs_readlinkat): Build an explicitly unibyte string for file
        names.
-       (syms_of_fileio) <file-name-coding-system>
-       default-file-name-coding-system>: Mention MS-Windows peculiarities.
+       (syms_of_fileio) <file-name-coding-system>:
+       <default-file-name-coding-system>: Mention MS-Windows peculiarities.
 
        * emacs.c (init_cmdargs) [WINDOWSNT]: Convert argv[0] to UTF-8.
        (main) [WINDOWSNT]: Convert the argv[] elements that are files or
        change_frame_size should already have done it.
        (x_new_font): Assign new tool- and menu-bar heights.
        (x_set_window_size_1): Account for tool- and menu-bar heights
-       (Bug#16013). Don't set pixel sizes since change_frame_size
+       (Bug#16013).  Don't set pixel sizes since change_frame_size
        should already have done it.
 
 2013-12-11  Paul Eggert  <eggert@cs.ucla.edu>
 
 2013-11-20  Jan Djärv  <jan.h.d@swipnet.se>
 
-       * nsterm.m (init, run, stop:): Enable again. stop calls super stop
+       * nsterm.m (init, run, stop:): Enable again.  stop calls super stop
        to handle dialogs.
 
        * nsterm.m (init, run, stop:): Comment out for now, does not work
 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
 
        Don't run timers in input-pending-p.  Its new check-timers param
-       provides the prior behavior. (Bug#15045).
+       provides the prior behavior.  (Bug#15045).
        * src/keyboard.c (Finput_pending_p): Accept optional check-timers
        param.
 
        (nsfont_open): Set font driver type.
        Set font->ascent and font->descent.  Figure out font instead of
        ns_tmp_font, and flags instead of ns_tmp_flags.
-       Fix indentation. Remove call to ns_draw_text_decoration,
+       Fix indentation.  Remove call to ns_draw_text_decoration,
        moved to nsterm.
 
        * nsfns.m: Include macfont.h.
        * nsterm.m (last_window): New variable.
        (EV_TRAILER2): New macro.
        (EV_TRAILER): Call EV_TRAILER2.
-       (mouseMoved:):  Add support for mouse-autoselect-window
+       (mouseMoved:): Add support for mouse-autoselect-window
        on nextstep (Bug#6888).
 
 2013-08-28  Andreas Schwab  <schwab@suse.de>
        (handle_one_xevent, syms_of_xterm): Adjust users.
        (x_flush): Call XFlush once per each X display, not frame.
        This is better because this code always unconditionally skips
-       non-X frames in Vframe_list and issues the only XFlush if we
+       non-X frames in Vframe_list and issues the only XFlush if we
        have more than one X frame on the same X display.
        (any_help_event_p, x_draw_glyph_string_background, x_display_ok):
        Use bool for booleans.
 
 2013-04-14  Eli Zaretskii  <eliz@gnu.org>
 
-       * buffer.c (syms_of_buffer) <left-margin-width, right-margin-width>
+       * buffer.c (syms_of_buffer) <left-margin-width, right-margin-width>:
        <left-fringe-width, right-fringe-width, fringes-outside-margins>:
        Mention in the doc string that setting these variables takes
        effect only after a call to set-window-buffer.  (Bug#14200)