1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-07 06:22:32 -08:00
Commit graph

65 commits

Author SHA1 Message Date
Kenichi Handa
e23f810c3e (Fdirectory_files): If MATCH is non-nil, decode filenames
before checking them against MATCH.
1998-08-06 05:38:11 +00:00
Andreas Schwab
dfcf069d56 Fix -Wimplicit warnings. 1998-04-14 12:25:56 +00:00
Karl Heuer
e540cbed19 (Fdirectory_files): Use make_uninit_multibyte_string.
Use STRING_BYTES on encoded_directory.
1998-04-06 21:52:29 +00:00
Andreas Schwab
96d6400464 (Fdirectory_files): GCPRO encoded_directory and list.
Compute needsep only once.  Pass correct arg to chars_in_text.
1998-04-06 09:11:05 +00:00
Richard M. Stallman
8ec5a40461 (Fdirectory_files): In FULL case, compute number of characters 1998-03-21 18:23:09 +00:00
Kenichi Handa
bd33479f0a Include charset.h and coding.h.
(ENCODE_FILE): This macro is moved to coding.h.
(Vdefault_file_name_coding_system): Extern it.
(Fdirectory_files): Use DECODE_FILE.
(file_name_completion): Likewise.
1998-03-03 07:18:46 +00:00
Richard M. Stallman
3e9377127b (Fdirectory_files): Call compile_pattern the new way. 1998-02-08 21:35:14 +00:00
Richard M. Stallman
c872c6b297 (Fdirectory_files): Fix arg to compile_pattern. 1998-01-09 23:28:38 +00:00
Richard M. Stallman
24c2a54f4c (ENCODE_FILE): New macro.
(Ffile_attributes): Encode the file names to operate on.
(file_name_completion): Do completion on encoded name, then decode.
(Fdirectory_files): Encode the argument.
Decode all result file names using Vfile_name_coding_system.
1997-09-08 10:09:15 +00:00
Richard M. Stallman
ce4200f679 (Ffile_attributes): Use cast to avoid warnings. 1997-07-07 19:00:51 +00:00
Richard M. Stallman
4c637faa24 (Ffile_attributes): Return inode number as a cons only if necessary. 1997-05-19 02:17:26 +00:00
Richard M. Stallman
c81a9bdcd0 (Fdirectory_files): Set re_match_object. 1997-04-15 04:44:36 +00:00
Richard M. Stallman
88b09a1773 (Ffile_attributes): Represent inode number as a pair of
integers in case inode numbers do not fit in a Lisp integer.
1996-11-07 05:46:56 +00:00
Richard M. Stallman
04924ee3f4 (file_name_completion): Remove code which sets and
restores the `stat' control flags (they might not be restored if
C-g is pressed during completion).
(file_name_completion_stat): Set and restore flags that make
`stat' faster here instead of in `file_name_completion'.
1996-09-19 21:28:15 +00:00
Erik Naggum
a2d3836cb6 (syms_of_dired): staticpro Qdirectory_files, Qfile_name_completion,
Qfile_name_all_completions, and Qfile_attributes.
1996-09-17 16:18:04 +00:00
Karl Heuer
33d5e9cc8f (file_name_completion): Set `stat' flags to avoid
computing expensive fields in struct stat (makes filename
completion much faster).
1996-07-07 22:37:17 +00:00
Richard M. Stallman
f5ec5d3d8c Comment changes. 1996-05-09 23:21:54 +00:00
Richard M. Stallman
93593876d9 (Ffile_attributes) [WINDOWSNT]: Remove conditional NT code. 1996-04-26 19:52:51 +00:00
Richard M. Stallman
7b6540dd1b (Fdirectory_files): Doc fix. 1996-02-09 01:37:35 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Erik Naggum
23bd240fe3 (Fdirectory_files, Ffile_name_completion, Ffile_name_all_completions,
Ffile_name_all_versions): Harmonize arguments with documentation.
1996-01-09 00:31:07 +00:00
Karl Heuer
8e6208c5d2 Comment fixes. 1996-01-05 10:03:17 +00:00
Richard M. Stallman
fc82937b49 (Ffile_attributes) [MSDOS]: Remove special detection of
MS-DOS executable files by filename extension (library `stat' does
this itself now).
1995-12-26 00:20:53 +00:00
Richard M. Stallman
8436e23177 (Ffile_name_all_completions, Ffile_name_completion):
Look for handler for FILE as well as for DIRNAME.
1995-09-02 01:19:53 +00:00
Karl Heuer
7c938215cd Update GPL to version 2. 1995-06-15 20:42:24 +00:00
Karl Heuer
ec2cfa3449 (Ffile_attributes) [WINDOWSNT]: Removed syntax errors. 1995-04-12 02:00:23 +00:00
Richard M. Stallman
5617588f56 (Fdirectory_files): Fix bug in IS_ANY_SEP usage introduced in Oct 30 change. 1995-04-01 04:46:15 +00:00
Richard M. Stallman
8a59006281 (Fdirectory_files): Pass new arg to `compile_pattern'. 1994-11-16 20:30:12 +00:00
Richard M. Stallman
0b39d75da8 Use macros IS_ANY_SEP, IS_DIRECTORY_SEP, and DIRECTORY_SEP.
(file-attributes) [WINDOWSNT]: Set st_gid and st_uid to Qnil; use
get_inode_and_device_vals to fake up inode number and device number.
1994-11-01 07:03:57 +00:00
Karl Heuer
e50c66d349 (Fdirectory_files): Use the new calling convention for compile_pattern. 1994-10-19 04:51:07 +00:00
Richard M. Stallman
ad456ad421 (file_name_completion): Ignore files "." and ".." in first pass.
(Ffile_name_completion): Perform the completion even if the
name part is empty.
1994-10-08 09:52:08 +00:00
Karl Heuer
617b3bfe1b (file_name_completion): Don't use XFASTINT as an lvalue. 1994-10-04 15:45:26 +00:00
Karl Heuer
7451ae15f9 (syms_of_dired): Undo Sep 16 change. 1994-09-28 20:45:25 +00:00
Karl Heuer
88cf185241 (Ffile_name_completion, file_name_completion): Use type test macros. 1994-09-27 03:07:54 +00:00
Karl Heuer
408e56e14d (Qcompletion_ignored_extensions): New symbol.
(syms_of_dired): Initialize it.
1994-09-16 22:18:10 +00:00
Richard M. Stallman
3964b9a75d Put stdio.h, sys/types.h and sys/stat.h after config.h. 1994-06-15 03:43:43 +00:00
Karl Heuer
3a22ee3595 Update copyright. 1994-05-04 02:41:09 +00:00
Richard M. Stallman
7e3cf34f8d (file_name_completion_stat): Use both lstat and stat. 1994-05-02 23:53:03 +00:00
Karl Heuer
a617e9133c Pass operation to Ffind_file_name_handler. 1994-04-22 23:41:18 +00:00
Richard M. Stallman
ed2ef6c9e0 (Ffile_attributes): Cast st_size to int. 1994-04-13 22:20:10 +00:00
Karl Heuer
f676868dc6 (file_name_completion): Honor completion-regexp-list. 1994-04-05 06:04:27 +00:00
Karl Heuer
af5d2b69af (file_name_completion): Don't step on dirname. 1994-03-29 00:57:07 +00:00
Richard M. Stallman
3fcc88cce0 (file_name_completion): Protect things from GC. 1994-03-28 20:55:18 +00:00
Richard M. Stallman
128ecc89ba (DIRENTRY_NONEMPTY): New macro; two definitions.
(Fdirectory_files, file_name_completion): Use it.


[MSDOS]: #include <dirent.h> instead of <sys/dir.h>.  Avoid
some external definitions.
(Ffile_attributes) [MSDOS]: Set execute bits from file name.
(Ffile_name_all_completions) [FILE_SYSTEM_CASE]: Convert
case of file name as as indicated by conditional.
1994-01-08 08:47:19 +00:00
Richard M. Stallman
a889bd0eff (file_name_completion_stat): If have symlinks, use lstat. 1994-01-04 06:37:51 +00:00
Brian Fox
97e98a5676 (file_name_completion): Install case-preserving changes from Emacs 18
for completion_ignore_case.
(completion_ignore_case): Declare.
1993-09-22 18:25:03 +00:00
Roland McGrath
18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Richard M. Stallman
60fc6069f8 (Ffile_attributes): Give -1 as size if size won't fit. 1993-06-13 01:16:05 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00