aboutsummaryrefslogtreecommitdiff
path: root/core/file_io.lua
AgeCommit message (Collapse)Author
2020-03-26Added support to identify projects under Fossil SCM.mitchell
2020-03-26Switched to 1-based indices for buffer positions, lines, and countable entities.mitchell
2020-03-16Moved individual buffer functions in `io` into `buffer`.mitchell
e.g. `io.reload_buffer()` was renamed `buffer:reload()`.
2020-03-16Use a default width for `ui.dialogs.filteredlist` dialogs.mitchell
Experience has shown a vast majority of filteredlist dialogs need to be wide. Use a standard width that needs to be overridden rather than remembered.
2020-03-13More code cleanup and refactoring.mitchell
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
2020-02-21Removed '_' mnemonics from locale keys.mitchell
Kept backward-compatibility for now.
2020-02-21Tweaked localization keys.mitchell
This is in anticipate of removing '_' from keys, which would have created duplicate keys.
2019-12-31Updated copyright year.mitchell
2019-07-30Use CP1252 instead of ISO-8859-1.mitchell
CP1252 is a superset of ISO-8859-1.
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
2019-01-31Do not limit version control markers to directories.mitchell
At least git allows files named '.git'.
2018-12-17Ensure long filenames are visible in the reload dialog prompt on curses.mitchell
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-07-28Removed optional '*' prefix in I/O reads.mitchell
Lua 5.3 made them optional and LuaJIT support has been dropped.
2018-02-16Added UTF-16 to the default list of detected encodings.mitchell
2018-01-25Updated copyright year.mitchell
2017-08-20Added optional encoding parameter to `io.open_file()`.mitchell
Sometimes encoding auto-detection via `io.encodings` is more trouble than it's worth.
2017-06-23Small code cleanup.mitchell
2016-12-31Updated copyright information.mitchell
2016-11-04Removed MacRoman encoding option, as OSX uses UTF-8 by default.mitchell
2016-10-19Allow detection of encodings with NUL bytes like UTF-16; core/file_io.luamitchell
2016-06-27Small code cleanup and documentation updates.mitchell
2016-06-16Changed arguments to `ui.goto_view()` and `view:goto_buffer()`.mitchell
They can accept either objects or relative numbers now. They do not accept absolute indices anymore.
2016-06-15Lots of small LuaDoc improvements (grammar mainly).mitchell
2016-06-15Allow binary files to be encoded in something else.mitchell
UTF-16 files (and other encodings with null bytes) are initially recognized as binary files (no encoding). Allow encodings to be set for such files after load.
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 `exclude_FILTER` parameter from `io.quick_open()`.mitchell
It was unnecessarily complicating things. Just construct the proper filter.
2016-06-15Removed CVS project recognition and assume Subversion v1.8+.mitchell
2016-06-15Removed explicit detection and use of extinct CR line endings.mitchell
It's quite possible some of Textadept's functions didn't handle them properly anyway.
2016-06-15Removed explicit BOM support.mitchell
BOM use is legacy and discouraged. Scintilla and iconv appear to silently handle BOMs just fine.
2016-06-15Renamed "snapopen" to "quick open" in APIs and menus.mitchell
2016-04-05Only convert filenames from `_CHARSET` to UTF-8, not UTF-8-encoded buffer names.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-12-10Do not visit buffers that do not need saving in `io.save_all_files()`.mitchell
This speeds up `io.save_all_files()`, particularly on remote filesystems. Thanks to Ivan Baidakou.
2015-10-17Do not error when trying to snapopen a non-existent project; core/file_io.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-03-12Lua code cleanup.mitchell
2015-03-10Made `io.boms` private, as there are few BOMs in existence; core/file_io.luamitchell
2015-03-09Moved `events.FILE_SAVED_AS` into `events.FILE_AFTER_SAVE` as extra argument.mitchell
2015-01-20Check for modified files after resuming from suspend; core/file_io.luamitchell
2014-12-31Updated copyright year.mitchell
2014-11-23File dialogs in the terminal should span the entire view; core/file_io.luamitchell
2014-11-12Code and documentation cleanup.mitchell