Glenn Morris
e0f24100c7
Replace `iff' in comments.
2007-08-08 07:49:21 +00:00
Glenn Morris
684d6f5bcc
Switch license to GPLv3 or later.
2007-07-25 05:19: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
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
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
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
YAMAMOTO Mitsuharu
8c8a7c58e3
Include blockinput.h.
...
(Ffile_attributes): Add BLOCK_INPUT around getpwuid/getgrgid.
2006-07-12 08:37:07 +00:00
Eli Zaretskii
1a9fbabec0
(directory_files_internal) [WINDOWSNT]: Find files case-insensitively.
2006-06-24 07:24:42 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Eli Zaretskii
8f7f8c6539
(DIRENTRY_NONEMPTY) [__CYGWIN__]: Use the MSDOS definition.
2006-01-27 20:44:10 +00:00
Luc Teirlinck
407a52c414
(syms_of_dired) <completion-ignored-extensions>: Doc fix.
2006-01-22 04:30:10 +00:00
Dan Nicolaescu
fa8459a34e
* image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct
...
type.
* xterm.c (handle_one_xevent, handle_one_xevent): Likewise.
* unexelf.c (fatal): Fix prototype.
* term.c (fatal): Implement using varargs.
* regex.c (re_char): Move typedef ...
* regex.h (re_char): ... here.
(re_iswctype, re_wctype, re_set_whitespace_regexp): New
prototypes.
* emacs.c (malloc_set_state): Fix return type.
(endif): Fix type.
* lisp.h (fatal): Add argument types.
* dispextern.h (fatal): Delete prototype.
* systime.h: (make_time): Prototype moved from ...
* editfns.c (make_time): ... here.
* editfns.c: Move systime.h include after lisp.h.
* dired.c:
* xsmfns.c:
* process.c: Likewise.
* alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook):
Add parameter types.
(__malloc_hook, __realloc_hook, __free_hook): Fix prototypes.
(emacs_blocked_free): Change definition to match __free_hook.
(emacs_blocked_malloc): Change definition to match __malloc_hook.
(emacs_blocked_realloc): Change definition to match
__realloc_hook.
2005-09-30 22:38:16 +00:00
Stefan Monnier
9d291bdfdf
(directory_files_internal_unwind, directory_files_internal)
...
(file_name_completion): Use a Save_Value object rather than a cons of
two 16bit ints to store the DIR*.
(directory_files_internal, file_name_completion): Handle both EINTR and
EAGAIN consistently after `readdir'.
2005-09-02 18:42:54 +00:00
Thien-Thi Nguyen
0b5538bd85
Update years in copyright notice; nfc.
2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8
Update FSF's address.
2005-07-04 16:49:24 +00:00
Juanma Barranquero
2f60660a5e
(Ffile_name_completion): Make argument name match its use in docstring.
2005-05-08 22:48:19 +00:00
Thien-Thi Nguyen
5b9c0a1d12
Remove reference to defunct vms-pwd.h.
...
For pwd.h, use HAVE_PWD_H, not !VMS.
2005-04-20 15:07:03 +00:00
Stefan Monnier
7435aef8d0
(Ffile_attributes): Add a missing gcpro.
2005-03-24 22:06:36 +00:00
Stefan Monnier
c1120f9404
(Vfile_name_coding_system, Vdefault_file_name_coding_system):
...
Remove unused declarations.
2005-03-24 19:14:05 +00:00
Andreas Schwab
b72915a740
Don't declare Fmsdos_downcase_filename.
2004-11-07 11:08:45 +00:00
Jan Djärv
238a44a865
* dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in
...
comparisons with integers instead of Lisp_Object address.
(Fmsdos_set_keyboard): Declare argument allkeys.
* msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s.
* dired.c: extern declare Fmsdos_downcase_filename on MSDOS to avoid
int/Lisp_Object mixup.
* fileio.c: Ditto.
2004-11-07 09:13:26 +00:00
Stefan Monnier
d8e18df75c
(Ffile_attributes): Don't pass extra nil arg to file-handler.
2004-04-15 21:02:33 +00:00
Stefan Monnier
45c7d781c6
(Ffile_attributes): Lisp_Object/int mixup.
2004-01-20 21:18:31 +00:00
Lars Hansen
b91485007d
(Fdirectory_files, Fdirectory_files_and_attributes):
...
Arguments GCPRO'ed in call to file name handler.
2003-12-25 17:12:59 +00:00
Lars Hansen
0e6195edf7
(Ffile_attributes): Parameter ID-FORMAT added and included in call to file
...
name handler. Numeric UID and GID optionally translated to strings. Docstring updated.
(directory_files_internal): Parameter ID-FORMAT added.
(Fdirectory_files_and_attributes): Parameter ID-FORMAT added and included in call to
file name handler and call to directory_files_internal. Docstring updated.
(Fdirectory_files): Dummy parameter added in call to directory_files_internal.
2003-11-21 18:27:51 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Kai Großjohann
4ece81a62f
(directory_files_internal): Don't expand directory.
...
(Fdirectory_files, Fdirectory_files_and_attributes): Do it here
instead. From Lars Hansen <larsh@math.ku.dk>.
2003-02-23 10:48:29 +00:00
Juanma Barranquero
177c0ea743
Trailing whitespace deleted.
2003-02-04 14:56:31 +00:00
Richard M. Stallman
c3a3229c39
(file_name_completion): Fix that change.
...
Delete special quit-handling code; just use QUIT.
2002-12-21 17:56:16 +00:00
Richard M. Stallman
62e3881f1f
(file_name_completion): Close directory on error
2002-12-21 17:46:38 +00:00
Jason Rumney
4bc1267240
(Ffile_attributes): Don't return negative file sizes for
...
files bigger than 2Gb when off_t is 32 bit.
2002-11-27 23:51:02 +00:00
Ken Raeburn
905fe32703
remove outdated comment
2002-07-21 12:02:15 +00:00
Ken Raeburn
d549c5dbaa
* dired.c (directory_files_internal): Use SSET.
2002-07-16 15:49:12 +00:00
Ken Raeburn
437fcd47c6
* dired.c (directory_files_internal): Use STRING_SET_CHARS.
2002-07-15 02:14:17 +00:00
Ken Raeburn
d5db40779d
Most uses of XSTRING combined with STRING_BYTES or indirection changed to
...
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Juanma Barranquero
aed1337830
Use macro SPECPDL_INDEX.
2002-07-11 14:18:02 +00:00
Eli Zaretskii
a74aaa9dbb
(file_name_completion): Run the elements of
...
completion-ignored-extensions through ENCODE_FILE.
2001-12-19 17:14:39 +00:00
Richard M. Stallman
b3f04cedf4
(scmp): Function moved from minibuf.c.
...
Delete multibyte handling--used only on encoded strings.
2001-12-18 22:50:26 +00:00
Pavel Janík
335c5470b5
Change doc-string comments to new style' [w/doc:' keyword].
2001-11-13 07:48:37 +00:00
Pavel Janík
b782650360
Update usage of CHECK_ macros (remove unused second argument).
2001-11-02 20:46:55 +00:00
Eli Zaretskii
7a8d465a3a
(file_name_completion): Fix last change.
2001-10-13 12:21:36 +00:00
Eli Zaretskii
d013f29b1a
(file_name_completion): Ignore a candidate directory if
...
it matches an element in completion-ignored-extensions that ends
in a slash.
(syms_of_dired) <completion-ignored-extensions>: Mention the above
feature in the doc string.
(Ffile_name_completion): Ditto.
2001-10-13 11:57:52 +00:00
Gerd Moellmann
32c82ac0a1
Don't define min/max.
2001-10-08 08:08:08 +00:00
Gerd Moellmann
f8edfd760d
(Ffile_attributes): Use FIXNUM_OVERFLOW_P.
2001-10-06 23:41:39 +00:00
Eli Zaretskii
6198490427
(Ffile_attributes): Doc fix.
2001-09-14 16:49:13 +00:00
Eli Zaretskii
1c56232f0d
(file_name_completion): Pass dp->d_name to
...
Fstring_match, not elt, which is alays nil here.
2001-07-12 16:29:51 +00:00
Gerd Moellmann
f69f9da11e
(directory_files_internal): Handle EAGAIN more
...
efficiently.
2001-03-08 14:16:36 +00:00