1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
Commit graph

180 commits

Author SHA1 Message Date
Chong Yidong
e933b15ea3 (Fdirectory_files): Doc fix. 2008-08-15 20:17:12 +00:00
Dan Nicolaescu
7c2fb837ec * bitmaps/README:
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.

* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.

* message.el (Module):

* gnus-start.el (Module):

* gnus-registry.el (Module):

* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.

* etags.c:
* emacsclient.c: Remove VMS support.

* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.

* ediff.texi: Remove VMS support.

* os.texi:
* intro.texi:
* files.texi: Remove VMS support.

* emacs.texi: Remove VMS support.

* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
2008-07-31 05:33:56 +00:00
Stefan Monnier
928b5acc5e * dired.c (file_name_completion): Don't return t if the match is exact
but with different capitalization.
* minibuf.c (Ftry_completion): Simplify.
2008-06-10 18:41:01 +00:00
Eli Zaretskii
1cab27d254 (Ffile_attributes): Shut up GCC warnings about st_uid 2008-05-16 11:12:48 +00:00
Glenn Morris
9ec0b715e2 Switch to recommended form of GPLv3 permissions notice. 2008-05-14 07:50:26 +00:00
Stefan Monnier
3271a8f56c (file_name_completion): Tweak the code so as to always do it
in a single pass.  Tighten the scope of some variables.
2008-05-13 05:16:43 +00:00
Stefan Monnier
01bb401886 (Qdefault_directory): New var.
(file_name_completion): Use it instead of Fexpand_file_name.
(syms_of_dired): Initialize it.
2008-05-13 04:39:32 +00:00
Eli Zaretskii
6c5665e9c4 (Ffile_attributes, Fdirectory_files_and_attributes): Mention
w32-get-true-file-attributes in doc string.
2008-05-10 08:35:15 +00:00
Eli Zaretskii
8aaaec6b62 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.
2008-05-09 19:03:52 +00:00
Eli Zaretskii
7412d42903 (Ffile_attributes): Don't allow the device number become negative. 2008-05-03 10:17:22 +00:00
Stefan Monnier
2a54a229c0 (file_name_completion): Fix up the encoding/decoding issue
some more.  Copy some of the code from Ftry_completions.
Remove special case code that dates back to initial revision when the
slash was only added when necessary and that can't trigger nowadays.
2008-04-30 07:16:08 +00:00
Andreas Schwab
fb4a622af4 (file_name_completion): Fix another mixing of encoded
and decoded names.
2008-04-28 18:33:06 +00:00
Andreas Schwab
9c691c002b (file_name_completion): Fix inappropriate mixing of
encoded and decoded names.
2008-04-27 18:06:51 +00:00
Eli Zaretskii
01388a3dd2 (Ffile_attributes) [WINDOWSNT]: Undo change from 2008-03-31, it's not needed
anymore with `struct stat' definition on nt/inc/sys/stat.h.  Undo changes
from 2007-01-12 and 2007-01-13 for the same reasons.
2008-04-26 08:23:21 +00:00
Stefan Monnier
6c8b4f07d1 (directory_files_internal, file_name_completion):
Only call ENCODE_FILE if the string is indeed decoded.
2008-04-19 03:09:47 +00:00
Miles Bader
d02fe47dd3 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1112
2008-04-18 02:56:45 +00:00
Eli Zaretskii
f3a3640be8 (Ffile_attributes) [WINDOWSNT]: Force inode be positive. 2008-04-05 19:10:08 +00:00
Eli Zaretskii
e058f331f5 (Ffile_attributes): Support inode numbers wider than 32 bits.
Remove ugly WINDOWSNT-specific kludge introduced on 2008-03-14 to force
inode be positive.
2008-04-05 14:31:42 +00:00
Jason Rumney
3036dd2672 (Ffile_attributes) [WINDOWSNT]: Cast uid and gid to unsigned. 2008-03-31 14:22:12 +00:00
Eli Zaretskii
294f1153b5 (Ffile_attributes) [WINDOWSNT]: Force inode be positive. 2008-03-14 17:31:09 +00:00
Miles Bader
430d2ee291 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Glenn Morris
8cabe764e9 Add 2008 to copyright years. 2008-01-08 04:37:27 +00:00
Miles Bader
9c8020a8df Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 890-898)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 122-128)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 257-258)

   - Merge from emacs--rel--22
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-270
2007-10-19 00:00:21 +00:00
Glenn Morris
ecd3f8b27a (Qcompletion_ignore_case): Change to external.
(syms_of_dired) [VMS]: Remove Qcompletion_ignore_case.
2007-10-17 01:31:14 +00:00
Glenn Morris
0af8c48ee0 (Qcompletion_ignore_case): Change to external.
(syms_of_dired) [VMS]: Remove Qcompletion_ignore_case.
2007-10-17 01:30:59 +00:00
Miles Bader
b2e6b10fe2 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 846-851)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 88-92)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 242-244)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-246
2007-08-13 13:48:35 +00:00
Glenn Morris
e0f24100c7 Replace `iff' in comments. 2007-08-08 07:49:21 +00:00
Miles Bader
e468b87f91 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 824-831)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 70-74)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-238
2007-07-27 10:52:18 +00:00
Glenn Morris
684d6f5bcc Switch license to GPLv3 or later. 2007-07-25 05:19:07 +00:00
Miles Bader
d85d38392e Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 670-674)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 209-210)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-185
2007-03-21 13:33:07 +00:00
Kim F. Storm
c4c52bb78a 2007-03-17 Richard M. Stallman <rms@gnu.org>
(file_name_completion): Gcpro NAME.
2007-03-17 23:44:57 +00:00
Miles Bader
c0466914ba Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 586-614)

   - Update from CVS
   - Update from erc--emacs--22
   - Merge from gnus--rel--5.10
   - Merge from erc--main--0
   - Make byte compiler correctly write circular constants

 * gnus--rel--5.10  (patch 186-196)

   - Update from CVS
   - Merge from emacs--devo--0

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
2007-01-26 06:16:11 +00:00
Eli Zaretskii
345c6b2420 (Ffile_attributes): Fix last change. 2007-01-13 21:45:34 +00:00
Eli Zaretskii
b55445d6ba (Ffile_attributes): Copy some members of `struct stat' into int's to avoid
GCC warnings about limited range of short in arguments to FIXNUM_OVERFLOW_P.
2007-01-12 15:55:49 +00:00
Stefan Monnier
8b9ae6b046 (Ffile_attributes): Use floats for large uids/gids. 2007-01-10 03:44:49 +00:00
Miles Bader
4c34eeeee5 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 563-582)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 177-185)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-158
2007-01-01 03:21:06 +00:00
Richard M. Stallman
b6ce54d67a Fix previous change. 2006-12-17 20:14:13 +00:00
Richard M. Stallman
abfb193276 (file_name_completion): New arg PREDICATE. Some cleanup.
(file_name_completion): New arg PREDICATE.
2006-12-17 20:10:33 +00:00
Miles Bader
d65dc2c390 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 399-413)

   - Update from CVS
   - Rcirc update from Ryan Yeske
   - Merge from gnus--rel--5.10
   - Miscellaneous tq-related fixes.

 * gnus--rel--5.10  (patch 126-127)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-105
2006-08-28 04:33:45 +00:00
YAMAMOTO Mitsuharu
d15b573ed5 (directory_files_internal_unwind, directory_files_internal)
(file_name_completion): Add BLOCK_INPUT around opendir/closedir.
2006-08-27 07:08:39 +00:00
Miles Bader
63db3c1b3f Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 343-356)

   - Update from CVS
   - Update for ERC 5.1.3.
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 113-115)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-90
2006-07-19 00:42:56 +00:00
YAMAMOTO Mitsuharu
8c8a7c58e3 Include blockinput.h.
(Ffile_attributes): Add BLOCK_INPUT around getpwuid/getgrgid.
2006-07-12 08:37:07 +00:00
Miles Bader
6a46b01883 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 320-342)

   - Update from CVS
   - Merge from gnus--rel--5.10
   - lisp/play/cookie1.el (cookie): Work properly when there's only one entry
   - Add note about "link" button-class to etc/TODO

 * gnus--rel--5.10  (patch 108-112)

   - Merge from emacs--devo--0
   - Clean up merge mistakes
   - Update from CVS
   - Update from CVS: texi/gnus.texi (Summary Buffer Lines): Fix typo.

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-86
2006-07-06 08:59:39 +00:00
Eli Zaretskii
1a9fbabec0 (directory_files_internal) [WINDOWSNT]: Find files case-insensitively. 2006-06-24 07:24:42 +00:00
Miles Bader
380874900c Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-13
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 43-57)

   - Update from CVS
   - Merge from erc--emacs--0
   - Make constrain-to-field notice overlays
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 18-21)

   - Update from CVS
   - Merge from emacs--devo--0
2006-02-08 04:26:44 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Miles Bader
06eb776d8e Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-9
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 16-33)

   - Update from CVS
   - Install ERC.
   - Fix ERC compiler warnings.
   - Use utf-8 encoding in ERC ChangeLogs.
   - Merge ERC-related Viper hacks into Viper.
   - Merge from erc--main--0
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 8-13)

   - Merge from emacs--devo--0
   - Update from CVS
2006-02-01 10:07:17 +00:00
Eli Zaretskii
8f7f8c6539 (DIRENTRY_NONEMPTY) [__CYGWIN__]: Use the MSDOS definition. 2006-01-27 20:44:10 +00:00
Miles Bader
b2ba4dcba1 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-7
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 4-14)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (base, patch 1-7)

   - tag of miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-187
   - Update from CVS
   - Merge from emacs--devo--0

 * miles@gnu.org--gnu-2005/gnus--rel--5.10  (patch 187)

   - Update from CVS
2006-01-25 07:10:04 +00:00
Luc Teirlinck
407a52c414 (syms_of_dired) <completion-ignored-extensions>: Doc fix. 2006-01-22 04:30:10 +00:00