bpt/emacs.git
16 years ago(Vcharset_non_preferred_head): New variable.
Kenichi Handa [Wed, 14 May 2008 01:22:48 +0000 (01:22 +0000)]
(Vcharset_non_preferred_head): New variable.
(Vcurrent_iso639_language): New variable.
(syms_of_charset): Declare it as a Lisp variable.
(char_charset): Don't check non preferred charsets.  As a last
resort, return charset_unicode.
(Fset_charset_priority): Update Vcharset_non_preferred_head.

16 years ago(Vcharset_non_preferred_head)
Kenichi Handa [Wed, 14 May 2008 01:22:19 +0000 (01:22 +0000)]
(Vcharset_non_preferred_head)
(Vcurrent_iso639_language): Extern them.

16 years ago(WIN32OBJ): Add w32reg.$(O), remove w32bdf.$(O).
Kenichi Handa [Wed, 14 May 2008 01:09:44 +0000 (01:09 +0000)]
(WIN32OBJ): Add w32reg.$(O), remove w32bdf.$(O).

16 years agoDelete USE_FONT_BACKEND conditionals.
Kenichi Handa [Wed, 14 May 2008 01:09:06 +0000 (01:09 +0000)]
Delete USE_FONT_BACKEND conditionals.
(frame.o, image.o, print.o): Depend on $(FONTSRC).

16 years agoThroughout the file, delete all USE_FONT_BACKEND
Kenichi Handa [Wed, 14 May 2008 01:04:51 +0000 (01:04 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals.  Don't check enable_font_backend.  Delete all codes
used only when USE_FONT_BACKEND is not defined.  Surround non-used
code by "#ifdef OLD_FONT" and "endif".
(Fw32_select_font): Use FONT_COMPAT to get old font structure.

16 years ago(struct w32font_info): New member.
Kenichi Handa [Wed, 14 May 2008 01:04:21 +0000 (01:04 +0000)]
(struct w32font_info): New member.
(FONT_COMPAT): New macro.
(w32font_open_internal): Prototype adjusted.

16 years ago(XGCValues): Surround `XFontStruct *font' by "if
Kenichi Handa [Wed, 14 May 2008 01:03:39 +0000 (01:03 +0000)]
(XGCValues): Surround `XFontStruct *font' by "if
OLD_FONT" and "endif".

16 years agoThroughout the file, delete all USE_FONT_BACKEND
Kenichi Handa [Wed, 14 May 2008 01:02:08 +0000 (01:02 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals.  Don't check enable_font_backend.  Delete all codes
used only when USE_FONT_BACKEND is not defined.
(w32font_open): Return a font-object.  Make a font-object by
font_make_object.  Adjusted for the change of struct w32font_info.
(w32font_close): Don't free struct font.  Adjusted for the change
of struct w32font_info.
(w32font_encode_char, w32font_text_extents, w32font_draw):
Adjusted for the change of struct w32font_info.
(w32font_draw): Likewise.
(w32font_list_internal): Return a list, not vector.
(w32font_open_internal): Change the 4th arg to font-object.
Adjusted for the change of struct w32font_info and font-object
format.
(add_font_name_to_list): Don't downcase names.
(w32_enumfont_pattern_entity): Make a font-entity by
font_make_entity.  Adjusted for the format change of font-entity.
Use FONT_SET_STYLE to set a style-related font property.  If a
font is scalable, set avgwidth property to 0.  Set font-entity
property by font_put_extra.
(font_matches_spec): Adjusted for the format change of
font-entity.
(w32_weight_table, w32_decode_weight): New variables.
(w32_encode_weight): New function.
(fill_in_logfont): Adjusted for the format change of font-spec.
(w32font_full_name): Use FONT_WEIGHT_SYMBOLIC to get a symbol
weight value.
(w32font_driver): Adjusted for the change of struct font_driver.

(w32font_open_internal): Change last argument from
w32font_info struct to font object.  Fill in font object from
font_entity.  Get Outline metrics if possible.  Use them to
calculate underline position and thickness.  Use xlfd name as name
property.  Don't set codepage.
(w32font_open): Pass font_object to w32font_open_internal.  Don't
update dpyinfo->smallest_font_height and
dpyinfo->smallest_char_width.
(w32font_draw): Use s->font.
(clear_cached_metrics): Don't clear non-existent blocks.

16 years agoThroughout the file, delete all USE_FONT_BACKEND
Kenichi Handa [Wed, 14 May 2008 01:00:37 +0000 (01:00 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals.  Don't check enable_font_backend. Surround non-used
code by "#ifdef OLD_FONT" and "endif".
(FONT_WIDTH, FONT_HEIGHT, FONT_BASE, FONT_DESCENT)
(FONT_AVG_WIDTH): Adjusted for the change of struct font.

16 years ago: Throughout the file, delete all USE_FONT_BACKEND
Kenichi Handa [Wed, 14 May 2008 00:40:04 +0000 (00:40 +0000)]
: Throughout the file, delete all USE_FONT_BACKEND
conditionals.  Don't check enable_font_backend.  Delete all codes
used only when USE_FONT_BACKEND is not defined.  Surround non-used
code by "#ifdef OLD_FONT" and "endif".

16 years agoDelete USE_FONT_BACKEND conditional.
Kenichi Handa [Wed, 14 May 2008 00:39:27 +0000 (00:39 +0000)]
Delete USE_FONT_BACKEND conditional.
(uniscribe_open): Return value changed to font-object.  Adjusted
for the format change of font-object.
(uniscribe_otf_capability): Adjusted for the change of struct
font.
(add_opentype_font_name_to_list): Don't downcase names.
(uniscribe_font_driver): Adjusted for the change of struct
font_driver.

16 years agoThroughout the file, delete all USE_FONT_BACKEND
Kenichi Handa [Wed, 14 May 2008 00:38:39 +0000 (00:38 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals.
(FONT_WIDTH): Return (f)->max_width.
(struct x_display_info): Delete member `font'.
(x_list_fonts, x_get_font_info, x_load_font, x_query_font)
(x_find_ccl_program, x_get_font_repertory): Delete externs.
(struct x_output): Change type of `font' to `struct font *'.

16 years ago(update_frame_1): Check if tty output is still valid before flushing
Chong Yidong [Tue, 13 May 2008 21:19:03 +0000 (21:19 +0000)]
(update_frame_1): Check if tty output is still valid before flushing
it.

16 years ago* dispnew.c (update_frame_1): Check if tty output is still valid
Chong Yidong [Tue, 13 May 2008 21:18:42 +0000 (21:18 +0000)]
* dispnew.c (update_frame_1): Check if tty output is still valid
before flushing it.

16 years ago(define-ibuffer-filter filename): Use `ibuffer-buffer-file-name'.
John Paul Wallington [Tue, 13 May 2008 21:09:20 +0000 (21:09 +0000)]
(define-ibuffer-filter filename): Use `ibuffer-buffer-file-name'.

16 years ago(ibuffer-buffer-file-name): New function.
John Paul Wallington [Tue, 13 May 2008 21:07:21 +0000 (21:07 +0000)]
(ibuffer-buffer-file-name): New function.
(define-ibuffer-column filename): Use it.

16 years ago(talk): Simplify. Pass display arg to talk-add-display as a string.
Chong Yidong [Tue, 13 May 2008 20:50:32 +0000 (20:50 +0000)]
(talk): Simplify.  Pass display arg to talk-add-display as a string.
(talk-add-display): Simplify.  Accept only string args.

16 years ago* talk.el (talk): Simplify. Pass display arg to talk-add-display
Chong Yidong [Tue, 13 May 2008 20:50:01 +0000 (20:50 +0000)]
* talk.el (talk): Simplify.  Pass display arg to talk-add-display
as a string.
(talk-add-display): Simplify.  Accept only string args.

16 years ago(calc-mode-map): Remove old keybinding for `calc-yank'.
Jay Belanger [Tue, 13 May 2008 19:12:56 +0000 (19:12 +0000)]
(calc-mode-map): Remove old keybinding for `calc-yank'.

16 years ago(bootstrap-prepare): Don't chmod files.
Stefan Monnier [Tue, 13 May 2008 18:35:13 +0000 (18:35 +0000)]
(bootstrap-prepare): Don't chmod files.
(autoloads): Do it here instead, where it's actually needed.

16 years ago(tool-bar-make-keymap): Additional minor fix.
Chong Yidong [Tue, 13 May 2008 18:02:44 +0000 (18:02 +0000)]
(tool-bar-make-keymap): Additional minor fix.

16 years ago* tool-bar.el (tool-bar-make-keymap): Account for the optional
Chong Yidong [Tue, 13 May 2008 17:53:04 +0000 (17:53 +0000)]
* tool-bar.el (tool-bar-make-keymap): Account for the optional
KEY-BINDING-DATA field in menu-item list.

16 years ago(tool-bar-make-keymap): Account for the optional KEY-BINDING-DATA
Chong Yidong [Tue, 13 May 2008 17:52:31 +0000 (17:52 +0000)]
(tool-bar-make-keymap): Account for the optional KEY-BINDING-DATA
field in menu-item list.

16 years ago(Lisp Atoms): Rephrase "in addition" to avoid confusion with addition
Chong Yidong [Tue, 13 May 2008 16:41:32 +0000 (16:41 +0000)]
(Lisp Atoms): Rephrase "in addition" to avoid confusion with addition
operation discussed in previous paragraph.

16 years ago* emacs-lisp-intro.texi (Lisp Atoms): Rephrase "in addition" to
Chong Yidong [Tue, 13 May 2008 16:41:17 +0000 (16:41 +0000)]
* emacs-lisp-intro.texi (Lisp Atoms): Rephrase "in addition" to
avoid confusion with addition operation discussed in previous
paragraph.

16 years ago(dired-read-dir-and-switches): Move things about to use less
Stefan Monnier [Tue, 13 May 2008 16:18:17 +0000 (16:18 +0000)]
(dired-read-dir-and-switches): Move things about to use less
recursion during macroexpansion.

16 years ago* dired.el (dired-read-dir-and-switches): Use read-file-name.
Stefan Monnier [Tue, 13 May 2008 08:39:54 +0000 (08:39 +0000)]
* dired.el (dired-read-dir-and-switches): Use read-file-name.

16 years ago(handle_one_xevent): Don't pass buttons higher than 3
Jan Djärv [Tue, 13 May 2008 08:08:25 +0000 (08:08 +0000)]
(handle_one_xevent): Don't pass buttons higher than 3
to Gtk+ menus.

16 years ago(file_name_completion): Tweak the code so as to always do it
Stefan Monnier [Tue, 13 May 2008 05:16:43 +0000 (05:16 +0000)]
(file_name_completion): Tweak the code so as to always do it
in a single pass.  Tighten the scope of some variables.

16 years ago(dired-read-dir-and-switches): Ignore ., .., and
Stefan Monnier [Tue, 13 May 2008 05:15:57 +0000 (05:15 +0000)]
(dired-read-dir-and-switches): Ignore ., .., and
completion-ignored-extension directories if there's something else.
(dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
(dired-remember-marks, dired-undo, dired-build-subdir-alist)
(dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
(dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
buffer-read-only -> inhibit-read-only.

16 years ago(Qdefault_directory): New var.
Stefan Monnier [Tue, 13 May 2008 04:39:32 +0000 (04:39 +0000)]
(Qdefault_directory): New var.
(file_name_completion): Use it instead of Fexpand_file_name.
(syms_of_dired): Initialize it.

16 years ago*** empty log message ***
Juanma Barranquero [Mon, 12 May 2008 21:43:04 +0000 (21:43 +0000)]
*** empty log message ***

16 years agoTell (vc-expand-dirs) not to throw out explicitly specified files.
Eric S. Raymond [Mon, 12 May 2008 18:49:07 +0000 (18:49 +0000)]
Tell (vc-expand-dirs) not to throw out explicitly specified files.

16 years ago(double_dollars): Remove dead code.
Stefan Monnier [Mon, 12 May 2008 18:31:26 +0000 (18:31 +0000)]
(double_dollars): Remove dead code.

16 years ago(smerge-apply-resolution-patch): Don't pass nil to `insert'.
Stefan Monnier [Mon, 12 May 2008 18:21:24 +0000 (18:21 +0000)]
(smerge-apply-resolution-patch): Don't pass nil to `insert'.

16 years agoRe-add Todo item about merging.
Dan Nicolaescu [Mon, 12 May 2008 17:19:41 +0000 (17:19 +0000)]
Re-add Todo item about merging.

16 years ago(with-vc-file, edit-vc-file): Remove unused macros.
Dan Nicolaescu [Mon, 12 May 2008 16:37:30 +0000 (16:37 +0000)]
(with-vc-file, edit-vc-file): Remove unused macros.

16 years ago(vc-annotate-show-diff-revision-at-line): Remove incorrect
Dan Nicolaescu [Mon, 12 May 2008 16:22:42 +0000 (16:22 +0000)]
(vc-annotate-show-diff-revision-at-line): Remove incorrect
cons.  Use vc-annotate-backend.

16 years agoAdd autoload for
Teodor Zlatanov [Mon, 12 May 2008 12:40:12 +0000 (12:40 +0000)]
Add autoload for
`auth-source-user-or-password'.
(smtpmail-try-auth-methods): Use it.

16 years agoAdd autoload cookie for
Teodor Zlatanov [Mon, 12 May 2008 12:39:46 +0000 (12:39 +0000)]
Add autoload cookie for
`auth-source-user-or-password'.
(url-basic-auth, url-digest-auth): Use it with any realm,
overriding the user name and password before the prompt.

16 years agoComment.
Stefan Monnier [Mon, 12 May 2008 01:46:27 +0000 (01:46 +0000)]
Comment.

16 years ago(cl-set-nthcdr): Make it a defsubst so that
Stefan Monnier [Mon, 12 May 2008 01:45:41 +0000 (01:45 +0000)]
(cl-set-nthcdr): Make it a defsubst so that
(setf (nthcdr ..) ..) doesn't require CL at runtime.

16 years ago* org/org.el (org-modules): Repair problems with loading
Carsten Dominik [Sun, 11 May 2008 22:54:56 +0000 (22:54 +0000)]
* org/org.el (org-modules): Repair problems with loading
org-jsinfo.org.

16 years ago*** empty log message ***
Carsten Dominik [Sun, 11 May 2008 22:54:08 +0000 (22:54 +0000)]
*** empty log message ***

16 years ago(vc-bzr-sha1, vc-bzr-command-discarding-stderr)
Stefan Monnier [Sun, 11 May 2008 21:59:45 +0000 (21:59 +0000)]
(vc-bzr-sha1, vc-bzr-command-discarding-stderr)
(vc-bzr-revision-completion-table): Use process-file.
(vc-bzr-working-revision): Pass relative file names.

16 years ago(diff-hunk-header-re): Refine the regexp.
Stefan Monnier [Sun, 11 May 2008 21:57:27 +0000 (21:57 +0000)]
(diff-hunk-header-re): Refine the regexp.

16 years ago(Info-next-preorder): Let-bind `Info-history' to nil
Juri Linkov [Sun, 11 May 2008 20:32:33 +0000 (20:32 +0000)]
(Info-next-preorder): Let-bind `Info-history' to nil
before recursive call to `Info-next-preorder' to not add
intermediate nodes to the history.

16 years agoPut isearch-scroll property on cua-scroll-up and cua-scroll-down.
Juri Linkov [Sun, 11 May 2008 20:31:18 +0000 (20:31 +0000)]
Put isearch-scroll property on cua-scroll-up and cua-scroll-down.

16 years agoPut isearch-scroll property on recenter-top-bottom.
Juri Linkov [Sun, 11 May 2008 20:30:26 +0000 (20:30 +0000)]
Put isearch-scroll property on recenter-top-bottom.

16 years ago(widget-image-directory): Change default image data
Juri Linkov [Sun, 11 May 2008 20:29:41 +0000 (20:29 +0000)]
(widget-image-directory): Change default image data
subdirectory from "custom" to "images/custom".

16 years ago*** empty log message ***
Juri Linkov [Sun, 11 May 2008 20:29:07 +0000 (20:29 +0000)]
*** empty log message ***

16 years ago(smerge-start-session): Revert unintended change in 2008-05-10T13:06:33Z!Reiner.Steib...
Reiner Steib [Sun, 11 May 2008 20:26:00 +0000 (20:26 +0000)]
(smerge-start-session): Revert unintended change in 2008-05-10T13:06:33Z!Reiner.Steib@gmx.de.

16 years agoInitial revision.
Juri Linkov [Sun, 11 May 2008 20:25:15 +0000 (20:25 +0000)]
Initial revision.

16 years agoRe-fill copyright years.
Glenn Morris [Sun, 11 May 2008 19:00:41 +0000 (19:00 +0000)]
Re-fill copyright years.
Re-fix permissions notice.

16 years agoReorganize to-do list.
Eric S. Raymond [Sun, 11 May 2008 18:30:35 +0000 (18:30 +0000)]
Reorganize to-do list.

16 years agoRemove dead code.
Eric S. Raymond [Sun, 11 May 2008 18:15:59 +0000 (18:15 +0000)]
Remove dead code.

16 years agoFix typo.
Dan Nicolaescu [Sun, 11 May 2008 15:36:33 +0000 (15:36 +0000)]
Fix typo.

16 years agoTypo fix.
Eric S. Raymond [Sun, 11 May 2008 14:50:25 +0000 (14:50 +0000)]
Typo fix.

16 years agoPrevent some compilaation warnings.
Eric S. Raymond [Sun, 11 May 2008 14:49:39 +0000 (14:49 +0000)]
Prevent some compilaation warnings.

16 years ago*** empty log message ***
Dan Nicolaescu [Sun, 11 May 2008 13:11:17 +0000 (13:11 +0000)]
*** empty log message ***

16 years ago(ewoc): Require.
Dan Nicolaescu [Sat, 10 May 2008 21:52:36 +0000 (21:52 +0000)]
(ewoc): Require.

16 years ago(vc-hooks, ewoc): Require.
Dan Nicolaescu [Sat, 10 May 2008 19:21:30 +0000 (19:21 +0000)]
(vc-hooks, ewoc): Require.
(vc-log-edit, vc-buffer-sync): Declare for byte compiler.

16 years ago(vc-hg-diff, vc-hg-annotate-command): Use when not if.
Dan Nicolaescu [Sat, 10 May 2008 19:10:31 +0000 (19:10 +0000)]
(vc-hg-diff, vc-hg-annotate-command): Use when not if.

16 years agoTweak last change.
Chong Yidong [Sat, 10 May 2008 17:34:32 +0000 (17:34 +0000)]
Tweak last change.

16 years ago(x-colors): Re-order colors.
Chong Yidong [Sat, 10 May 2008 17:28:09 +0000 (17:28 +0000)]
(x-colors): Re-order colors.

16 years ago* term/w32-win.el (x-colors):
Chong Yidong [Sat, 10 May 2008 17:27:33 +0000 (17:27 +0000)]
* term/w32-win.el (x-colors):
* term/mac-win.el (x-colors):
* term/x-win.el (x-colors): Re-order colors.

16 years agoRemove assumption about what nil means as a first arument to vc-do-command.
Eric S. Raymond [Sat, 10 May 2008 13:27:16 +0000 (13:27 +0000)]
Remove assumption about what nil means as a first arument to vc-do-command.

16 years ago(smerge-command-prefix): Fix custom type.
Reiner Steib [Sat, 10 May 2008 13:09:04 +0000 (13:09 +0000)]
(smerge-command-prefix): Fix custom type.

16 years agoNew functions implementing motion to next and previous directory.
Eric S. Raymond [Sat, 10 May 2008 12:40:57 +0000 (12:40 +0000)]
New functions implementing motion to next and previous directory.

16 years ago(Windows Files): Update documentation of w32-get-true-file-attributes.
Eli Zaretskii [Sat, 10 May 2008 08:54:03 +0000 (08:54 +0000)]
(Windows Files): Update documentation of w32-get-true-file-attributes.

16 years ago(Ffile_attributes, Fdirectory_files_and_attributes): Mention
Eli Zaretskii [Sat, 10 May 2008 08:35:15 +0000 (08:35 +0000)]
(Ffile_attributes, Fdirectory_files_and_attributes): Mention
w32-get-true-file-attributes in doc string.

16 years ago(syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix.
Eli Zaretskii [Sat, 10 May 2008 08:25:55 +0000 (08:25 +0000)]
(syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix.

16 years agoFix last change.
Eli Zaretskii [Sat, 10 May 2008 08:09:39 +0000 (08:09 +0000)]
Fix last change.

16 years agoMerge from gnus--devo--0
Miles Bader [Sat, 10 May 2008 05:34:55 +0000 (05:34 +0000)]
Merge from gnus--devo--0

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1153

16 years agoUpdate todo.
Dan Nicolaescu [Sat, 10 May 2008 04:39:08 +0000 (04:39 +0000)]
Update todo.

16 years ago* vc-sccs.el (vc-sccs-dir-status):
Dan Nicolaescu [Sat, 10 May 2008 03:58:11 +0000 (03:58 +0000)]
* vc-sccs.el (vc-sccs-dir-status):
* vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
backends and returning up to date files.

16 years ago(vc-prefix-map): Remove duplicate binding.
Dan Nicolaescu [Sat, 10 May 2008 03:55:00 +0000 (03:55 +0000)]
(vc-prefix-map): Remove duplicate binding.

16 years agoSwitch to recommended form of GPLv3 permissions notice.
Glenn Morris [Fri, 9 May 2008 23:48:10 +0000 (23:48 +0000)]
Switch to recommended form of GPLv3 permissions notice.

16 years agoSwitch to recommended form of GPLv3 permissions notice.
Glenn Morris [Fri, 9 May 2008 23:19:13 +0000 (23:19 +0000)]
Switch to recommended form of GPLv3 permissions notice.

16 years ago(Fread_file_name): Remove reference to insdef, deleted 2008-04-23.
Glenn Morris [Fri, 9 May 2008 22:55:11 +0000 (22:55 +0000)]
(Fread_file_name): Remove reference to insdef, deleted 2008-04-23.

16 years agoNote that vc.el now uses this.
Eric S. Raymond [Fri, 9 May 2008 22:31:03 +0000 (22:31 +0000)]
Note that vc.el now uses this.

16 years agoInclude sys/types.h, sys/stat.h, and errno.h.
Eli Zaretskii [Fri, 9 May 2008 20:37:32 +0000 (20:37 +0000)]
Include sys/types.h, sys/stat.h, and errno.h.
(IS_DIRECTORY_SEP): New macro.
(convert_time, is_exec, stat): New functions.

16 years agoItem said "vc-update/vc-merge should deal with VC systems that don't
Eric S. Raymond [Fri, 9 May 2008 20:28:54 +0000 (20:28 +0000)]
Item said "vc-update/vc-merge should deal with VC systems that don't
update/merge on a file basis, but on a whole repository basis." That's
what selecting the top-level directory of the repo or working copy is
for.

16 years agoRemove two to-dos.
Eric S. Raymond [Fri, 9 May 2008 20:21:48 +0000 (20:21 +0000)]
Remove two to-dos.

16 years agoDupport an use an observer flag in (vc-dispatcher-selection-set).
Eric S. Raymond [Fri, 9 May 2008 20:17:50 +0000 (20:17 +0000)]
Dupport an use an observer flag in (vc-dispatcher-selection-set).

16 years agoVC directory bindings are noew documented.
Eric S. Raymond [Fri, 9 May 2008 20:07:01 +0000 (20:07 +0000)]
VC directory bindings are noew documented.

16 years agoDocument the new VC directory mode.
Eric S. Raymond [Fri, 9 May 2008 20:03:27 +0000 (20:03 +0000)]
Document the new VC directory mode.

16 years agoSuppress an annoying warning.
Eric S. Raymond [Fri, 9 May 2008 19:10:29 +0000 (19:10 +0000)]
Suppress an annoying warning.

16 years ago(stat): Fix last change.
Eli Zaretskii [Fri, 9 May 2008 19:09:33 +0000 (19:09 +0000)]
(stat): Fix last change.

16 years agoSupport for reporting owner and group of each file on MS-Windows:
Eli Zaretskii [Fri, 9 May 2008 19:03:52 +0000 (19:03 +0000)]
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:
(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.

16 years ago(struct stat): Move st_dev after st_ino, for better alignment.
Eli Zaretskii [Fri, 9 May 2008 19:01:28 +0000 (19:01 +0000)]
(struct stat): Move st_dev after st_ino, for better alignment.
Make st_size 64-bit wide.  Add new members st_uname and st_gname.

16 years agoComment and to-do list fixes.
Eric S. Raymond [Fri, 9 May 2008 18:59:45 +0000 (18:59 +0000)]
Comment and to-do list fixes.

16 years agoRemove the vc-dir-insert-directories global.
Eric S. Raymond [Fri, 9 May 2008 18:47:36 +0000 (18:47 +0000)]
Remove the vc-dir-insert-directories global.

16 years agoTeach the RCS back end to do directories.
Eric S. Raymond [Fri, 9 May 2008 17:51:39 +0000 (17:51 +0000)]
Teach the RCS back end to do directories.

16 years ago* simple.el (start-file-process): Clarify docstring.
Michael Albinus [Fri, 9 May 2008 17:39:33 +0000 (17:39 +0000)]
* simple.el (start-file-process): Clarify docstring.

16 years ago*** empty log message ***
Michael Albinus [Fri, 9 May 2008 17:38:44 +0000 (17:38 +0000)]
*** empty log message ***

16 years agoRemove wash-log from the VC backend API.
Eric S. Raymond [Fri, 9 May 2008 17:30:49 +0000 (17:30 +0000)]
Remove wash-log from the VC backend API.

16 years ago* vc.el (vc-mark-resolved): Add `backend' argument.
Stefan Monnier [Fri, 9 May 2008 16:41:26 +0000 (16:41 +0000)]
* vc.el (vc-mark-resolved): Add `backend' argument.
(vc-next-action): Pass it the backend.
(vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
(vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
(vc-default-comment-history, vc-default-create-snapshot)
(vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
(vc-annotate-revision-previous-to-line)
(vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
* vc-svn.el (vc-svn-checkout):
* vc-mcvs.el (vc-mcvs-checkout):
* vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
(vc-working-revision, vc-before-save, vc-mode-line):
Prefer vc-call-backend to vc-call so as not to recompute the backend.

16 years agoMake SCCS backend directory-aware.
Eric S. Raymond [Fri, 9 May 2008 16:33:30 +0000 (16:33 +0000)]
Make SCCS backend directory-aware.

16 years ago(vc-deduce-fileset): Don't require the checkout-model and the
Stefan Monnier [Fri, 9 May 2008 16:01:50 +0000 (16:01 +0000)]
(vc-deduce-fileset): Don't require the checkout-model and the
state to be consistent since it's often an unwarranted restriction.
Don't return the state either.
(vc-next-action): Check that the state is consistent.
(vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
(vc-rollback, vc-update): Adapt to new return value of vc-deduce-fileset.