aboutsummaryrefslogtreecommitdiffstats
path: root/src/dired.c
Commit message (Collapse)AuthorAgeFilesLines
* (directory_files_internal_unwind, directory_files_internal)YAMAMOTO Mitsuharu2006-08-271-0/+8
| | | | (file_name_completion): Add BLOCK_INPUT around opendir/closedir.
* Include blockinput.h.YAMAMOTO Mitsuharu2006-07-121-0/+3
| | | | (Ffile_attributes): Add BLOCK_INPUT around getpwuid/getgrgid.
* (directory_files_internal) [WINDOWSNT]: Find files case-insensitively.Eli Zaretskii2006-06-241-2/+8
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (DIRENTRY_NONEMPTY) [__CYGWIN__]: Use the MSDOS definition.Eli Zaretskii2006-01-271-1/+2
|
* (syms_of_dired) <completion-ignored-extensions>: Doc fix.Luc Teirlinck2006-01-221-5/+5
|
* * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correctDan Nicolaescu2005-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (directory_files_internal_unwind, directory_files_internal)Stefan Monnier2005-09-021-25/+21
| | | | | | | (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'.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-2/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (Ffile_name_completion): Make argument name match its use in docstring.Juanma Barranquero2005-05-081-1/+1
|
* Remove reference to defunct vms-pwd.h.Thien-Thi Nguyen2005-04-201-3/+3
| | | | For pwd.h, use HAVE_PWD_H, not !VMS.
* (Ffile_attributes): Add a missing gcpro.Stefan Monnier2005-03-241-0/+3
|
* (Vfile_name_coding_system, Vdefault_file_name_coding_system):Stefan Monnier2005-03-241-2/+1
| | | | Remove unused declarations.
* Don't declare Fmsdos_downcase_filename.Andreas Schwab2004-11-071-4/+0
|
* * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs inJan Djärv2004-11-071-0/+4
| | | | | | | | | | | | 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.
* (Ffile_attributes): Don't pass extra nil arg to file-handler.Stefan Monnier2004-04-151-1/+7
|
* (Ffile_attributes): Lisp_Object/int mixup.Stefan Monnier2004-01-201-3/+3
|
* (Fdirectory_files, Fdirectory_files_and_attributes):Lars Hansen2003-12-251-23/+4
| | | | Arguments GCPRO'ed in call to file name handler.
* (Ffile_attributes): Parameter ID-FORMAT added and included in call to fileLars Hansen2003-11-211-24/+53
| | | | | | | | 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.
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* (directory_files_internal): Don't expand directory.Kai Großjohann2003-02-231-1/+2
| | | | | (Fdirectory_files, Fdirectory_files_and_attributes): Do it here instead. From Lars Hansen <[email protected]>.
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-12/+12
|
* (file_name_completion): Fix that change.Richard M. Stallman2002-12-211-12/+6
| | | | Delete special quit-handling code; just use QUIT.
* (file_name_completion): Close directory on errorRichard M. Stallman2002-12-211-1/+8
|
* (Ffile_attributes): Don't return negative file sizes forJason Rumney2002-11-271-0/+5
| | | | files bigger than 2Gb when off_t is 32 bit.
* remove outdated commentKen Raeburn2002-07-211-1/+0
|
* * dired.c (directory_files_internal): Use SSET.Ken Raeburn2002-07-161-1/+1
|
* * dired.c (directory_files_internal): Use STRING_SET_CHARS.Ken Raeburn2002-07-151-1/+1
|
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-35/+35
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* Use macro SPECPDL_INDEX.Juanma Barranquero2002-07-111-2/+2
|
* (file_name_completion): Run the elements ofEli Zaretskii2001-12-191-0/+6
| | | | completion-ignored-extensions through ENCODE_FILE.
* (scmp): Function moved from minibuf.c.Richard M. Stallman2001-12-181-0/+30
| | | | Delete multibyte handling--used only on encoded strings.
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-11-131-68/+69
|
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-2/+2
|
* (file_name_completion): Fix last change.Eli Zaretskii2001-10-131-1/+1
|
* (file_name_completion): Ignore a candidate directory ifEli Zaretskii2001-10-131-1/+31
| | | | | | | | 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.
* Don't define min/max.Gerd Moellmann2001-10-081-2/+0
|
* (Ffile_attributes): Use FIXNUM_OVERFLOW_P.Gerd Moellmann2001-10-061-2/+2
|
* (Ffile_attributes): Doc fix.Eli Zaretskii2001-09-141-1/+2
|
* (file_name_completion): Pass dp->d_name toEli Zaretskii2001-07-121-1/+2
| | | | Fstring_match, not elt, which is alays nil here.
* (directory_files_internal): Handle EAGAIN moreGerd Moellmann2001-03-081-5/+13
| | | | efficiently.
* (directory_files_internal): Set result list to nilGerd Moellmann2001-02-161-1/+4
| | | | before retrying.
* (directory_files_internal): Initialize errno.Gerd Moellmann2001-02-131-0/+2
| | | | (toplevel): Include errno.h.
* (directory_files_internal): Convert result from readdirAndrew Innes2001-01-171-1/+1
| | | | | to a unibyte string initially, to avoid possible misinterpretation of some bytes as the internal form of Emacs characters.
* (Ffile_attributes): Fix last change, removing BSD4_3Gerd Moellmann2001-01-031-9/+4
| | | | kluge.
* (directory_files_internal): Fix a typo in a comment.Eli Zaretskii2001-01-021-4/+4
| | | | | | | | Remove an unused variable `handler'. (file_name_completion): Remove unused function-scope variable `dp'. (Ffile_attributes) <dirname, sdir>: Make declarations conditioned on BSD4_2.
* (directory_files_internal): Always return decoded filenames.Kenichi Handa2000-12-181-0/+2
|
* (directory_files_internal) [EAGAIN || EINTR]: RetryGerd Moellmann2000-11-151-7/+17
| | | | | reading the directory if readdir returns null and errno is EAGAIN or EINTR.
* (directory_files_internal): Fix a braino.Gerd Moellmann2000-11-091-2/+1
|