]> git.sesse.net Git - ccbs/log
ccbs
19 years agoClear active rounds on changing active tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:07:14 +0000 (14:07 +0000)]
Clear active rounds on changing active tournament.

19 years agoAdd an "active_rounds" table to the bigscreen schema, and set a primary key for the...
Steinar H. Gunderson [Sat, 19 Feb 2005 14:05:58 +0000 (14:05 +0000)]
Add an "active_rounds" table to the bigscreen schema, and set a primary key for the active_tournaments table.

19 years agoCache revision.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:02:30 +0000 (14:02 +0000)]
Cache revision.

19 years agoRemove PL/PgSQL installation for now, we do manual notifies.
Steinar H. Gunderson [Sat, 19 Feb 2005 14:01:05 +0000 (14:01 +0000)]
Remove PL/PgSQL installation for now, we do manual notifies.

19 years agoFixed a misleading comment.
Steinar H. Gunderson [Sat, 19 Feb 2005 13:59:58 +0000 (13:59 +0000)]
Fixed a misleading comment.

19 years agoSupport a variable-length list of fallback fonts (and support Arial MS Unicode) inste...
Steinar H. Gunderson [Sat, 19 Feb 2005 13:54:10 +0000 (13:54 +0000)]
Support a variable-length list of fallback fonts (and support Arial MS Unicode) instead of just having two.

19 years agoSpecify correct ucs-4le/ucs-4be for little/big endian.
Steinar H. Gunderson [Sat, 19 Feb 2005 12:47:49 +0000 (12:47 +0000)]
Specify correct ucs-4le/ucs-4be for little/big endian.

19 years agoFreeType initialization errors are runtime errors, not logic errors.
Steinar H. Gunderson [Sat, 19 Feb 2005 12:24:03 +0000 (12:24 +0000)]
FreeType initialization errors are runtime errors, not logic errors.

19 years agoUse Georgia, but fall back to FreeSerif if there's a glyph we can't find.
Steinar H. Gunderson [Sat, 19 Feb 2005 12:23:29 +0000 (12:23 +0000)]
Use Georgia, but fall back to FreeSerif if there's a glyph we can't find.

19 years agoSwitch to using std::wstring, it supports UCS-4 already, just with a different type :-)
Steinar H. Gunderson [Sat, 19 Feb 2005 12:14:59 +0000 (12:14 +0000)]
Switch to using std::wstring, it supports UCS-4 already, just with a different type :-)

19 years agoSwitch to FreeSerif for the time being, since it has more glyphs.
Steinar H. Gunderson [Sat, 19 Feb 2005 12:10:28 +0000 (12:10 +0000)]
Switch to FreeSerif for the time being, since it has more glyphs.

19 years agoAssorted debugging crap.
Steinar H. Gunderson [Sat, 19 Feb 2005 03:10:59 +0000 (03:10 +0000)]
Assorted debugging crap.
01:45-04:15

19 years agoForce little-endian for our UCS-4.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:51:39 +0000 (02:51 +0000)]
Force little-endian for our UCS-4.

19 years agoAdd functions for drawing text, try to do so (not very successful yet)
Steinar H. Gunderson [Sat, 19 Feb 2005 02:49:38 +0000 (02:49 +0000)]
Add functions for drawing text, try to do so (not very successful yet)

19 years agoImport TinyPTC 0.7.3 sources, switch from OpenGL to TinyPTC for now.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:40:55 +0000 (02:40 +0000)]
Import TinyPTC 0.7.3 sources, switch from OpenGL to TinyPTC for now.

19 years agoInitialize FreeType, link to it.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:34:15 +0000 (02:34 +0000)]
Initialize FreeType, link to it.

19 years agoRe-add OpenGL window, we commented it out and forgot it that way.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:27:07 +0000 (02:27 +0000)]
Re-add OpenGL window, we commented it out and forgot it that way.

19 years agoMoved all the UCS-4 junk into operator=, where it belongs.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:26:44 +0000 (02:26 +0000)]
Moved all the UCS-4 junk into operator=, where it belongs.

19 years agoAdd a framework for UCS-4 strings.
Steinar H. Gunderson [Sat, 19 Feb 2005 02:23:42 +0000 (02:23 +0000)]
Add a framework for UCS-4 strings.

19 years agoFixed so the form shows the current active tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:35:17 +0000 (01:35 +0000)]
Fixed so the form shows the current active tournament.

19 years agoAdd the backend for setting the active tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:33:53 +0000 (01:33 +0000)]
Add the backend for setting the active tournament.

19 years agoAdded a front end for setting the active tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:31:19 +0000 (01:31 +0000)]
Added a front end for setting the active tournament.

19 years agoRename tourn -> active_tournament
Steinar H. Gunderson [Sat, 19 Feb 2005 01:24:35 +0000 (01:24 +0000)]
Rename tourn -> active_tournament

19 years agoMake tourn a global variable (ick?), and do some placeholder logic in main_loop(...
Steinar H. Gunderson [Sat, 19 Feb 2005 01:23:45 +0000 (01:23 +0000)]
Make tourn a global variable (ick?), and do some placeholder logic in main_loop() if there is an active tournament.

19 years agoFix the transactor so it actually works.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:21:03 +0000 (01:21 +0000)]
Fix the transactor so it actually works.

19 years agoAdded -g -Wall to CXXFLAGS, moved -I stuff to CPPFLAGS.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:17:04 +0000 (01:17 +0000)]
Added -g -Wall to CXXFLAGS, moved -I stuff to CPPFLAGS.

19 years agoAdded a transactor for getting info from the current tournament.
Steinar H. Gunderson [Sat, 19 Feb 2005 01:16:26 +0000 (01:16 +0000)]
Added a transactor for getting info from the current tournament.

19 years agoChanged the structure of the bigscreen main loop.
Steinar H. Gunderson [Sat, 19 Feb 2005 00:57:02 +0000 (00:57 +0000)]
Changed the structure of the bigscreen main loop.

19 years agoImport doc/ from train thinking.
Steinar H. Gunderson [Sat, 19 Feb 2005 00:46:18 +0000 (00:46 +0000)]
Import doc/ from train thinking.

19 years agoInstall PL/PgSQL in the schema etc.
Steinar H. Gunderson [Fri, 18 Feb 2005 18:35:33 +0000 (18:35 +0000)]
Install PL/PgSQL in the schema etc.
16:00-19:30

19 years agoStarted on a bigscreen SQL schema.
Steinar H. Gunderson [Fri, 18 Feb 2005 18:20:26 +0000 (18:20 +0000)]
Started on a bigscreen SQL schema.

19 years agoSwitch SQL host from cirkus to altersex, to get PostgreSQL 7.4
Steinar H. Gunderson [Fri, 18 Feb 2005 18:04:20 +0000 (18:04 +0000)]
Switch SQL host from cirkus to altersex, to get PostgreSQL 7.4

19 years agoFix so we actually get the NOTIFY.
Steinar H. Gunderson [Fri, 18 Feb 2005 18:00:30 +0000 (18:00 +0000)]
Fix so we actually get the NOTIFY.

19 years agoTry to listen on a NOTIFY trigger.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:55:57 +0000 (17:55 +0000)]
Try to listen on a NOTIFY trigger.

19 years agoReplace transaction<> with work.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:40:21 +0000 (17:40 +0000)]
Replace transaction<> with work.

19 years agoFix DDRFreak parser to output some UTF-8 glyphs instead of HTML entities. Update...
Steinar H. Gunderson [Fri, 18 Feb 2005 17:25:43 +0000 (17:25 +0000)]
Fix DDRFreak parser to output some UTF-8 glyphs instead of HTML entities. Update Extreme SQL accordingly.

19 years agoFetch the title, not some random ID.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:13:13 +0000 (17:13 +0000)]
Fetch the title, not some random ID.

19 years agoFetch out some numbers from a table.
Steinar H. Gunderson [Fri, 18 Feb 2005 17:04:18 +0000 (17:04 +0000)]
Fetch out some numbers from a table.

19 years agoAdd pq++ dependency, start code for just connecting.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:58:10 +0000 (16:58 +0000)]
Add pq++ dependency, start code for just connecting.

19 years agoAdd -L/usr/X11R6/lib to LDFLAGS for the bigscreen Makefile.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:46:25 +0000 (16:46 +0000)]
Add -L/usr/X11R6/lib to LDFLAGS for the bigscreen Makefile.

19 years agoMake the DDRFreak parser script case insensitive with regard to previous songs (most...
Steinar H. Gunderson [Fri, 18 Feb 2005 16:31:36 +0000 (16:31 +0000)]
Make the DDRFreak parser script case insensitive with regard to previous songs (most other title handling code is case-insensitive). Update SQL base data accordingly.

19 years agoAdd the Extreme song list (from DDRFreak) to the base SQL data.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:27:18 +0000 (16:27 +0000)]
Add the Extreme song list (from DDRFreak) to the base SQL data.

19 years agoMake the DDRFreak parse script also add the songs to machinesongs.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:26:56 +0000 (16:26 +0000)]
Make the DDRFreak parse script also add the songs to machinesongs.

19 years agoAdd a hack for "Fantasy" from DDREx
Steinar H. Gunderson [Fri, 18 Feb 2005 16:20:45 +0000 (16:20 +0000)]
Add a hack for "Fantasy" from DDREx

19 years agoOnly insert a song if it doesn't already exist.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:16:57 +0000 (16:16 +0000)]
Only insert a song if it doesn't already exist.

19 years agoAdd a script for parsing DDRFreak's song lists.
Steinar H. Gunderson [Fri, 18 Feb 2005 16:11:06 +0000 (16:11 +0000)]
Add a script for parsing DDRFreak's song lists.

19 years agoAdded DDR Extreme as a machine for the basic data.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:38:47 +0000 (15:38 +0000)]
Added DDR Extreme as a machine for the basic data.

19 years agoUpdated the score edit functionality to check for steps on the selected mix only.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:38:06 +0000 (15:38 +0000)]
Updated the score edit functionality to check for steps on the selected mix only.

19 years agoUpdate the wiki parser and the EM2 SQL to match the new feet rating data.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:33:29 +0000 (15:33 +0000)]
Update the wiki parser and the EM2 SQL to match the new feet rating data.

19 years agoAdd CC03 as a season in the test data.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:28:30 +0000 (15:28 +0000)]
Add CC03 as a season in the test data.

19 years agoDifferent songs can have different ratings on different machines, so change the SQL...
Steinar H. Gunderson [Fri, 18 Feb 2005 15:27:12 +0000 (15:27 +0000)]
Different songs can have different ratings on different machines, so change the SQL schemas.

19 years agoDon't include NULL scores in the top 50 list.
Steinar H. Gunderson [Fri, 18 Feb 2005 15:11:39 +0000 (15:11 +0000)]
Don't include NULL scores in the top 50 list.

19 years agoAdded a ranking beside each player in the song highscore list.
Steinar H. Gunderson [Fri, 18 Feb 2005 13:38:07 +0000 (13:38 +0000)]
Added a ranking beside each player in the song highscore list.

19 years agoLimited the song highscore list to 50 people.
Steinar H. Gunderson [Fri, 18 Feb 2005 13:36:38 +0000 (13:36 +0000)]
Limited the song highscore list to 50 people.

19 years agoAdded a link from the song highscore list to the tournaments.
Steinar H. Gunderson [Fri, 18 Feb 2005 13:36:00 +0000 (13:36 +0000)]
Added a link from the song highscore list to the tournaments.

19 years agoAdd a backend for showing songs and the best scores on them.
Steinar H. Gunderson [Fri, 18 Feb 2005 13:35:19 +0000 (13:35 +0000)]
Add a backend for showing songs and the best scores on them.

19 years agoAdded links for all songs (no backend yet) in the tournament view.
Steinar H. Gunderson [Fri, 18 Feb 2005 13:27:39 +0000 (13:27 +0000)]
Added links for all songs (no backend yet) in the tournament view.

19 years agoAdd the "add tournament" link to the tournaments page.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:43:48 +0000 (19:43 +0000)]
Add the "add tournament" link to the tournaments page.
19:45-20:45

19 years agoAdd a navigational menu at the top.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:40:05 +0000 (19:40 +0000)]
Add a navigational menu at the top.

19 years agoAutomatically zoom to the new player when adding a new one.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:36:51 +0000 (19:36 +0000)]
Automatically zoom to the new player when adding a new one.

19 years agoAdd backend for adding players.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:35:02 +0000 (19:35 +0000)]
Add backend for adding players.

19 years agoAdd form (no backend yet) for registering new players.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:31:34 +0000 (19:31 +0000)]
Add form (no backend yet) for registering new players.

19 years agoAdd backend for resetting the song chooser.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:25:13 +0000 (19:25 +0000)]
Add backend for resetting the song chooser.

19 years agoAdd front end for resetting the song chooser.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:20:31 +0000 (19:20 +0000)]
Add front end for resetting the song chooser.

19 years agoChanged front page text.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:16:09 +0000 (19:16 +0000)]
Changed front page text.

19 years agoAdd backend code for ranking people.
Steinar H. Gunderson [Thu, 17 Feb 2005 19:12:00 +0000 (19:12 +0000)]
Add backend code for ranking people.

19 years agoAdded template code for showing rank.
Steinar H. Gunderson [Thu, 17 Feb 2005 18:54:47 +0000 (18:54 +0000)]
Added template code for showing rank.

19 years agoFix showing of newly created rounds again.
Steinar H. Gunderson [Thu, 17 Feb 2005 18:49:16 +0000 (18:49 +0000)]
Fix showing of newly created rounds again.

19 years agoChange to text/html (for IE demonstration)
Steinar H. Gunderson [Wed, 16 Feb 2005 21:29:57 +0000 (21:29 +0000)]
Change to text/html (for IE demonstration)

19 years agoCache revision
Steinar H. Gunderson [Wed, 16 Feb 2005 20:38:03 +0000 (20:38 +0000)]
Cache revision
19:45-21:45

19 years agoImplement the rest of the ranking.
Steinar H. Gunderson [Wed, 16 Feb 2005 20:22:26 +0000 (20:22 +0000)]
Implement the rest of the ranking.

19 years agoActually add the backend for ranking (forgot tla add last time :-) ).
Steinar H. Gunderson [Wed, 16 Feb 2005 20:11:46 +0000 (20:11 +0000)]
Actually add the backend for ranking (forgot tla add last time :-) ).

19 years agoImplement the first (trivial) parts of the ranking system.
Steinar H. Gunderson [Wed, 16 Feb 2005 20:11:12 +0000 (20:11 +0000)]
Implement the first (trivial) parts of the ranking system.

19 years agoAdd FIXME comment about empty last group.
Steinar H. Gunderson [Wed, 16 Feb 2005 19:19:11 +0000 (19:19 +0000)]
Add FIXME comment about empty last group.

19 years agoAdded a "finish tournament" button that is shown if one can finish the tournament.
Steinar H. Gunderson [Wed, 16 Feb 2005 19:15:26 +0000 (19:15 +0000)]
Added a "finish tournament" button that is shown if one can finish the tournament.

19 years agoCheck that there are steps for the selected song/playmode/difficulty combination...
Steinar H. Gunderson [Wed, 16 Feb 2005 18:55:02 +0000 (18:55 +0000)]
Check that there are steps for the selected song/playmode/difficulty combination, instead of giving an SQL error.

19 years agoCheck for scores out of range, instead of giving SQL errors.
Steinar H. Gunderson [Wed, 16 Feb 2005 18:44:23 +0000 (18:44 +0000)]
Check for scores out of range, instead of giving SQL errors.

19 years agoCache revision.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:34:44 +0000 (15:34 +0000)]
Cache revision.
14:45-16:45

19 years agoDon't show the "start next round" form until we can actually do so.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:32:17 +0000 (15:32 +0000)]
Don't show the "start next round" form until we can actually do so.

19 years agoRemove the extra header for locked rounds.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:24:12 +0000 (15:24 +0000)]
Remove the extra header for locked rounds.

19 years agoFix bug where showing of an empty tournament would crash.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:16:32 +0000 (15:16 +0000)]
Fix bug where showing of an empty tournament would crash.

19 years agoMake system for making groups after the very first round.
Steinar H. Gunderson [Wed, 16 Feb 2005 15:15:59 +0000 (15:15 +0000)]
Make system for making groups after the very first round.

19 years agoRemove/hide some borders between the score/playmode/difficulty settings.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:53:10 +0000 (14:53 +0000)]
Remove/hide some borders between the score/playmode/difficulty settings.

19 years agoRemoved name= on the submit buttons again, we don't need it anymore.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:48:32 +0000 (14:48 +0000)]
Removed name= on the submit buttons again, we don't need it anymore.

19 years agoChange locking semantics -- now everything in the last round can be edited, and nothi...
Steinar H. Gunderson [Wed, 16 Feb 2005 14:47:25 +0000 (14:47 +0000)]
Change locking semantics -- now everything in the last round can be edited, and nothing else.

19 years agoChosen song can now be set.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:44:41 +0000 (14:44 +0000)]
Chosen song can now be set.

19 years agoHandle <> etc. in __DIE__ handler messages.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:40:52 +0000 (14:40 +0000)]
Handle <> etc. in __DIE__ handler messages.

19 years agoFiddled around with the table layout.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:39:55 +0000 (14:39 +0000)]
Fiddled around with the table layout.

19 years agoAdd edit of playmode and difficulty.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:37:40 +0000 (14:37 +0000)]
Add edit of playmode and difficulty.

19 years agoMake it possible to enter NULL values by leaving fields blank.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:35:20 +0000 (14:35 +0000)]
Make it possible to enter NULL values by leaving fields blank.

19 years agoMake it possible to edit scores.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:33:30 +0000 (14:33 +0000)]
Make it possible to edit scores.

19 years agoAdd old- versions of all data in the form; we can't really detect what button was...
Steinar H. Gunderson [Wed, 16 Feb 2005 14:21:05 +0000 (14:21 +0000)]
Add old- versions of all data in the form; we can't really detect what button was clicked anyhow. :-/

19 years agoThe "edit scores" backend now finds out which update button was pressed.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:10:57 +0000 (14:10 +0000)]
The "edit scores" backend now finds out which update button was pressed.

19 years agoAdd tournament/round hidden inputs for all cases :-)
Steinar H. Gunderson [Wed, 16 Feb 2005 14:08:03 +0000 (14:08 +0000)]
Add tournament/round hidden inputs for all cases :-)

19 years agoMoved the hidden tournament/round inputs into a place where they actually make sense.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:06:47 +0000 (14:06 +0000)]
Moved the hidden tournament/round inputs into a place where they actually make sense.

19 years agoAdd a (dummy) do-edit-scores.pl backend. (Nevermind, it crept into the previous commi...
Steinar H. Gunderson [Wed, 16 Feb 2005 14:04:55 +0000 (14:04 +0000)]
Add a (dummy) do-edit-scores.pl backend. (Nevermind, it crept into the previous commit anyhow...)

19 years agoAdd hidden tournament and round form elements.
Steinar H. Gunderson [Wed, 16 Feb 2005 14:01:34 +0000 (14:01 +0000)]
Add hidden tournament and round form elements.

19 years agoAdd name= to the submit buttons, and some information fixes.
Steinar H. Gunderson [Wed, 16 Feb 2005 13:58:19 +0000 (13:58 +0000)]
Add name= to the submit buttons, and some information fixes.

19 years agoChange nowrap="nowrap" to CSS.
Steinar H. Gunderson [Wed, 16 Feb 2005 13:52:43 +0000 (13:52 +0000)]
Change nowrap="nowrap" to CSS.

19 years agoDistinguish the name= on the form elements.
Steinar H. Gunderson [Wed, 16 Feb 2005 13:49:00 +0000 (13:49 +0000)]
Distinguish the name= on the form elements.