aboutsummaryrefslogtreecommitdiff
path: root/core/lfs_ext.lua
AgeCommit message (Collapse)Author
2020-11-03Fixed `lfs.walk()` bug with root directory.mitchell
Prevent dir to walk from becoming an empty string.
2020-10-25Handle more types of recursive symlinks in `lfs.walk()`.mitchell
2020-10-25Handle recursive symlinks in `lfs.walk()`.mitchell
2020-10-20Code cleanup.mitchell
Of note: * io.save_all_files() does not visit each buffer to save anymore. An unintended side-effect was checking for outside modification (but only if the file itself was modified), so outside changes will always be saved over now. * The menu clicked handler uses assert_type(), so the 'Unknown command' localization is no longer needed. * When printing to a new buffer type would split the view, use an existing split view when possible. * Prefer 'goto continue' construct in loops over nested 'if's. * Fixed clearing of ui.find.replace_entry_text on reset in the GUI version. * Fixed lack of statusbar updating when setting options like buffer EOL mode, indentation, and encoding. * Renamed internal new_snippet() to new() and put it in the snippet metatable.
2020-09-29Updated copyright information.mitchell
2020-08-21Code cleanup.mitchell
2020-08-17Exclude Fossil version control directory in default filter.mitchell
2020-06-10Replaced `lfs.dir_foreach()` with `lfs.walk()` generator.mitchell
2020-05-24Always use capital drive letters when opening files in Windows.mitchell
Since Windows filenames are case-insensitive, mismatched drive letter case may cause the same file to be open twice.
2020-03-11More code cleanup, refactoring, and formatting.mitchell
2020-03-10Core code cleanup, reformat, refactoring, and bugfixes.mitchell
`events.FILE_CHANGED` was not emitting a filename. Added tests for key commands, keychains, and key modes.
2020-03-03Added test suite and API type checking for more helpful error messages.mitchell
2020-02-26Small code cleanup.mitchell
2019-12-31Updated copyright year.mitchell
2019-06-02Fixed bug with filters that have extension includes and pattern excludes.mitchell
This was particularly problematic when attempting to fetch all files with a given extension, but not in a particular directory. Also updated some relevant LuaDoc and removed temporary compatibility warnings.
2019-02-16Updated copyright year.mitchell
2018-11-29Fixed bug in new filter regarding extensions.mitchell
If any extensions are specified as inclusive, exclude all others not specified.
2018-11-26Changed filter format to be more flat and intuitive.mitchell
Filters are now simply lists of inclusive and exclusive patterns. Added temporary compatibility and notice for old-style filters.
2018-01-25Updated copyright year.mitchell
2017-06-21Correctly handle multiple '!' patterns in file filters.mitchell
This allows for specific file and folder includes.
2016-12-31Updated copyright information.mitchell
2016-07-04Fixed inability to effectively halt `lfs.dir_foreach()` loops; core/lfs_ext.luamitchell
2016-06-15Changed some of 'lfs_ext' API.mitchell
Renamed `lfs.FILTER` to `lfs.default_filter` and removed `exclude_FILTER` argument from `lfs.dir_foreach()`.
2016-06-15Removed CVS project recognition and assume Subversion v1.8+.mitchell
2016-04-02Code cleanup.mitchell
Do not use `ipairs()` and use more consistent variable names among other things.
2015-12-31Updated copyright date.mitchell
2015-11-19Fixed bug resolving relative paths with multiple '../'; core/lfs_ext.luamitchell
2015-04-13Added `symlink` filter option for ignoring symlinked files and directories.mitchell
2015-03-16Code cleanup based on the output of luacheck, a Lua linter.mitchell
2015-01-15Fix opening network path files on Win32.mitchell
Thanks to Daniel Wutke.
2014-12-31Updated copyright year.mitchell
2014-11-25Fixed bug when iterating over root directory; core/lfs_ext.luamitchell
Files returned had two leading slashes (//etc, //usr, etc.).
2014-08-15More options for `lfs.dir_foreach()`; core/lfs_ext.luamitchell
A limit on the level of directories to recurse into can be placed, and directory names can be passed to functions.
2014-06-30Condensed manual and API documentation into single files.mitchell
2014-05-28Updated LuaDoc.mitchell
2014-05-28Updated LuaDoc.mitchell
2014-04-10Fixed bug introduced by r1710 relating to absolute paths.mitchell
2014-04-06Added `lfs.abspath()` in order to always use absolute paths.mitchell
Thanks to Pedro Andres Aranda Gutierrez.
2014-01-12Updated copyright information.mitchell
2013-11-10Updated LuaDoc.mitchell
2013-10-09More LuaDoc updates.mitchell
2013-09-15Do not convert filenames to UTF-8; keep them in `_CHARSET`.mitchell
2013-09-06Updated LuaDoc.mitchell
2013-03-25Added lfs.dir_foreach() for allowing Find in Files to have a filter.mitchell
Also moved snapopen module into core as io.snapopen().