Commit Graph

44 Commits

Author SHA1 Message Date
Lorenzo Cogotti d2e35dce50 [examples/cat] Fix exit status. 2023-02-17 11:22:26 +01:00
Lorenzo Cogotti 4694eba54d [examples/truncate] Fix comments. 2022-12-15 20:11:56 +01:00
Lorenzo Cogotti 9086bbd527 [osx] Document isatty(). 2022-12-15 19:41:14 +01:00
Lorenzo Cogotti d7cb61142c [examples/cat] Add author. 2022-12-15 19:37:57 +01:00
Lorenzo Cogotti b30a6e19cb [examples/ls] Improve comments. 2022-12-15 19:37:04 +01:00
Lorenzo Cogotti b62adb2316 [examples/cat] Add cat example. 2022-12-15 19:36:47 +01:00
Lorenzo Cogotti ba72d29ef9 [examples/replace] Minor fixes to comments and add SYNOPSIS. 2022-12-15 19:36:23 +01:00
Lorenzo Cogotti d056382b5c [osx] Add isatty(). 2022-12-15 19:34:49 +01:00
Lorenzo Cogotti 55f642b328 [examples/truncate] Add example for osx.chsize(). 2022-12-15 16:45:32 +01:00
Lorenzo Cogotti 90753c7002 [Makefile] Also update uninstall target. 2022-12-15 11:54:51 +01:00
Lorenzo Cogotti ebcc9c4220 [Makefile] Respect luarocks install path rules. 2022-12-15 11:53:59 +01:00
Lorenzo Cogotti eefe4d3f6c [examples/ls] Add ls example. 2022-12-15 11:52:29 +01:00
Lorenzo Cogotti c55267d256 [examples/rename] Yet more comment improvements. 2022-12-15 09:47:40 +01:00
Lorenzo Cogotti c70b7d8ca2 [examples/rename] Append newline to messages. 2022-12-15 09:42:52 +01:00
Lorenzo Cogotti 3ea3eeaa67 [examples/rename] Fix variable names. 2022-12-15 09:38:57 +01:00
Lorenzo Cogotti ca5ea0085c [examples/rename] Improve comments. 2022-12-15 09:38:16 +01:00
Lorenzo Cogotti ba26f107da [examples/rename] Add mass file rename example. 2022-12-15 09:35:18 +01:00
Lorenzo Cogotti 2de1d642ec [Makefile] Add README.md to doc target dependencies. 2022-12-14 13:50:42 +01:00
Lorenzo Cogotti ebfd9afe09 [README] Typo fix. 2022-12-14 13:23:37 +01:00
Lorenzo Cogotti 3598c37c91 [README] Minor formatting and link fixes. 2022-12-14 13:08:08 +01:00
Lorenzo Cogotti 217cefd4dd [README] Minor improvements. 2022-12-14 12:52:50 +01:00
Lorenzo Cogotti 20f98c70c3 [Makefile] space->tab fix. 2022-12-14 12:46:15 +01:00
Lorenzo Cogotti 1b195e1770 [README] LDoc link could also use a link target... 2022-12-14 12:43:54 +01:00
Lorenzo Cogotti 618c775cf5 [README] Add documentation walkthrough. 2022-12-14 12:41:04 +01:00
Lorenzo Cogotti 47768e58c5 [config.mk] Add -f flag to RM. 2022-12-14 12:38:12 +01:00
Lorenzo Cogotti d66fc53544 [Makefile] Also remove doc directory on clean 2022-12-14 12:37:45 +01:00
Lorenzo Cogotti 7983229896 [Makefile,config.mk] Add rules to generate docs. 2022-12-14 12:34:47 +01:00
Lorenzo Cogotti fdba08f403 [.gitignore] Cleanup .gitignore, exclude doc folder. 2022-12-14 12:30:05 +01:00
Lorenzo Cogotti d440a40863 [osx,config.ld] Add LDoc documentation. 2022-12-14 12:28:41 +01:00
Lorenzo Cogotti 405da8b141 [README] Improve README. 2022-12-13 11:35:30 +01:00
Lorenzo Cogotti e67135cbab [osx] Minor style fix. 2022-12-13 11:34:07 +01:00
Lorenzo Cogotti 9f4c8b7a98 [osx] Avoid using _fseeki64_nolock(), does not buy much and not very compatible. 2022-12-12 19:54:38 +01:00
Lorenzo Cogotti 89751336d2 [osx] Properly handle 0 length on Windows implementation of flocking(). 2022-12-12 19:46:30 +01:00
Lorenzo Cogotti 0e3125e59c [osx] sys_posix_fadvise()->fadvise(). 2022-12-12 15:58:36 +01:00
Lorenzo Cogotti 1cc6bb3a90 [osx] Improve os_getcwd() on Lua>=52. 2022-12-12 15:57:54 +01:00
Lorenzo Cogotti abb3d56a45 [luacompat] luaL_pushfail() was actually introduced with Lua 5.3. 2022-12-12 15:47:34 +01:00
Lorenzo Cogotti 0f893a4682 [osx.c] Add directory __tostring() metamethod. 2022-12-12 12:35:48 +01:00
Lorenzo Cogotti 672f94e73d [osx.c] Add file range locking functionality. 2022-12-12 12:35:24 +01:00
Lorenzo Cogotti 31bc1077c1 [osx.c] Rework directory iteration.
- add opendir() to open a directory and return it.
- add directory listfiles() method, returning all remaining entries as
  an array
- rework directory iteration
2022-12-12 00:42:36 +01:00
Lorenzo Cogotti 86904f62c0 [rockspec] Add LuaRocks rock file. 2022-12-11 19:38:35 +01:00
Lorenzo Cogotti 7c36f77dfa [*] First commit. 2022-12-11 18:58:11 +01:00
Lorenzo Cogotti d0d88a62a1 [.gitignore] Add .gitignore file. 2022-12-11 18:35:17 +01:00
Lorenzo Cogotti 8d3e099abc [LICENSE] Improve formatting 2022-12-11 18:33:47 +01:00
Lorenzo Cogotti 56202b4e18 Initial commit 2022-12-10 17:44:03 +01:00