Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Initial pass reformatting all code. | mitchell | 2021-04-11 |
| | | | | Use clang-format, LuaFormatter, and 100 character limit on lines. | ||
* | Updated copyright information. | mitchell | 2021-01-29 |
| | |||
* | `io.get_project_root()` accepts an optional flag for returning a submodule root. | mitchell | 2021-01-22 |
| | | | | | This is for systems like git that have '.git' files (not directories) for submodules under a parent '.git' directory. | ||
* | Fixed `buffer:reload()` only reloading up to a NUL byte, if present. | mitchell | 2020-12-22 |
| | |||
* | Do not show deleted files in recent file list. | mitchell | 2020-12-15 |
| | |||
* | Do not prompt for file reload during `io.close_all_buffers()`. | mitchell | 2020-12-15 |
| | |||
* | Code cleanup. | mitchell | 2020-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. | ||
* | Small LuaDoc update. | mitchell | 2020-10-08 |
| | |||
* | Only change EOL mode if an EOL is actually detected. | mitchell | 2020-10-06 |
| | |||
* | Increase the width of dialogs that hold filenames in the terminal version. | mitchell | 2020-10-05 |
| | | | | Long filenames are clipped. | ||
* | Updated copyright information. | mitchell | 2020-09-29 |
| | |||
* | Fixed `io.quick_open()` not doing anything when file limit was exceeded. | mitchell | 2020-09-27 |
| | |||
* | Added `events.FILE_{BEFORE,AFTER}_RELOAD` and save/restore bookmarks. | mitchell | 2020-09-19 |
| | | | | Also moved buffer state save/restore into ui module. | ||
* | More small documentation updates. | mitchell | 2020-09-14 |
| | |||
* | Updated some documentation and use macOS instead of Mac OSX. | mitchell | 2020-08-17 |
| | |||
* | Small LuaDoc update. | mitchell | 2020-07-26 |
| | |||
* | Updated LuaDoc. | mitchell | 2020-07-23 |
| | |||
* | Minor LuaDoc updates and spelling corrections. | mitchell | 2020-07-16 |
| | |||
* | Replaced `lfs.dir_foreach()` with `lfs.walk()` generator. | mitchell | 2020-06-10 |
| | |||
* | Allow views to be used as buffers and update API. | mitchell | 2020-05-25 |
| | | | | | | | This allows for a superficial separation of buffer- and view-specific Scintilla functionality. buffers and views can now be used interchangeably for the most part, and the APIs are guidance, not hard requirements. User scripts do not require any modification and will continue to function normally. | ||
* | Updated LuaDoc. | mitchell | 2020-04-16 |
| | |||
* | Added support to identify projects under Fossil SCM. | mitchell | 2020-03-26 |
| | |||
* | Switched to 1-based indices for buffer positions, lines, and countable entities. | mitchell | 2020-03-26 |
| | |||
* | Moved individual buffer functions in `io` into `buffer`. | mitchell | 2020-03-16 |
| | | | | e.g. `io.reload_buffer()` was renamed `buffer:reload()`. | ||
* | Use a default width for `ui.dialogs.filteredlist` dialogs. | mitchell | 2020-03-16 |
| | | | | | 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. | ||
* | More code cleanup and refactoring. | mitchell | 2020-03-13 |
| | |||
* | More code cleanup, refactoring, and formatting. | mitchell | 2020-03-11 |
| | |||
* | Core code cleanup, reformat, refactoring, and bugfixes. | mitchell | 2020-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. | mitchell | 2020-03-03 |
| | |||
* | Small code cleanup. | mitchell | 2020-02-26 |
| | |||
* | Removed '_' mnemonics from locale keys. | mitchell | 2020-02-21 |
| | | | | Kept backward-compatibility for now. | ||
* | Tweaked localization keys. | mitchell | 2020-02-21 |
| | | | | | This is in anticipate of removing '_' from keys, which would have created duplicate keys. | ||
* | Updated copyright year. | mitchell | 2019-12-31 |
| | |||
* | Use CP1252 instead of ISO-8859-1. | mitchell | 2019-07-30 |
| | | | | CP1252 is a superset of ISO-8859-1. | ||
* | Fixed bug with filters that have extension includes and pattern excludes. | mitchell | 2019-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. | mitchell | 2019-02-16 |
| | |||
* | Do not limit version control markers to directories. | mitchell | 2019-01-31 |
| | | | | At least git allows files named '.git'. | ||
* | Ensure long filenames are visible in the reload dialog prompt on curses. | mitchell | 2018-12-17 |
| | |||
* | Changed filter format to be more flat and intuitive. | mitchell | 2018-11-26 |
| | | | | | Filters are now simply lists of inclusive and exclusive patterns. Added temporary compatibility and notice for old-style filters. | ||
* | Removed optional '*' prefix in I/O reads. | mitchell | 2018-07-28 |
| | | | | Lua 5.3 made them optional and LuaJIT support has been dropped. | ||
* | Added UTF-16 to the default list of detected encodings. | mitchell | 2018-02-16 |
| | |||
* | Updated copyright year. | mitchell | 2018-01-25 |
| | |||
* | Added optional encoding parameter to `io.open_file()`. | mitchell | 2017-08-20 |
| | | | | | Sometimes encoding auto-detection via `io.encodings` is more trouble than it's worth. | ||
* | Small code cleanup. | mitchell | 2017-06-23 |
| | |||
* | Updated copyright information. | mitchell | 2016-12-31 |
| | |||
* | Removed MacRoman encoding option, as OSX uses UTF-8 by default. | mitchell | 2016-11-04 |
| | |||
* | Allow detection of encodings with NUL bytes like UTF-16; core/file_io.lua | mitchell | 2016-10-19 |
| | |||
* | Small code cleanup and documentation updates. | mitchell | 2016-06-27 |
| | |||
* | Changed arguments to `ui.goto_view()` and `view:goto_buffer()`. | mitchell | 2016-06-16 |
| | | | | | They can accept either objects or relative numbers now. They do not accept absolute indices anymore. | ||
* | Lots of small LuaDoc improvements (grammar mainly). | mitchell | 2016-06-15 |
| |