(syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix.
[bpt/emacs.git] / src / ChangeLog
index 1a5f100..a8c2686 100644 (file)
@@ -1,3 +1,145 @@
+2008-05-10  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32proc.c (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix.
+
+2008-05-09  Glenn Morris  <rgm@gnu.org>
+
+       * fileio.c (Fread_file_name): Remove reference to insdef, deleted
+       2008-04-23.
+
+2008-05-09  Eli Zaretskii  <eliz@gnu.org>
+
+       Support for reporting owner and group of each file on MS-Windows:
+       * dired.c (stat_uname, stat_gname): New functions, with special
+       implementation for w32.
+       (Ffile_attributes): Use them instead of getpwuid and getgrgid.
+
+       * w32.c: Rename the_passwd_* to dflt_passwd_*.
+       (dflt_group_name): New static variable.
+       (dflt_group): Renamed from the_group.
+       (init_user_info): Init dflt_group fields.  Get user's group name
+       from LookupAccountSid.
+       (g_b_init_get_file_security, g_b_init_get_security_descriptor_owner)
+       (g_b_init_get_security_descriptor_group, g_b_init_is_valid_sid):
+       New initialization states.
+       (globals_of_w32): Initialize them to zero.  Initialize the default
+       group name to "None".
+       (GetFileSecurity_Name): New global var, the name of the function
+       to call for GetFileSecurity.
+       (GetFileSecurity_Proc, GetSecurityDescriptorOwner_Proc)
+       (GetSecurityDescriptorGroup_Proc, IsValidSid_Proc): New typedefs.
+       (get_file_security, get_security_descriptor_owner)
+       (get_security_descriptor_group, is_valid_sid)
+       (get_file_security_desc, get_rid, get_name_and_id)
+       (get_file_owner_and_group): New functions.
+       (stat): Use get_file_security_desc and get_file_owner_and_group to
+       report the owner and primary group of each file.  Don't ignore the
+       high 32 bits of file's size, now that st_size is 64-bit wide.  Fix
+       test when to get true file attributes.
+       (init_user_info): Use get_rid instead of equivalent inline code.
+       (fstat): Don't ignore the high 32 bits of file's size.
+
+2008-05-09  Chong Yidong  <cyd@stupidchicken.com>
+
+       * image.c (png_load): Use correct bit-depth for setting background
+       color.
+
+2008-05-08  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (lisp, shortlisp): Rename epa-file-hook.elc to
+       epa-hook.elc.
+
+2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * font.c (Ffont_match_p): Don't use `iff' in docstring.
+
+2008-05-07  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * macfns.c (Fx_create_frame): Make a copy of frame parameters
+       because the original parameters are in pure storage now.
+       (mac_window): Remove unused params.  Update callers.
+
+2008-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * lread.c (substitute_object_recurse): Use lower-level primitives.
+       Don't signal errors when traversing sub-char-tables.
+       Don't loop over all the possible characters when traversing char-tables.
+
+       * print.c (print_preprocess): Add sub-char-tables to the print-table,
+       just like we do in print.c.
+
+2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuf.c (Ftry_completion): Remove code left over from when we used
+       scmp instead of Fcompare_strings.
+
+2008-05-04  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32fns.c (Fw32_battery_status): Fix computation of %t (h:min) format.
+
+2008-05-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * image.c [USE_MAC_IMAGE_IO] (image_load_image_io):
+       Create bitmap context in native byte order.
+
+       * macterm.c (XDrawLine)
+       (XCreatePixmapFromBitmapData) [USE_MAC_IMAGE_IO]: Create bitmap
+       context in native byte order.
+
+2008-05-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * config.in: Regenerate.
+
+       * image.c (PIX_MASK_DRAW, PIX_MASK_RETAIN) [USE_MAC_IMAGE_IO]:
+       New definitions for Image I/O support.
+       (XGetImage, XPutPixel, XGetPixel, XDestroyImage)
+       (mac_create_cg_image_from_image, x_create_x_image_and_pixmap)
+       [USE_MAC_IMAGE_IO]: Add implementations for Image I/O support.
+       (mac_data_provider_release_data, image_load_image_io)
+       [USE_MAC_IMAGE_IO]: New functions.
+       (CGImageCreateWithPNGDataProviderProcType) [MAC_OSX]: Remove typedef.
+       (MyCGImageCreateWithPNGDataProvider) [MAC_OSX]: Remove variable.
+       (init_image_func_pointer) [MAC_OSX]: Remove function.
+       (image_load_quartz2d) [MAC_OSX]: Check availability of
+       CGImageCreateWithPNGDataProvider at compile time.
+       Use lowercase `false' for boolean constant.
+       (png_load, jpeg_load, tiff_load, gif_load) [USE_MAC_IMAGE_IO]:
+       Use image_load_image_io.
+       (png_load) [!USE_MAC_IMAGE_IO && MAC_OSX]:
+       Don't check MyCGImageCreateWithPNGDataProvider.
+       (init_image) [MAC_OSX && TARGET_API_MAC_CARBON]:
+       Don't call init_image_func_pointer.
+
+       * macgui.h (Pixmap) [USE_MAC_IMAGE_IO]: New definition for Image I/O.
+
+       * macterm.c (mac_cg_color_space_rgb) [USE_CG_DRAWING]:
+       Make variable non-static.
+       (XDrawLine, XCreatePixmap, XCreatePixmapFromBitmapData, XFreePixmap)
+       [USE_MAC_IMAGE_IO]: Add implementations for Image I/O support.
+
+       * macterm.h (ARGB_TO_ULONG, ALPHA_FROM_ULONG): New macros.
+       (RED_FROM_ULONG): Mask off higher bits.
+       (mac_cg_color_space_rgb) [USE_MAC_IMAGE_IO]: New extern.
+
+       * s/darwin.h [HAVE_CARBON && HAVE_AVAILABILITYMACROS_H]:
+       Include AvailabilityMacros.h.
+       (USE_MAC_IMAGE_IO, LIBS_IMAGE) [HAVE_CARBON]: New defines.
+       (LIBS_CARBON) [HAVE_CARBON]: Use LIBS_IMAGE.
+
+2008-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * chartab.c (Fset_char_table_range): If range is t, really set all
+       chars to that value.
+
+2008-05-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * dired.c (Ffile_attributes): Don't allow the device number become
+       negative.
+
+2008-05-02  Daiki Ueno  <ueno@unixuser.org>
+
+       * Makefile.in (lisp, shortlisp): Add epa-file-hook.elc.
+
 2008-05-02  Juri Linkov  <juri@jurta.org>
 
        * minibuf.c (Fread_from_minibuffer, Fread_string, Fread_command)
        (compare_window_configurations): Handle resize_proportionally.
        (WINDOW_TOTAL_SIZE): New macro.
        (window_min_size, shrink_windows, size_window): Use it.
-       (check_min_window_sizes): Removed.  Invalid values of
+       (check_min_window_sizes): Remove.  Invalid values of
        window-min-height|width are handled by window_min_size_2 now.
        (size_window, Fsplit_window, enlarge_window)
        (adjust_window_trailing_edge, grow_mini_window): Don't call
        check_min_window_sizes.
-       (window_min_size_2, window_min_size_1, window_min_size): New
-       argument safe_p for retrieving "safe" minimum sizes.
+       (window_min_size_2, window_min_size_1, window_min_size):
+       New argument safe_p for retrieving "safe" minimum sizes.
        (Fdisplay_buffer, Fsplit_window, enlarge_window):
-       (adjust_window_trailing_edge, grow_mini_window): Adjust
-       arguments of window_min_size... functions.
+       (adjust_window_trailing_edge, grow_mini_window):
+       Adjust arguments of window_min_size... functions.
        (shrink_windows): Argument min_size removed.  New argument
        safe_p allows shrinking windows to their safe minimum sizes.
        Calculate minimum size and decide whether a window shall be
        on nt/inc/sys/stat.h.  Undo changes from 2007-01-12 and 2007-01-13
        for the same reasons.
 
-2008-04-25  Chip Coldwell  <coldwell@redhat.com>
+2008-04-25  Dennis Gilmore  <ausil@fedoraproject.org>  (tiny change)
 
        * m/sparc.h: Additional redefinitions for GNU/Linux.
 
        attributes only for local files.
 
        * w32proc.c (syms_of_ntproc): Change Vw32_get_true_file attributes
-       default to Qlocal.
+       default to Qlocal.
 
 2008-04-22  Juri Linkov  <juri@jurta.org>
 
        (font_put_extra): New function.
        (font_parse_xlfd): Fix handling of font size.  Add QCdpi property
        in FONT_EXTRA.
-       (font_parse_fcname): Handle enumenrated values (e.g. bold).  Fix
-       handling font size.  Add QCname property that contains only
+       (font_parse_fcname): Handle enumenrated values (e.g. bold).
+       Fix handling font size.  Add QCname property that contains only
        unknown properties.
        (font_score): Change argument.  Change caller.  Pay attention to
        FONT_PIXEL_SIZE_QUANTUM.
@@ -10668,10 +10810,10 @@ See ChangeLog.10 for earlier changes.
 
   This file is part of GNU Emacs.
 
-  GNU Emacs is free software; you can redistribute it and/or modify
+  GNU Emacs is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
-  the Free Software Foundation; either version 3, or (at your option)
-  any later version.
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
 
   GNU Emacs is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -10679,8 +10821,6 @@ See ChangeLog.10 for earlier changes.
   GNU General Public License for more details.
 
   You should have received a copy of the GNU General Public License
-  along with GNU Emacs; see the file COPYING.  If not, write to the
-  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-  Boston, MA 02110-1301, USA.
+  along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
 
 ;; arch-tag: dfb6ad96-1550-4905-9e53-d2059ee84c40