Commit Graph
100 Commits
Author SHA1 Message Date
emma 2ad7140e1e Makefile: DESTDIR 2024-03-09 11:53:03 -07:00
emma 8193e471f0 changes redundant .unwrap_or_else(panic!()) to .unwrap() 2024-03-03 17:26:40 -07:00
emma c392dbc680 Makefile: better deps; fop(1), hru(1), strerror(3): changed strerror wrapper function name 2024-03-02 10:16:32 -07:00
emma 898044cd43 Makefile: better macro assignment 2024-03-01 23:51:36 -07:00
emma ca01ca4074 rpn(1): remove erroneous strerror(3) dependency 2024-03-01 23:14:58 -07:00
emma 3e6dc5cc46 rpn(1): make error messages consistent with other tools 2024-03-01 23:14:18 -07:00
emma cf1d16f860 hru(1): changed to use strerror(3) 2024-03-01 23:12:44 -07:00
emma 8f956d775c fop(1): changed to use strerror(3) 2024-03-01 23:10:28 -07:00
emma e81703c6e1 sterror(3): added library for C-like error messages; Makefile: some efficiency changes 2024-03-01 23:04:53 -07:00
emma c97201fca9 Merge branch 'contributing-changes' 2024-02-23 23:20:16 -07:00
emma 06fc461985 CONTRIBUTING: fixed random "utils" 2024-02-23 23:19:28 -07:00
emma e6b1db3f40 Merge branch 'hru' (closes #33) 2024-02-23 22:15:43 -07:00
emma ef1643660b hru(1): fixed lack of newline 2024-02-23 22:11:23 -07:00
emma b0636b416e Merge branch 'fop-trim' (closes #54, closes #58) 2024-02-23 22:05:56 -07:00
emma bd08ef479c hru(1): error handling tweaks 2024-02-23 21:58:23 -07:00
emma 3cee3de900 fop(1): committing to Rust error messages 2024-02-23 21:46:50 -07:00
emma 90de1bf9a4 Makefile: RUSTFLAGS not RUSTCFLAGS 2024-02-18 20:03:04 -07:00
emma 1c2e7ea14b Merge branch 'scrut-manpage' (fixes #49) 2024-02-18 15:20:13 -07:00
emma 0d445c71f4 CONTRIBUTING: fixed wording and updated 2024-02-18 15:09:09 -07:00
emma ee3877b607 hru.1: update manpage to be more clear 2024-02-18 14:59:12 -07:00
emma 0801d89128 hru(1): fixed kilo prefix 2024-02-18 14:49:09 -07:00
emma 413ee49af4 hru.1: updated manpage with correct SI reference 2024-02-16 21:36:16 -07:00
emma dac7567405 Merge branch 'readme-changes' (closes #51 & closes #24) 2024-02-16 21:02:41 -07:00
emma 97382b79fd README: changed dependency section and update copyright 2024-02-16 21:02:00 -07:00
emma cc93389232 README: added cpp(1) as build dep 2024-02-15 17:39:26 -07:00
emma 361f0ddb8b hru.1: added manpage for hru(1) 2024-02-14 23:31:54 -07:00
emma 448211bbe2 fop(1): better newline removal (preserves existing newlines) 2024-02-14 23:05:39 -07:00
emma 4c663bf9dd fop(1): closure fix 2024-02-14 22:55:28 -07:00
emma f8e3013563 fop(1): fixed trimming and handled unwraps (closes #58) 2024-02-14 22:53:45 -07:00
emma e3a0069180 hru(1): improved SI prefix logic 2024-02-14 00:07:06 -07:00
emma 1299aefc39 hru(1): fixed overflow 2024-02-13 23:56:01 -07:00
emma d0205b71da hru(1): read stdin until EOF 2024-02-13 17:48:25 -07:00
emma 1ee668aed6 hru(1): made it actually work 2024-02-13 17:32:31 -07:00
emma 5b364e104e rpn(1): fixed exponentiation 2024-02-13 16:57:29 -07:00
emma d45e3410f8 CONTRIBUTING: fixed some small issues 2024-02-07 22:03:08 -07:00
emma 452a1295e6 CONTRIBUTING: updated and added copyright info 2024-02-07 21:54:46 -07:00
emma fa686eefb9 hru(1): updated copyright year 2024-02-07 21:42:43 -07:00
emma 42c5c5642e README: bullets 2024-02-07 21:38:32 -07:00
emma c753eeea9c README: added build information and copyright 2024-02-07 21:27:43 -07:00
emma be89e72c45 Makefile, hru(1): add hru(1) 2024-02-07 20:58:57 -07:00
emma d3470233ea Makefile, .gitignore, tests/cc-compat.sh: brought up-to-date 2024-02-07 20:13:45 -07:00
emma 3e39739e88 Makefile: added rpn to all 2024-02-07 19:42:11 -07:00
emma 0f5247e722 merged rpn(1); closes #2 2024-02-07 19:23:51 -07:00
emma 7fb68a2c7a rpn.1: fixed DESCRIPTION 2024-02-07 19:17:59 -07:00
emma b95b198923 rpn(1): typo 2024-02-07 19:12:31 -07:00
emma af53375ff2 rpn.1: fixed some clunky stuff 2024-02-07 19:11:53 -07:00
emma 4e040e0021 rpn(1): added alternative representation for powers 2024-02-07 18:51:58 -07:00
emma d768a257a3 rpn(1): made EvaluationError struct contain exit code 2024-02-06 23:29:43 -07:00
emma 5b47936477 Makefile: removed configure and made library builds better 2024-02-06 22:21:46 -07:00
emma 8e0eaeab38 rpn.1: made more better 2024-02-03 17:20:31 -07:00
emma 6d7522be01 rpn.1: made better 2024-02-02 23:24:45 -07:00
emma 228a0111c7 rpn(1): fixed Invalid error handling 2024-02-02 21:05:34 -07:00
emma a30152d783 rpn.1: made more precise 2024-02-02 20:12:12 -07:00
emma 4993c53080 rpn(1): re-fixed arg parsing 2024-02-02 19:17:00 -07:00
emma 6f98fdd1d4 rpn(1): fixed expressions on one line 2024-02-02 19:13:53 -07:00
emma fb2a164507 rpn(1): rewrote parser for the second time 2024-02-02 15:35:36 -07:00
emma 4cb5e8e2b0 rpn(1): better error handling 2024-02-02 14:16:49 -07:00
emma 885f167afc rpn(1): changes to error message 2024-02-02 13:04:57 -07:00
emma 258881dbb2 rpn(1): minor change 2024-02-01 23:35:49 -07:00
emma b35f87bd27 rpn(1): code cleanup 2024-02-01 23:34:20 -07:00
emma e7ee75b03f rpn(1): added From trait to CalcType 2024-02-01 23:32:37 -07:00
emma 0d97f81f49 rpn(1): unicode subtraction, multiplication, division & code cleanup 2024-02-01 13:06:46 -07:00
emma b68f13acdc rpn(1): added floor division 2024-02-01 12:38:12 -07:00
emma 42d268319e docs/rpn.1: added manpage 2024-02-01 11:36:38 -07:00
emma f7108245ea rpn(1): more code cleanup 2024-02-01 10:54:28 -07:00
emma 34b9519e03 rpn(1): code cleanup 2024-02-01 10:46:10 -07:00
emma 90ca10990f Makefile: fixed build 2024-02-01 01:35:31 -07:00
emma f966233e19 Makefile: RUSTCFLAGS -> RUSTFLAGS 2024-02-01 01:33:47 -07:00
emma 5f8e90b592 rpn(1): added modulo 2024-02-01 01:26:48 -07:00
emma 5debb9d954 rpn(1): highest possible precision 2024-02-01 01:18:13 -07:00
emma 942e284f93 rpn(1): fixed exiting the program on EOF 2024-02-01 00:57:51 -07:00
emma 4870f4679c Makefile, rpn(1): add sysexits dependency 2024-02-01 00:41:27 -07:00
emma 32537895cb Makefile: added rpn build recipe 2024-02-01 00:31:41 -07:00
emma ab4d732aaf rpn: initial working prototype 2024-02-01 00:24:38 -07:00
emma e246290bff Merge branch 'djfix' 2024-01-31 13:56:04 -07:00
emma caff26209e configure: fixed lack of rustc compiler argument parsing 2024-01-19 20:31:34 -07:00
emma 9095602296 Merge branch 'makefile-fixes' (closes #29) 2024-01-19 20:29:14 -07:00
emma 7cc5cf162c Merge branch 'djman' (closes #30) 2024-01-19 20:28:18 -07:00
emma 601954a0f6 Merge branch 'dj-fixes' 2024-01-19 20:27:31 -07:00
emma 5e1749ca43 configure: now you can do multiple compilers! 2024-01-16 16:47:26 -07:00
emma f99cc797e6 Makefile: changed to be POSIX-compliant 2024-01-16 16:43:00 -07:00
emma 48c6ad1252 tests: updated tests with copyright and Makefile 2024-01-15 23:28:52 -07:00
emma 0cbfb5c6cc Makefile: moved man pages to $PREFIX/share/man 2024-01-15 23:13:53 -07:00
emma 04923fb1ad Makefile, true(1), false(1): ported true and false back to C for simplicity and size 2024-01-15 16:53:34 -07:00
emma c444198efc closed #18 2024-01-15 16:49:46 -07:00
emma 28becbafbc fop(1): updated copyright year and usage info 2024-01-15 16:33:51 -07:00
emma 52def0a32d Makefile, fop(1): added argument parsing and -d option 2024-01-15 16:30:00 -07:00
emma 91e129b813 Makefile, getopt-rs: added getopt-rs library 2024-01-15 15:50:12 -07:00
emma 49a3bb9f30 Makefile, .gitignore, .editorconfig, configure, tests/cc-compat.sh: added configure script for compiler optimizations 2024-01-15 15:30:21 -07:00
emma 622c13021d GNUmakefile: replaced with POSIX Makefile 2024-01-15 14:34:59 -07:00
emma 0c2223d4fb getopt-rs(3): added getopt library for Rust 2023-12-29 15:17:39 -07:00
emma 75ead441ec .editorconfig: Makefile and shell file indentation 2023-12-28 23:34:23 -07:00
emma f89a686d3c fop(1): made checking argv better 2023-12-28 22:42:05 -07:00
emma cb12a5b8fc GNUmakefile: relative path for include, formatting 2023-12-28 22:33:04 -07:00
emma 6f4756bc76 GNUmakefile: made compliant with fhs(5) 2023-12-28 01:27:13 -07:00
emma e16e7bd322 GNUmakefile: made install recipe not install non-existent files 2023-12-28 01:07:30 -07:00
emma 5df9c33d70 GNUmakefile: bandaid solution to fallback sysexits.h not working with Rust 2023-12-27 23:20:31 -07:00
emma 9ed70e9648 GNUmakefile: removed stdlib dep 2023-12-27 22:48:36 -07:00
emma b74bbd6c92 fop(1): finished implementing sysexits 2023-12-27 22:47:06 -07:00
emma 3355cb3dc3 GNUmakefile, fop(1): added sysexits support 2023-12-27 22:42:50 -07:00