]> git.sesse.net Git - pkanalytics/log
pkanalytics
10 months agoMake it possible to have separate videos per match, instead of hardcoding one specifi...
Steinar H. Gunderson [Fri, 21 Jul 2023 21:00:33 +0000 (23:00 +0200)]
Make it possible to have separate videos per match, instead of hardcoding one specific name.

10 months agoPropagate errors on video opening back to the UI.
Steinar H. Gunderson [Fri, 21 Jul 2023 20:39:02 +0000 (22:39 +0200)]
Propagate errors on video opening back to the UI.

This is kludgy, but it will work for now.

10 months agoMove MainWindow into its own class.
Steinar H. Gunderson [Fri, 21 Jul 2023 20:22:46 +0000 (22:22 +0200)]
Move MainWindow into its own class.

10 months agoMake columns sortable (no reverse sort).
Steinar H. Gunderson [Thu, 20 Jul 2023 15:34:21 +0000 (17:34 +0200)]
Make columns sortable (no reverse sort).

10 months agoFix a contention issue.
Steinar H. Gunderson [Thu, 20 Jul 2023 13:52:33 +0000 (15:52 +0200)]
Fix a contention issue.

10 months agostd::shared_ptr is surprisingly not thread-safe, so we need a mutex.
Steinar H. Gunderson [Thu, 20 Jul 2023 13:44:51 +0000 (15:44 +0200)]
std::shared_ptr is surprisingly not thread-safe, so we need a mutex.

10 months agoFix a threading issue, where we would call into the Qt thread from the video thread.
Steinar H. Gunderson [Thu, 20 Jul 2023 13:42:40 +0000 (15:42 +0200)]
Fix a threading issue, where we would call into the Qt thread from the video thread.

10 months agoplaying is used from multiple threads, so it must be atomic.
Steinar H. Gunderson [Thu, 20 Jul 2023 13:37:10 +0000 (15:37 +0200)]
playing is used from multiple threads, so it must be atomic.

10 months agoInclude was d-ed in a common per-point receiver error stat.
Steinar H. Gunderson [Thu, 20 Jul 2023 12:29:26 +0000 (14:29 +0200)]
Include was d-ed in a common per-point receiver error stat.

10 months agoMake it possible to seek using the 4th and 5th mouse buttons.
Steinar H. Gunderson [Thu, 20 Jul 2023 12:28:47 +0000 (14:28 +0200)]
Make it possible to seek using the 4th and 5th mouse buttons.

This makes it a bit more comfortable to seek around when using a mouse,
without having to move the left hand over to the right side of the
keyboard.

10 months agoUpdate player buttons immediately when making a substitution.
Steinar H. Gunderson [Thu, 20 Jul 2023 10:54:10 +0000 (12:54 +0200)]
Update player buttons immediately when making a substitution.

10 months agoSplit away getting d-ed from drops.
Steinar H. Gunderson [Thu, 20 Jul 2023 10:19:00 +0000 (12:19 +0200)]
Split away getting d-ed from drops.

10 months agoFix absolute seeking when the base rate is not 1/1000.
Steinar H. Gunderson [Mon, 17 Jul 2023 16:27:40 +0000 (18:27 +0200)]
Fix absolute seeking when the base rate is not 1/1000.

10 months agoFix that hang time includes OOB pulls.
Steinar H. Gunderson [Mon, 17 Jul 2023 16:27:23 +0000 (18:27 +0200)]
Fix that hang time includes OOB pulls.

10 months agoForce the timecode display to be in a font that does not change width based on contents.
Steinar H. Gunderson [Thu, 13 Jul 2023 18:05:37 +0000 (20:05 +0200)]
Force the timecode display to be in a font that does not change width based on contents.

10 months agoFix a deprecation warning, at the cost of more allocations.
Steinar H. Gunderson [Thu, 13 Jul 2023 18:02:07 +0000 (20:02 +0200)]
Fix a deprecation warning, at the cost of more allocations.

10 months agoMake for smoother zooming/dragging, especially dragging.
Steinar H. Gunderson [Thu, 13 Jul 2023 17:35:48 +0000 (19:35 +0200)]
Make for smoother zooming/dragging, especially dragging.

10 months agoSupport dragging the picture around when we are zoomed.
Steinar H. Gunderson [Thu, 13 Jul 2023 15:16:20 +0000 (17:16 +0200)]
Support dragging the picture around when we are zoomed.

10 months agoMake zooming a bit less sensitive.
Steinar H. Gunderson [Thu, 13 Jul 2023 15:16:04 +0000 (17:16 +0200)]
Make zooming a bit less sensitive.

10 months agoMake it possible to zoom the VideoWidget.
Steinar H. Gunderson [Thu, 13 Jul 2023 15:00:38 +0000 (17:00 +0200)]
Make it possible to zoom the VideoWidget.

10 months agoDrop QVideoWidget.
Steinar H. Gunderson [Thu, 13 Jul 2023 09:12:04 +0000 (11:12 +0200)]
Drop QVideoWidget.

QVideoWidget is based on GStreamer and horribly buggy, so replace it with
our own homegrown code. This reuses and adapts a lot of code from Nageru
and Movit, but especially the seek code is pretty much written from scratch.

The biggest advantage is that we no longer get random hangs all the time
(which the F5 key would attempt to work around, by restarting the player).
The disadvantages are that we take on a bunch of new code, a direct dependency
on FFmpeg and OpenGL (4.6 for the time being, but can probably be reduced
to much lower if we want to target macOS), and lose sound support.
We get VA-API/VDPAU acceleration, although I'm not sure if the old code
did that for us or not.

The other motivating change is that this will allow us to implement zoom
more easily down the road.

The frame-based seeking is now actually frame-based, instead of trying to
emulate it by going +/- 20 ms.

10 months agoFix some -Wsign-compare warnings.
Steinar H. Gunderson [Mon, 10 Jul 2023 16:45:56 +0000 (18:45 +0200)]
Fix some -Wsign-compare warnings.

10 months agoFix a warning.
Steinar H. Gunderson [Mon, 10 Jul 2023 16:43:33 +0000 (18:43 +0200)]
Fix a warning.

11 months agoMake the formation buttons actually do something.
Steinar H. Gunderson [Tue, 30 May 2023 21:10:06 +0000 (23:10 +0200)]
Make the formation buttons actually do something.

11 months agoTweak formation backdating.
Steinar H. Gunderson [Mon, 29 May 2023 22:24:32 +0000 (00:24 +0200)]
Tweak formation backdating.

11 months agoSupport filtering on formation.
Steinar H. Gunderson [Mon, 29 May 2023 22:20:48 +0000 (00:20 +0200)]
Support filtering on formation.

11 months agoFix formation JSON export.
Steinar H. Gunderson [Mon, 29 May 2023 17:08:56 +0000 (19:08 +0200)]
Fix formation JSON export.

11 months agoFix handling of multiple filters.
Steinar H. Gunderson [Mon, 29 May 2023 16:47:00 +0000 (18:47 +0200)]
Fix handling of multiple filters.

11 months agoExport formations to the JSON.
Steinar H. Gunderson [Mon, 29 May 2023 15:22:30 +0000 (17:22 +0200)]
Export formations to the JSON.

11 months agoShow formation name in the status bar.
Steinar H. Gunderson [Mon, 29 May 2023 13:38:53 +0000 (15:38 +0200)]
Show formation name in the status bar.

11 months agoFix sorting after inserting a new formation.
Steinar H. Gunderson [Mon, 29 May 2023 13:32:01 +0000 (15:32 +0200)]
Fix sorting after inserting a new formation.

11 months agoFormat events slightly more nicely.
Steinar H. Gunderson [Mon, 29 May 2023 13:20:55 +0000 (15:20 +0200)]
Format events slightly more nicely.

11 months agoFix various issues with setting the special “none/unknown” formation.
Steinar H. Gunderson [Mon, 29 May 2023 13:13:43 +0000 (15:13 +0200)]
Fix various issues with setting the special “none/unknown” formation.

11 months agoBetter backdating of formations.
Steinar H. Gunderson [Mon, 29 May 2023 13:03:36 +0000 (15:03 +0200)]
Better backdating of formations.

11 months agoSmall typo.
Steinar H. Gunderson [Mon, 29 May 2023 13:03:30 +0000 (15:03 +0200)]
Small typo.

11 months agoMake it possible to insert new formations from the UI.
Steinar H. Gunderson [Mon, 29 May 2023 12:58:34 +0000 (14:58 +0200)]
Make it possible to insert new formations from the UI.

11 months agoAdd the beginnings of formation support.
Steinar H. Gunderson [Mon, 29 May 2023 12:44:12 +0000 (14:44 +0200)]
Add the beginnings of formation support.

11 months agoImplement filter-by-player-on-field.
Steinar H. Gunderson [Sun, 28 May 2023 20:53:22 +0000 (22:53 +0200)]
Implement filter-by-player-on-field.

11 months agoBegin supporting filters.
Steinar H. Gunderson [Sat, 27 May 2023 22:43:09 +0000 (00:43 +0200)]
Begin supporting filters.

This took forever, but now you can at least filter on matches.
There's also UI to filter on people on the field, but it's not
hooked up to anything yet.

12 months agoCount time on offense and on defense.
Steinar H. Gunderson [Sun, 21 May 2023 21:17:34 +0000 (23:17 +0200)]
Count time on offense and on defense.

12 months agoAdd a CI for OOB pulls.
Steinar H. Gunderson [Sun, 21 May 2023 08:46:06 +0000 (10:46 +0200)]
Add a CI for OOB pulls.

12 months agoMake soft +/- span both columns.
Steinar H. Gunderson [Sun, 21 May 2023 08:43:28 +0000 (10:43 +0200)]
Make soft +/- span both columns.

12 months agoAdd a filler SVG to make things line up.
Steinar H. Gunderson [Sun, 21 May 2023 08:18:27 +0000 (10:18 +0200)]
Add a filler SVG to make things line up.

12 months agoAdd per-point CIs.
Steinar H. Gunderson [Sat, 20 May 2023 21:10:34 +0000 (23:10 +0200)]
Add per-point CIs.

12 months agoRemove some obsolete logging.
Steinar H. Gunderson [Sat, 20 May 2023 21:08:40 +0000 (23:08 +0200)]
Remove some obsolete logging.

12 months agoAdd offense CIs.
Steinar H. Gunderson [Sat, 20 May 2023 20:57:12 +0000 (22:57 +0200)]
Add offense CIs.

12 months agoStart adding CIs for efficiency.
Steinar H. Gunderson [Sat, 20 May 2023 20:49:20 +0000 (22:49 +0200)]
Start adding CIs for efficiency.

12 months agoNo need for :has().
Steinar H. Gunderson [Sat, 20 May 2023 20:21:45 +0000 (22:21 +0200)]
No need for :has().

12 months agoAdd some styling.
Steinar H. Gunderson [Sat, 20 May 2023 17:34:16 +0000 (19:34 +0200)]
Add some styling.

12 months agoCount touches per-point.
Steinar H. Gunderson [Thu, 11 May 2023 15:43:17 +0000 (17:43 +0200)]
Count touches per-point.

12 months agoAdd a per-point stats category.
Steinar H. Gunderson [Thu, 11 May 2023 15:42:02 +0000 (17:42 +0200)]
Add a per-point stats category.

12 months agoFix some warnings about events we actually understand.
Steinar H. Gunderson [Thu, 11 May 2023 15:33:50 +0000 (17:33 +0200)]
Fix some warnings about events we actually understand.

12 months agoMake a hotkey for getting the video unstuck when Qt messes up.
Steinar H. Gunderson [Thu, 11 May 2023 15:30:59 +0000 (17:30 +0200)]
Make a hotkey for getting the video unstuck when Qt messes up.

12 months agoFix some N/A displays in the viewer.
Steinar H. Gunderson [Thu, 11 May 2023 15:30:05 +0000 (17:30 +0200)]
Fix some N/A displays in the viewer.

12 months agoCorrect counting of global points.
Steinar H. Gunderson [Wed, 10 May 2023 20:40:44 +0000 (22:40 +0200)]
Correct counting of global points.

12 months agoAdd a row for some semi-interesting globals.
Steinar H. Gunderson [Wed, 10 May 2023 20:21:03 +0000 (22:21 +0200)]
Add a row for some semi-interesting globals.

12 months agoAdd a playing time menu.
Steinar H. Gunderson [Wed, 10 May 2023 20:00:45 +0000 (22:00 +0200)]
Add a playing time menu.

12 months agoRemove some debugging.
Steinar H. Gunderson [Wed, 10 May 2023 19:27:16 +0000 (21:27 +0200)]
Remove some debugging.

12 months agoImplement O and D efficiency in the viewer.
Steinar H. Gunderson [Wed, 10 May 2023 19:21:51 +0000 (21:21 +0200)]
Implement O and D efficiency in the viewer.

12 months agoFix counting of players that stayed on for a point but then had no events.
Steinar H. Gunderson [Wed, 10 May 2023 19:12:10 +0000 (21:12 +0200)]
Fix counting of players that stayed on for a point but then had no events.

12 months agoChange pulls to defense in the viewer.
Steinar H. Gunderson [Wed, 10 May 2023 18:41:01 +0000 (20:41 +0200)]
Change pulls to defense in the viewer.

12 months agoMake a table for the offense category.
Steinar H. Gunderson [Wed, 10 May 2023 17:17:57 +0000 (19:17 +0200)]
Make a table for the offense category.

12 months agoMake a table for the pulls category.
Steinar H. Gunderson [Wed, 10 May 2023 16:27:05 +0000 (18:27 +0200)]
Make a table for the pulls category.

12 months agoAdd some rudimentary main menu support to the viewer.
Steinar H. Gunderson [Wed, 10 May 2023 16:17:50 +0000 (18:17 +0200)]
Add some rudimentary main menu support to the viewer.

12 months agoAdd a rudimentary start of the viewer.
Steinar H. Gunderson [Wed, 10 May 2023 15:46:50 +0000 (17:46 +0200)]
Add a rudimentary start of the viewer.

12 months agoFix export of nulls in the player JSON objects.
Steinar H. Gunderson [Tue, 9 May 2023 06:36:00 +0000 (08:36 +0200)]
Fix export of nulls in the player JSON objects.

12 months agoImplement JSON export. (For the time being, automatically on startup only, and nothin...
Steinar H. Gunderson [Fri, 5 May 2023 22:20:34 +0000 (00:20 +0200)]
Implement JSON export. (For the time being, automatically on startup only, and nothing can read it yet.)

12 months agoSupport requesting a given match on command line (in lieu of an actual command-line...
Steinar H. Gunderson [Thu, 4 May 2023 20:42:10 +0000 (22:42 +0200)]
Support requesting a given match on command line (in lieu of an actual command-line parser).

12 months agoWe want foreign key constraints enforced; duh.
Steinar H. Gunderson [Thu, 4 May 2023 20:41:38 +0000 (22:41 +0200)]
We want foreign key constraints enforced; duh.

12 months agoHook up the interception button.
Steinar H. Gunderson [Wed, 3 May 2023 22:19:50 +0000 (00:19 +0200)]
Hook up the interception button.

12 months agoDo not backdate substitutions to before the match start.
Steinar H. Gunderson [Wed, 3 May 2023 22:19:40 +0000 (00:19 +0200)]
Do not backdate substitutions to before the match start.

12 months agoSupport having multiple matches (only set on startup for now).
Steinar H. Gunderson [Wed, 3 May 2023 22:04:06 +0000 (00:04 +0200)]
Support having multiple matches (only set on startup for now).

12 months agoAdd (hidden) PgUp/PgDn shortcuts for going +/- 2 mins.
Steinar H. Gunderson [Wed, 3 May 2023 19:07:21 +0000 (21:07 +0200)]
Add (hidden) PgUp/PgDn shortcuts for going +/- 2 mins.

12 months agoSmall cleanup for insert_event().
Steinar H. Gunderson [Wed, 3 May 2023 16:56:01 +0000 (18:56 +0200)]
Small cleanup for insert_event().

12 months agoMake a more sensible ordering of the player buttons.
Steinar H. Gunderson [Wed, 3 May 2023 16:54:51 +0000 (18:54 +0200)]
Make a more sensible ordering of the player buttons.

12 months agoNicer alignment of the player table.
Steinar H. Gunderson [Wed, 3 May 2023 16:32:15 +0000 (18:32 +0200)]
Nicer alignment of the player table.

12 months agoShow gender (optional free-form field) in the player list.
Steinar H. Gunderson [Wed, 3 May 2023 16:25:52 +0000 (18:25 +0200)]
Show gender (optional free-form field) in the player list.

12 months agoRemove the “our foul” button for now.
Steinar H. Gunderson [Wed, 3 May 2023 07:25:55 +0000 (09:25 +0200)]
Remove the “our foul” button for now.

12 months agoMake the events view scroll the current event into view when playing.
Steinar H. Gunderson [Tue, 2 May 2023 21:02:20 +0000 (23:02 +0200)]
Make the events view scroll the current event into view when playing.

12 months agoImplement pulls landing.
Steinar H. Gunderson [Tue, 2 May 2023 19:51:08 +0000 (21:51 +0200)]
Implement pulls landing.

12 months agoMake SHOULD_PULL into an enum.
Steinar H. Gunderson [Tue, 2 May 2023 19:18:24 +0000 (21:18 +0200)]
Make SHOULD_PULL into an enum.

12 months agoMake offense/defense a tristate-enum.
Steinar H. Gunderson [Tue, 2 May 2023 19:15:20 +0000 (21:15 +0200)]
Make offense/defense a tristate-enum.

12 months agoFix a corner case around clicking event rows.
Steinar H. Gunderson [Tue, 2 May 2023 17:37:00 +0000 (19:37 +0200)]
Fix a corner case around clicking event rows.

12 months agoMake explicit offense/defense markers, by clicking.
Steinar H. Gunderson [Tue, 2 May 2023 17:27:41 +0000 (19:27 +0200)]
Make explicit offense/defense markers, by clicking.

12 months agoBackdate substitutions so that they're a bit easier to deal with.
Steinar H. Gunderson [Mon, 1 May 2023 22:25:06 +0000 (00:25 +0200)]
Backdate substitutions so that they're a bit easier to deal with.

12 months agoFix pull button availability.
Steinar H. Gunderson [Mon, 1 May 2023 22:24:21 +0000 (00:24 +0200)]
Fix pull button availability.

12 months agoCount time spent in stoppage
Steinar H. Gunderson [Mon, 1 May 2023 21:46:32 +0000 (23:46 +0200)]
Count time spent in stoppage

12 months agoMake it possible to end stoppages.
Steinar H. Gunderson [Mon, 1 May 2023 21:37:02 +0000 (23:37 +0200)]
Make it possible to end stoppages.

12 months agoFix up various shortcuts.
Steinar H. Gunderson [Mon, 1 May 2023 21:14:41 +0000 (23:14 +0200)]
Fix up various shortcuts.

12 months agoDisable irrelevant buttons.
Steinar H. Gunderson [Mon, 1 May 2023 21:13:35 +0000 (23:13 +0200)]
Disable irrelevant buttons.

12 months agoSplit update_status().
Steinar H. Gunderson [Mon, 1 May 2023 21:02:49 +0000 (23:02 +0200)]
Split update_status().

12 months agopull_landed is a no-player event.
Steinar H. Gunderson [Mon, 1 May 2023 17:52:07 +0000 (19:52 +0200)]
pull_landed is a no-player event.

12 months agoMake the default action on offense a catch.
Steinar H. Gunderson [Mon, 1 May 2023 17:51:46 +0000 (19:51 +0200)]
Make the default action on offense a catch.

12 months agoFix an off-by-one in inserting events.
Steinar H. Gunderson [Mon, 1 May 2023 17:47:14 +0000 (19:47 +0200)]
Fix an off-by-one in inserting events.

12 months agoTheir throwaways take us to offense.
Steinar H. Gunderson [Mon, 1 May 2023 17:43:49 +0000 (19:43 +0200)]
Their throwaways take us to offense.

12 months agoHook up defensive soft +/-.
Steinar H. Gunderson [Mon, 1 May 2023 17:39:46 +0000 (19:39 +0200)]
Hook up defensive soft +/-.

12 months agoHook up our_defense.
Steinar H. Gunderson [Mon, 1 May 2023 17:33:43 +0000 (19:33 +0200)]
Hook up our_defense.

12 months agoHook up some misc. events.
Steinar H. Gunderson [Mon, 1 May 2023 17:29:55 +0000 (19:29 +0200)]
Hook up some misc. events.

12 months agoFix possession counter e.g. between goals.
Steinar H. Gunderson [Mon, 1 May 2023 17:27:48 +0000 (19:27 +0200)]
Fix possession counter e.g. between goals.

12 months agoDrops and throwaways take us into defense.
Steinar H. Gunderson [Mon, 1 May 2023 17:26:36 +0000 (19:26 +0200)]
Drops and throwaways take us into defense.