sunwait

Commits at c9ba514396164e8a9007d89875820c89199928b9

  1. 5be27e01 Parse date args on "report" command Shota FUJI authored at Shota FUJI comitted at
  2. 8e71843d Call "generate_report" on report command Shota FUJI authored at Shota FUJI comitted at
  3. 88c46686 Support hyphen-less "utc" flag Required for behavior matching tests. Shota FUJI authored at Shota FUJI comitted at
  4. f272abe2 Set correct default value for "targetTimet" Shota FUJI authored at Shota FUJI comitted at
  5. 4a52d259 Run "print_list" on "list" command It does not work correctly because the default value of `target_time` being the same as `now` instead of "start of the day of `now`." Anyway, the command prints something and exits with expected status. That's okay for now. Shota FUJI authored at Shota FUJI comitted at
  6. 66781b3d Fix lat/lon accepts negative number with suffix Values like -1.2345N are illegal and confusing. As I've added "--latitude" and "--longitude" options, there are no need for supporting negative suffixed values. Shota FUJI authored at Shota FUJI comitted at
  7. c5402dc6 Add --latitude and --longitude options This is obvious and less error-prone. I'm gonna keep non-flag variants for compatibility. Shota FUJI authored at Shota FUJI comitted at
  8. 74ebda97 Defer getting now/target time CLI does not take argument for "now". Also "target" defaults to "now". Shota FUJI authored at Shota FUJI comitted at
  9. 7b4e63f6 Print poll result to stdout Shota FUJI authored at Shota FUJI comitted at
  10. f2ec1ae9 Parse latitude and longitude CLI args Shota FUJI authored at Shota FUJI comitted at
  11. a3e7b62b Support command argument Shota FUJI authored at Shota FUJI comitted at
  12. 8249d378 UTC flag Instead of "--utc" being an alias for "--gmt", I swapped those too. Shota FUJI authored at Shota FUJI comitted at
  13. d3848966 Debug flag I did not added "verbose" alias because it's incorrect--the "debug" flag shortens wait time and that's not "verbose" or not. Shortening wait time is not appropriate for "--debug" too, but never it is verbosity. The original version also has "-v" alias in flag handling code, but it won't be handled because "version" flag has "-v" alias and it captures the arg eariler. Shota FUJI authored at Shota FUJI comitted at
  14. dab5ef6c Add help flag to Zig main Shota FUJI authored at Shota FUJI comitted at
  15. 81427ae9 Implement version flag to Zig main Shota FUJI authored at Shota FUJI comitted at
  16. 0f68071e Skip tests for features not implemented yet Errors are so noisy. Shota FUJI authored at Shota FUJI comitted at
  17. c6acef26 Add behavior matching tests to build system This allows me to develop new CLI main in a more TDD-ish way. Shota FUJI authored at Shota FUJI comitted at
  18. 8ffc19d7 Add Zig main The most painful point of this software is it's CLI design. Unstructured flags and surprising behaviors. The biggest reason I forked is to rewrite the CLI frontend. Shota FUJI authored at Shota FUJI comitted at
  19. b4e9177a Remove unused annotation from REUSE.toml The REUSE tool won't complain unexistent file path, though. This is just a cleanup. Shota FUJI authored at Shota FUJI comitted at
  20. 2af7c1d7 Man page for sunwait(1) It is more readable than plain text and more familiar to many people. Shota FUJI authored at Shota FUJI comitted at
  21. ceec2038 Configure Zig build system I hate C toolchains. I mean, cryptic warnings and errors they outputs. My current plan is to gradually replacing C with Zig, starting from "main" function. Shota FUJI authored at Shota FUJI comitted at
  22. 5e88a06b Create copyright and license file for current files File format and directory structure follows REUSE 3.3 specification. <https://reuse.software/spec-3.3/> Copyright texts are from actual source code. README file does not include neither copyright nor license text. I choose GPL-3.0-only rather than GPL-3.0-or-later because: * no file but LICENSE contains "or any later version", which indicates GPL-3.0-or-later * GPL-3.0-only looks safer, as GPL-3.0-or-later technically widens license without copyright holder's permission. I plan to gradually rewrite/replace every file so...I hope I can remove this REUSE.toml file in a future. Shota FUJI authored at Shota FUJI comitted at
  23. dca3da5a Delete Visual Studio config files Why? Shota FUJI authored at Shota FUJI comitted at
  24. 4a43b712 Remove openwrt/ directory I'm not willing to keep build configs for copy and paste "SDK." Shota FUJI authored at Shota FUJI comitted at
  25. 151d8340 Switch to C++ to C. Thanks Michael Stilkerich; I never liked C++ anyway. Dan Risacher authored at Dan Risacher comitted at
  26. 49f9a3f1 random tech-debt and harmonization changes Dan Risacher authored at Dan Risacher comitted at
  27. d282e985 Bump version number to include syntax fix Dan Risacher authored at Dan Risacher comitted at
  28. 691e85f7 fix a weird syntax error. How did this ever work? Dan Risacher authored at Dan Risacher comitted at
  29. d750d22c Merge pull request #29 from linuxkidd/master Fix unused computed valued warning during sunwait.cpp compile. Daniel Risacher authored at GitHub comitted at
  30. 39a8d864 Merge pull request #31 from ckuethe/patch-1 document use of an arbitrary date specification Daniel Risacher authored at GitHub comitted at