aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/lfs_ext.lua
Commit message (Collapse)AuthorAge
* Updated copyright year.Gravatar mitchell2022-01-31
|
* Initial pass reformatting all code.Gravatar mitchell2021-04-11
| | | | Use clang-format, LuaFormatter, and 100 character limit on lines.
* Updated copyright information.Gravatar mitchell2021-01-29
|
* Fixed `lfs.walk()` bug with root directory.Gravatar mitchell2020-11-03
| | | | Prevent dir to walk from becoming an empty string.
* Handle more types of recursive symlinks in `lfs.walk()`.Gravatar mitchell2020-10-25
|
* Handle recursive symlinks in `lfs.walk()`.Gravatar mitchell2020-10-25
|
* Code cleanup.Gravatar mitchell2020-10-20
| | | | | | | | | | | | | | | | 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.
* Updated copyright information.Gravatar mitchell2020-09-29
|
* Code cleanup.Gravatar mitchell2020-08-21
|
* Exclude Fossil version control directory in default filter.Gravatar mitchell2020-08-17
|
* Replaced `lfs.dir_foreach()` with `lfs.walk()` generator.Gravatar mitchell2020-06-10
|
* Always use capital drive letters when opening files in Windows.Gravatar mitchell2020-05-24
| | | | | Since Windows filenames are case-insensitive, mismatched drive letter case may cause the same file to be open twice.
* More code cleanup, refactoring, and formatting.Gravatar mitchell2020-03-11
|
* Core code cleanup, reformat, refactoring, and bugfixes.Gravatar mitchell2020-03-10
| | | | | `events.FILE_CHANGED` was not emitting a filename. Added tests for key commands, keychains, and key modes.
* Added test suite and API type checking for more helpful error messages.Gravatar mitchell2020-03-03
|
* Small code cleanup.Gravatar mitchell2020-02-26
|
* Updated copyright year.Gravatar mitchell2019-12-31
|
* Fixed bug with filters that have extension includes and pattern excludes.Gravatar mitchell2019-06-02
| | | | | | 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.
* Updated copyright year.Gravatar mitchell2019-02-16
|
* Fixed bug in new filter regarding extensions.Gravatar mitchell2018-11-29
| | | | If any extensions are specified as inclusive, exclude all others not specified.
* Changed filter format to be more flat and intuitive.Gravatar mitchell2018-11-26
| | | | | Filters are now simply lists of inclusive and exclusive patterns. Added temporary compatibility and notice for old-style filters.
* Updated copyright year.Gravatar mitchell2018-01-25
|
* Correctly handle multiple '!' patterns in file filters.Gravatar mitchell2017-06-21
| | | | This allows for specific file and folder includes.
* Updated copyright information.Gravatar mitchell2016-12-31
|
* Fixed inability to effectively halt `lfs.dir_foreach()` loops; core/lfs_ext.luaGravatar mitchell2016-07-04
|
* Changed some of 'lfs_ext' API.Gravatar mitchell2016-06-15
| | | | | Renamed `lfs.FILTER` to `lfs.default_filter` and removed `exclude_FILTER` argument from `lfs.dir_foreach()`.
* Removed CVS project recognition and assume Subversion v1.8+.Gravatar mitchell2016-06-15
|
* Code cleanup.Gravatar mitchell2016-04-02
| | | | Do not use `ipairs()` and use more consistent variable names among other things.
* Updated copyright date.Gravatar mitchell2015-12-31
|
* Fixed bug resolving relative paths with multiple '../'; core/lfs_ext.luaGravatar mitchell2015-11-19
|
* Added `symlink` filter option for ignoring symlinked files and directories.Gravatar mitchell2015-04-13
|
* Code cleanup based on the output of luacheck, a Lua linter.Gravatar mitchell2015-03-16
|
* Fix opening network path files on Win32.Gravatar mitchell2015-01-15
| | | | Thanks to Daniel Wutke.
* Updated copyright year.Gravatar mitchell2014-12-31
|
* Fixed bug when iterating over root directory; core/lfs_ext.luaGravatar mitchell2014-11-25
| | | | Files returned had two leading slashes (//etc, //usr, etc.).
* More options for `lfs.dir_foreach()`; core/lfs_ext.luaGravatar mitchell2014-08-15
| | | | | A limit on the level of directories to recurse into can be placed, and directory names can be passed to functions.
* Condensed manual and API documentation into single files.Gravatar mitchell2014-06-30
|
* Updated LuaDoc.Gravatar mitchell2014-05-28
|
* Updated LuaDoc.Gravatar mitchell2014-05-28
|
* Fixed bug introduced by r1710 relating to absolute paths.Gravatar mitchell2014-04-10
|
* Added `lfs.abspath()` in order to always use absolute paths.Gravatar mitchell2014-04-06
| | | | Thanks to Pedro Andres Aranda Gutierrez.
* Updated copyright information.Gravatar mitchell2014-01-12
|
* Updated LuaDoc.Gravatar mitchell2013-11-10
|
* More LuaDoc updates.Gravatar mitchell2013-10-09
|
* Do not convert filenames to UTF-8; keep them in `_CHARSET`.Gravatar mitchell2013-09-15
|
* Updated LuaDoc.Gravatar mitchell2013-09-06
|
* Added lfs.dir_foreach() for allowing Find in Files to have a filter.Gravatar mitchell2013-03-25
Also moved snapopen module into core as io.snapopen().