]> git.scottworley.com Git - tablify/log
tablify
2 months agoFactor out column_header_order()
Scott Worley [Fri, 4 Oct 2024 20:39:00 +0000 (13:39 -0700)]
Factor out column_header_order()

2 months agoStart on 0.5.0
Scott Worley [Fri, 4 Oct 2024 05:13:16 +0000 (22:13 -0700)]
Start on 0.5.0

2 months agoRelease 0.4.0 v0.4.0
Scott Worley [Fri, 4 Oct 2024 05:11:07 +0000 (22:11 -0700)]
Release 0.4.0

2 months ago`!hide` to hide a column
Scott Worley [Fri, 4 Oct 2024 04:54:51 +0000 (21:54 -0700)]
`!hide` to hide a column

2 months agoPlumb Config into render_all_leftovers()
Scott Worley [Fri, 4 Oct 2024 04:41:11 +0000 (21:41 -0700)]
Plumb Config into render_all_leftovers()

2 months agoUse Default trait for default Config
Scott Worley [Fri, 4 Oct 2024 04:38:41 +0000 (21:38 -0700)]
Use Default trait for default Config

2 months agoName the DEFAULT_CONFIG
Scott Worley [Fri, 4 Oct 2024 04:33:22 +0000 (21:33 -0700)]
Name the DEFAULT_CONFIG

2 months ago!colsep to separate !col columns
Scott Worley [Fri, 4 Oct 2024 03:48:45 +0000 (20:48 -0700)]
!colsep to separate !col columns

2 months agoShow line number in command-related error messages
Scott Worley [Thu, 3 Oct 2024 21:17:31 +0000 (14:17 -0700)]
Show line number in command-related error messages

2 months agoMake it more clear that the number in an error message is a line number
Scott Worley [Thu, 3 Oct 2024 21:12:08 +0000 (14:12 -0700)]
Make it more clear that the number in an error message is a line number

2 months agoInvalid/unknown commands are errors
Scott Worley [Thu, 3 Oct 2024 21:09:41 +0000 (14:09 -0700)]
Invalid/unknown commands are errors

2 months agoAllow forcing column layout with `!col <name>` in input
Scott Worley [Thu, 3 Oct 2024 10:14:53 +0000 (03:14 -0700)]
Allow forcing column layout with `!col <name>` in input

2 months agoPlumb config around
Scott Worley [Thu, 3 Oct 2024 05:00:39 +0000 (22:00 -0700)]
Plumb config around

2 months agoDon't compare entire Config in tests
Scott Worley [Thu, 3 Oct 2024 04:54:33 +0000 (21:54 -0700)]
Don't compare entire Config in tests

2 months agoRead column threshold from `!col_threshold <N>` in input
Scott Worley [Wed, 2 Oct 2024 21:15:46 +0000 (14:15 -0700)]
Read column threshold from `!col_threshold <N>` in input

2 months agoStart on 0.4.0
Scott Worley [Fri, 4 Oct 2024 05:09:08 +0000 (22:09 -0700)]
Start on 0.4.0

2 months agoRelease 0.3.0 v0.3.0
Scott Worley [Wed, 2 Oct 2024 09:45:42 +0000 (02:45 -0700)]
Release 0.3.0

2 months agoGet config from read_input()
Scott Worley [Wed, 2 Oct 2024 09:32:34 +0000 (02:32 -0700)]
Get config from read_input()

2 months agoMake read_rows() strict (not lazy)
Scott Worley [Wed, 2 Oct 2024 09:25:40 +0000 (02:25 -0700)]
Make read_rows() strict (not lazy)

3 months agoTweak appearance of spacer rows
Scott Worley [Thu, 26 Sep 2024 04:14:12 +0000 (21:14 -0700)]
Tweak appearance of spacer rows

3 months agoDouble blank lines in the input generate spacer rows
Scott Worley [Thu, 26 Sep 2024 03:56:52 +0000 (20:56 -0700)]
Double blank lines in the input generate spacer rows

3 months agoVerify double-line-skip behavior without spacer rows
Scott Worley [Thu, 26 Sep 2024 03:52:08 +0000 (20:52 -0700)]
Verify double-line-skip behavior without spacer rows

3 months agoRowlike: Allow spacer rows to be represented
Scott Worley [Thu, 26 Sep 2024 03:44:53 +0000 (20:44 -0700)]
Rowlike: Allow spacer rows to be represented

3 months agoTweak appearance of leftovers column
Scott Worley [Thu, 26 Sep 2024 01:45:08 +0000 (18:45 -0700)]
Tweak appearance of leftovers column

3 months agoDon't allocate columns to rare events
Scott Worley [Thu, 26 Sep 2024 01:36:50 +0000 (18:36 -0700)]
Don't allocate columns to rare events

3 months agoLeftovers column
Scott Worley [Thu, 26 Sep 2024 01:35:04 +0000 (18:35 -0700)]
Leftovers column

3 months agoextract render_instances()
Scott Worley [Thu, 26 Sep 2024 01:16:23 +0000 (18:16 -0700)]
extract render_instances()

3 months agoRename render_instance → render_one_instance
Scott Worley [Thu, 26 Sep 2024 01:03:09 +0000 (18:03 -0700)]
Rename render_instance → render_one_instance

3 months agoin render_row: name 'cells'
Scott Worley [Thu, 26 Sep 2024 00:43:45 +0000 (17:43 -0700)]
in render_row: name 'cells'

3 months agorender_row() test
Scott Worley [Wed, 25 Sep 2024 05:40:19 +0000 (22:40 -0700)]
render_row() test

3 months agoUse raw strings so strings with " in them are easier to read
Scott Worley [Thu, 12 Sep 2024 06:12:28 +0000 (23:12 -0700)]
Use raw strings so strings with " in them are easier to read

3 months agoRemove entries as they're rendered
Scott Worley [Thu, 12 Sep 2024 06:02:00 +0000 (23:02 -0700)]
Remove entries as they're rendered

3 months agoConfig
Scott Worley [Wed, 11 Sep 2024 23:09:06 +0000 (16:09 -0700)]
Config

3 months agoDon't be O(n^2) unnecessarily
Scott Worley [Thu, 29 Aug 2024 11:09:56 +0000 (04:09 -0700)]
Don't be O(n^2) unnecessarily

Use a HashMap to store a row's entries.

The InputLine refactor got tangled up in this too.

3 months agoMove the trim_end() down
Scott Worley [Thu, 29 Aug 2024 09:34:41 +0000 (02:34 -0700)]
Move the trim_end() down

We don't want to covert the String to a &str prematurely.

3 months agoPrefer &str over String
Scott Worley [Thu, 29 Aug 2024 09:26:09 +0000 (02:26 -0700)]
Prefer &str over String

At this intermediate step in this refactor, we leak() everything(!)

4 months agoEscape HTML characters properly
Scott Worley [Sat, 24 Aug 2024 10:24:01 +0000 (03:24 -0700)]
Escape HTML characters properly

4 months agoRefactor: Collect to Vec and join(" ")
Scott Worley [Sat, 24 Aug 2024 09:32:59 +0000 (02:32 -0700)]
Refactor: Collect to Vec and join(" ")

4 months agoCenter text in each cell
Scott Worley [Sat, 24 Aug 2024 08:52:41 +0000 (01:52 -0700)]
Center text in each cell

4 months agoStart on 0.3.0
Scott Worley [Sat, 24 Aug 2024 08:50:21 +0000 (01:50 -0700)]
Start on 0.3.0

4 months agoRelease 0.2.1 v0.2.1
Scott Worley [Tue, 20 Aug 2024 18:01:13 +0000 (11:01 -0700)]
Release 0.2.1

4 months agoStart a README
Scott Worley [Tue, 20 Aug 2024 17:58:01 +0000 (10:58 -0700)]
Start a README

4 months agoSort columns _descending_ by frequency
Scott Worley [Tue, 20 Aug 2024 17:38:24 +0000 (10:38 -0700)]
Sort columns _descending_ by frequency

4 months agoA little more space up top
Scott Worley [Tue, 20 Aug 2024 02:42:24 +0000 (19:42 -0700)]
A little more space up top

Someday-maybe: Dynamically guess at this from column title lengths.

4 months agoStart keeping a changelog
Scott Worley [Tue, 20 Aug 2024 17:41:16 +0000 (10:41 -0700)]
Start keeping a changelog

4 months agoStart on 0.2.1
Scott Worley [Tue, 20 Aug 2024 17:39:59 +0000 (10:39 -0700)]
Start on 0.2.1

4 months agoRelease 0.2.0 v0.2.0
Scott Worley [Mon, 19 Aug 2024 21:35:44 +0000 (14:35 -0700)]
Release 0.2.0

4 months agoRemove unused CSS
Scott Worley [Mon, 19 Aug 2024 21:23:26 +0000 (14:23 -0700)]
Remove unused CSS

4 months agoSet ids, add divs & triggers to engage with the CSS & JS
Scott Worley [Mon, 19 Aug 2024 21:16:42 +0000 (14:16 -0700)]
Set ids, add divs & triggers to engage with the CSS & JS

4 months agoLighter gray background for active cells
Scott Worley [Mon, 19 Aug 2024 21:15:33 +0000 (14:15 -0700)]
Lighter gray background for active cells

4 months agoClippy wants this to use mut and write!
Scott Worley [Mon, 19 Aug 2024 20:56:55 +0000 (13:56 -0700)]
Clippy wants this to use mut and write!

4 months agoRender column headers
Scott Worley [Mon, 19 Aug 2024 20:46:51 +0000 (13:46 -0700)]
Render column headers

4 months agoRender table
Scott Worley [Mon, 19 Aug 2024 20:36:15 +0000 (13:36 -0700)]
Render table

4 months agocolumn_order()
Scott Worley [Mon, 19 Aug 2024 19:55:11 +0000 (12:55 -0700)]
column_order()

4 months agoTrim whitespace when parsing entries
Scott Worley [Mon, 19 Aug 2024 19:43:34 +0000 (12:43 -0700)]
Trim whitespace when parsing entries

4 months agoSplit entries at ':' to separate instance data
Scott Worley [Mon, 19 Aug 2024 19:41:49 +0000 (12:41 -0700)]
Split entries at ':' to separate instance data

4 months agoMake a place in Entrty for instance data
Scott Worley [Mon, 19 Aug 2024 19:29:52 +0000 (12:29 -0700)]
Make a place in Entrty for instance data

4 months agoEntry type
Scott Worley [Mon, 19 Aug 2024 19:21:49 +0000 (12:21 -0700)]
Entry type

4 months agoHTML, CSS, & JS
Scott Worley [Mon, 19 Aug 2024 19:04:29 +0000 (12:04 -0700)]
HTML, CSS, & JS

Copied over from the old prototype

4 months agoStart connecting stuff
Scott Worley [Mon, 19 Aug 2024 18:45:25 +0000 (11:45 -0700)]
Start connecting stuff

4 months agoSort column counts
Scott Worley [Mon, 19 Aug 2024 18:28:02 +0000 (11:28 -0700)]
Sort column counts

4 months agoDon't count multiple entries in a single row in column counts
Scott Worley [Mon, 19 Aug 2024 18:17:26 +0000 (11:17 -0700)]
Don't count multiple entries in a single row in column counts

4 months agoColumn counts
Scott Worley [Mon, 19 Aug 2024 18:09:43 +0000 (11:09 -0700)]
Column counts

4 months agoLine numbers in error messages
Scott Worley [Mon, 19 Aug 2024 17:49:44 +0000 (10:49 -0700)]
Line numbers in error messages

4 months agoTreat all-whitespace lines as blank lines
Scott Worley [Mon, 19 Aug 2024 08:48:16 +0000 (01:48 -0700)]
Treat all-whitespace lines as blank lines

As a side effect, this also removes trailing whitespace, which nice.

4 months agoProper log parsing
Scott Worley [Mon, 19 Aug 2024 08:38:40 +0000 (01:38 -0700)]
Proper log parsing

I'm bummed that this couldn't be a simple Iterator::scan().  Scan
doesn't have a way to get control one last time at end-of-stream to dump
the accumulator state.

4 months agoRead multiple row headers
Scott Worley [Mon, 19 Aug 2024 07:17:14 +0000 (00:17 -0700)]
Read multiple row headers

4 months agoRead one row header
Scott Worley [Mon, 19 Aug 2024 07:12:54 +0000 (00:12 -0700)]
Read one row header

4 months agoread_rows() lies
Scott Worley [Mon, 19 Aug 2024 06:46:55 +0000 (23:46 -0700)]
read_rows() lies

4 months agoSeparate library & executable
Scott Worley [Mon, 19 Aug 2024 06:13:03 +0000 (23:13 -0700)]
Separate library & executable

4 months agoSwitch to rust
Scott Worley [Mon, 19 Aug 2024 05:56:43 +0000 (22:56 -0700)]
Switch to rust

3 years agoThe prototype
Scott Worley [Wed, 4 Aug 2021 18:55:02 +0000 (11:55 -0700)]
The prototype

4 months agoLicense: GPL-3
Scott Worley [Mon, 19 Aug 2024 05:43:25 +0000 (22:43 -0700)]
License: GPL-3