aboutsummaryrefslogtreecommitdiff
path: root/core/file_io.lua
AgeCommit message (Collapse)Author
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
2014-11-06Use the current working directory in fileselect dialogs.mitchell
This should have been committed long ago.
2014-06-30Condensed manual and API documentation into single files.mitchell
2014-06-20Added `event.FOCUS` for when Textadept's window receives focus.mitchell
2014-06-12Lua code cleanup.mitchell
2014-06-04Pressing "Enter" in message buffer simulates double-click.mitchell
In a "Find in Files" buffer, goes to the file on the current line. In a message buffer, jumps to the error or warning on the current line.
2014-05-23Renamed `io.set_buffer_encoding()` to `buffer:set_encoding()`.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-03-28Added more documentation on project building.mitchell
2014-03-27Added basic project support for snapopen and build scripts.mitchell
Also fixed some curses errors introduced by the last commit.
2014-03-26Include my new "lspawn" module by default for spawning processes.mitchell
The `textadept.run` module now uses `spawn()` instead of `io.popen()`. This module replaces the dependency on winapi. Removed experimental `io.popen()` and `os.execute()` hooks. They may be re-implemented later using `spawn()`.
2014-03-01Use `assert(...)` as a shortcut for `if not ... then error() end`.mitchell
2014-02-10Improved compatibility of experimental winapi `os.execute()`; core/file_io.luamitchell
2014-01-12Updated copyright information.mitchell
2014-01-03Handle './' and '../' sequences in filepaths; core/file_io.luamitchell
2013-12-15Added dummy `flush()` for processes in experimental winapi; core/file_io.luamitchell
2013-12-14Do not stop opening files if one of them is already open; core/file_io.luamitchell
2013-12-14Allow process writing in experimental winapi.mitchell
Other modifications to make the return value for `io.popen()` more file-like.