]>
git.sesse.net Git - pkanalytics/log
Steinar H. Gunderson [Thu, 13 Jul 2023 15:16:20 +0000 (17:16 +0200)]
Support dragging the picture around when we are zoomed.
Steinar H. Gunderson [Thu, 13 Jul 2023 15:16:04 +0000 (17:16 +0200)]
Make zooming a bit less sensitive.
Steinar H. Gunderson [Thu, 13 Jul 2023 15:00:38 +0000 (17:00 +0200)]
Make it possible to zoom the VideoWidget.
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.
Steinar H. Gunderson [Mon, 10 Jul 2023 16:45:56 +0000 (18:45 +0200)]
Fix some -Wsign-compare warnings.
Steinar H. Gunderson [Mon, 10 Jul 2023 16:43:33 +0000 (18:43 +0200)]
Fix a warning.
Steinar H. Gunderson [Tue, 30 May 2023 21:10:06 +0000 (23:10 +0200)]
Make the formation buttons actually do something.
Steinar H. Gunderson [Mon, 29 May 2023 22:24:32 +0000 (00:24 +0200)]
Tweak formation backdating.
Steinar H. Gunderson [Mon, 29 May 2023 22:20:48 +0000 (00:20 +0200)]
Support filtering on formation.
Steinar H. Gunderson [Mon, 29 May 2023 17:08:56 +0000 (19:08 +0200)]
Fix formation JSON export.
Steinar H. Gunderson [Mon, 29 May 2023 16:47:00 +0000 (18:47 +0200)]
Fix handling of multiple filters.
Steinar H. Gunderson [Mon, 29 May 2023 15:22:30 +0000 (17:22 +0200)]
Export formations to the JSON.
Steinar H. Gunderson [Mon, 29 May 2023 13:38:53 +0000 (15:38 +0200)]
Show formation name in the status bar.
Steinar H. Gunderson [Mon, 29 May 2023 13:32:01 +0000 (15:32 +0200)]
Fix sorting after inserting a new formation.
Steinar H. Gunderson [Mon, 29 May 2023 13:20:55 +0000 (15:20 +0200)]
Format events slightly more nicely.
Steinar H. Gunderson [Mon, 29 May 2023 13:13:43 +0000 (15:13 +0200)]
Fix various issues with setting the special “none/unknown” formation.
Steinar H. Gunderson [Mon, 29 May 2023 13:03:36 +0000 (15:03 +0200)]
Better backdating of formations.
Steinar H. Gunderson [Mon, 29 May 2023 13:03:30 +0000 (15:03 +0200)]
Small typo.
Steinar H. Gunderson [Mon, 29 May 2023 12:58:34 +0000 (14:58 +0200)]
Make it possible to insert new formations from the UI.
Steinar H. Gunderson [Mon, 29 May 2023 12:44:12 +0000 (14:44 +0200)]
Add the beginnings of formation support.
Steinar H. Gunderson [Sun, 28 May 2023 20:53:22 +0000 (22:53 +0200)]
Implement filter-by-player-on-field.
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.
Steinar H. Gunderson [Sun, 21 May 2023 21:17:34 +0000 (23:17 +0200)]
Count time on offense and on defense.
Steinar H. Gunderson [Sun, 21 May 2023 08:46:06 +0000 (10:46 +0200)]
Add a CI for OOB pulls.
Steinar H. Gunderson [Sun, 21 May 2023 08:43:28 +0000 (10:43 +0200)]
Make soft +/- span both columns.
Steinar H. Gunderson [Sun, 21 May 2023 08:18:27 +0000 (10:18 +0200)]
Add a filler SVG to make things line up.
Steinar H. Gunderson [Sat, 20 May 2023 21:10:34 +0000 (23:10 +0200)]
Add per-point CIs.
Steinar H. Gunderson [Sat, 20 May 2023 21:08:40 +0000 (23:08 +0200)]
Remove some obsolete logging.
Steinar H. Gunderson [Sat, 20 May 2023 20:57:12 +0000 (22:57 +0200)]
Add offense CIs.
Steinar H. Gunderson [Sat, 20 May 2023 20:49:20 +0000 (22:49 +0200)]
Start adding CIs for efficiency.
Steinar H. Gunderson [Sat, 20 May 2023 20:21:45 +0000 (22:21 +0200)]
No need for :has().
Steinar H. Gunderson [Sat, 20 May 2023 17:34:16 +0000 (19:34 +0200)]
Add some styling.
Steinar H. Gunderson [Thu, 11 May 2023 15:43:17 +0000 (17:43 +0200)]
Count touches per-point.
Steinar H. Gunderson [Thu, 11 May 2023 15:42:02 +0000 (17:42 +0200)]
Add a per-point stats category.
Steinar H. Gunderson [Thu, 11 May 2023 15:33:50 +0000 (17:33 +0200)]
Fix some warnings about events we actually understand.
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.
Steinar H. Gunderson [Thu, 11 May 2023 15:30:05 +0000 (17:30 +0200)]
Fix some N/A displays in the viewer.
Steinar H. Gunderson [Wed, 10 May 2023 20:40:44 +0000 (22:40 +0200)]
Correct counting of global points.
Steinar H. Gunderson [Wed, 10 May 2023 20:21:03 +0000 (22:21 +0200)]
Add a row for some semi-interesting globals.
Steinar H. Gunderson [Wed, 10 May 2023 20:00:45 +0000 (22:00 +0200)]
Add a playing time menu.
Steinar H. Gunderson [Wed, 10 May 2023 19:27:16 +0000 (21:27 +0200)]
Remove some debugging.
Steinar H. Gunderson [Wed, 10 May 2023 19:21:51 +0000 (21:21 +0200)]
Implement O and D efficiency in the viewer.
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.
Steinar H. Gunderson [Wed, 10 May 2023 18:41:01 +0000 (20:41 +0200)]
Change pulls to defense in the viewer.
Steinar H. Gunderson [Wed, 10 May 2023 17:17:57 +0000 (19:17 +0200)]
Make a table for the offense category.
Steinar H. Gunderson [Wed, 10 May 2023 16:27:05 +0000 (18:27 +0200)]
Make a table for the pulls category.
Steinar H. Gunderson [Wed, 10 May 2023 16:17:50 +0000 (18:17 +0200)]
Add some rudimentary main menu support to the viewer.
Steinar H. Gunderson [Wed, 10 May 2023 15:46:50 +0000 (17:46 +0200)]
Add a rudimentary start of the viewer.
Steinar H. Gunderson [Tue, 9 May 2023 06:36:00 +0000 (08:36 +0200)]
Fix export of nulls in the player JSON objects.
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.)
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).
Steinar H. Gunderson [Thu, 4 May 2023 20:41:38 +0000 (22:41 +0200)]
We want foreign key constraints enforced; duh.
Steinar H. Gunderson [Wed, 3 May 2023 22:19:50 +0000 (00:19 +0200)]
Hook up the interception button.
Steinar H. Gunderson [Wed, 3 May 2023 22:19:40 +0000 (00:19 +0200)]
Do not backdate substitutions to before the match start.
Steinar H. Gunderson [Wed, 3 May 2023 22:04:06 +0000 (00:04 +0200)]
Support having multiple matches (only set on startup for now).
Steinar H. Gunderson [Wed, 3 May 2023 19:07:21 +0000 (21:07 +0200)]
Add (hidden) PgUp/PgDn shortcuts for going +/- 2 mins.
Steinar H. Gunderson [Wed, 3 May 2023 16:56:01 +0000 (18:56 +0200)]
Small cleanup for insert_event().
Steinar H. Gunderson [Wed, 3 May 2023 16:54:51 +0000 (18:54 +0200)]
Make a more sensible ordering of the player buttons.
Steinar H. Gunderson [Wed, 3 May 2023 16:32:15 +0000 (18:32 +0200)]
Nicer alignment of the player table.
Steinar H. Gunderson [Wed, 3 May 2023 16:25:52 +0000 (18:25 +0200)]
Show gender (optional free-form field) in the player list.
Steinar H. Gunderson [Wed, 3 May 2023 07:25:55 +0000 (09:25 +0200)]
Remove the “our foul” button for now.
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.
Steinar H. Gunderson [Tue, 2 May 2023 19:51:08 +0000 (21:51 +0200)]
Implement pulls landing.
Steinar H. Gunderson [Tue, 2 May 2023 19:18:24 +0000 (21:18 +0200)]
Make SHOULD_PULL into an enum.
Steinar H. Gunderson [Tue, 2 May 2023 19:15:20 +0000 (21:15 +0200)]
Make offense/defense a tristate-enum.
Steinar H. Gunderson [Tue, 2 May 2023 17:37:00 +0000 (19:37 +0200)]
Fix a corner case around clicking event rows.
Steinar H. Gunderson [Tue, 2 May 2023 17:27:41 +0000 (19:27 +0200)]
Make explicit offense/defense markers, by clicking.
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.
Steinar H. Gunderson [Mon, 1 May 2023 22:24:21 +0000 (00:24 +0200)]
Fix pull button availability.
Steinar H. Gunderson [Mon, 1 May 2023 21:46:32 +0000 (23:46 +0200)]
Count time spent in stoppage
Steinar H. Gunderson [Mon, 1 May 2023 21:37:02 +0000 (23:37 +0200)]
Make it possible to end stoppages.
Steinar H. Gunderson [Mon, 1 May 2023 21:14:41 +0000 (23:14 +0200)]
Fix up various shortcuts.
Steinar H. Gunderson [Mon, 1 May 2023 21:13:35 +0000 (23:13 +0200)]
Disable irrelevant buttons.
Steinar H. Gunderson [Mon, 1 May 2023 21:02:49 +0000 (23:02 +0200)]
Split update_status().
Steinar H. Gunderson [Mon, 1 May 2023 17:52:07 +0000 (19:52 +0200)]
pull_landed is a no-player event.
Steinar H. Gunderson [Mon, 1 May 2023 17:51:46 +0000 (19:51 +0200)]
Make the default action on offense a catch.
Steinar H. Gunderson [Mon, 1 May 2023 17:47:14 +0000 (19:47 +0200)]
Fix an off-by-one in inserting events.
Steinar H. Gunderson [Mon, 1 May 2023 17:43:49 +0000 (19:43 +0200)]
Their throwaways take us to offense.
Steinar H. Gunderson [Mon, 1 May 2023 17:39:46 +0000 (19:39 +0200)]
Hook up defensive soft +/-.
Steinar H. Gunderson [Mon, 1 May 2023 17:33:43 +0000 (19:33 +0200)]
Hook up our_defense.
Steinar H. Gunderson [Mon, 1 May 2023 17:29:55 +0000 (19:29 +0200)]
Hook up some misc. events.
Steinar H. Gunderson [Mon, 1 May 2023 17:27:48 +0000 (19:27 +0200)]
Fix possession counter e.g. between goals.
Steinar H. Gunderson [Mon, 1 May 2023 17:26:36 +0000 (19:26 +0200)]
Drops and throwaways take us into defense.
Steinar H. Gunderson [Mon, 1 May 2023 17:24:58 +0000 (19:24 +0200)]
Properly read back NULLs for non-player events.
Steinar H. Gunderson [Mon, 1 May 2023 17:18:50 +0000 (19:18 +0200)]
Add some defensive events.
Steinar H. Gunderson [Mon, 1 May 2023 16:27:40 +0000 (18:27 +0200)]
Make the player buttons actually fetch out the team.
Steinar H. Gunderson [Mon, 1 May 2023 16:22:37 +0000 (18:22 +0200)]
Rename player to video, since it was confusingly close to players (the PlayerModel).
Steinar H. Gunderson [Mon, 1 May 2023 16:06:44 +0000 (18:06 +0200)]
Make it possible to sub (in/out events only, no real effect).
Steinar H. Gunderson [Mon, 1 May 2023 15:17:23 +0000 (17:17 +0200)]
Make the player list extend all the way down.
Steinar H. Gunderson [Mon, 1 May 2023 15:09:23 +0000 (17:09 +0200)]
Show players from the database.
Steinar H. Gunderson [Mon, 1 May 2023 15:05:33 +0000 (17:05 +0200)]
Move EventsModel into the MainWindow constructor.
Steinar H. Gunderson [Mon, 1 May 2023 15:00:07 +0000 (17:00 +0200)]
Clean out the refresh-on-demand code from EventsModel.
Steinar H. Gunderson [Mon, 1 May 2023 13:57:53 +0000 (15:57 +0200)]
Make it possible to seek to an event by clicking on it.
Steinar H. Gunderson [Mon, 1 May 2023 13:48:32 +0000 (15:48 +0200)]
Rename stats.cpp to main.cpp.
Steinar H. Gunderson [Mon, 1 May 2023 13:44:44 +0000 (15:44 +0200)]
Update the status bar from the events.
Steinar H. Gunderson [Mon, 1 May 2023 13:15:59 +0000 (15:15 +0200)]
Order events coming from the database.
Steinar H. Gunderson [Mon, 1 May 2023 13:15:28 +0000 (15:15 +0200)]
Make it possible to delete events.
Steinar H. Gunderson [Mon, 1 May 2023 12:58:58 +0000 (14:58 +0200)]
Connect insertions/type changes to the database.
Steinar H. Gunderson [Mon, 1 May 2023 12:50:09 +0000 (14:50 +0200)]
Add some offense events, now working-ish.
Steinar H. Gunderson [Mon, 1 May 2023 12:27:13 +0000 (14:27 +0200)]
More EventsModel into its own file.