]> git.sesse.net Git - ccbs/log
ccbs
12 years agoRefactor font rendering a tiny bit.
Steinar H. Gunderson [Sun, 19 Feb 2012 16:44:04 +0000 (17:44 +0100)]
Refactor font rendering a tiny bit.

12 years agoFix a crash when not finding any fonts.
Steinar H. Gunderson [Sun, 19 Feb 2012 14:44:16 +0000 (15:44 +0100)]
Fix a crash when not finding any fonts.

12 years agoRemove a debugging printf.
Steinar H. Gunderson [Sun, 19 Feb 2012 02:05:46 +0000 (03:05 +0100)]
Remove a debugging printf.

12 years agoFix column headings; they were broken after a mismerge.
Steinar H. Gunderson [Sun, 19 Feb 2012 01:42:25 +0000 (02:42 +0100)]
Fix column headings; they were broken after a mismerge.

12 years agoIgnore built files in .gitignore.
Steinar H. Gunderson [Sat, 18 Feb 2012 22:40:09 +0000 (23:40 +0100)]
Ignore built files in .gitignore.

12 years agoSupport a theme.config.local.
Steinar H. Gunderson [Sat, 18 Feb 2012 22:39:46 +0000 (23:39 +0100)]
Support a theme.config.local.

12 years agoMove the database configuration to the config file.
Steinar H. Gunderson [Sat, 18 Feb 2012 22:33:23 +0000 (23:33 +0100)]
Move the database configuration to the config file.

12 years agoMove most of the resolution settings to the config file.
Steinar H. Gunderson [Sat, 18 Feb 2012 22:30:30 +0000 (23:30 +0100)]
Move most of the resolution settings to the config file.

12 years agoSupport different theming for odd/even rows.
Steinar H. Gunderson [Sat, 18 Feb 2012 22:06:19 +0000 (23:06 +0100)]
Support different theming for odd/even rows.

12 years agoSplit up the “data” class into more specific members.
Steinar H. Gunderson [Sat, 18 Feb 2012 21:38:22 +0000 (22:38 +0100)]
Split up the “data” class into more specific members.

12 years agoFix RGB/BGR issues in fill_background().
Steinar H. Gunderson [Sat, 18 Feb 2012 21:00:33 +0000 (22:00 +0100)]
Fix RGB/BGR issues in fill_background().

12 years agoMove the theming out to a runtime-read config file. Opens, among others, for differen...
Steinar H. Gunderson [Sat, 18 Feb 2012 19:00:48 +0000 (20:00 +0100)]
Move the theming out to a runtime-read config file. Opens, among others, for different font lists per element type.

12 years agoParametrize color scheme into a separate header file.
Steinar H. Gunderson [Sat, 18 Feb 2012 16:21:51 +0000 (17:21 +0100)]
Parametrize color scheme into a separate header file.

12 years agoCenter some headings a bit better.
Steinar H. Gunderson [Sat, 18 Feb 2012 14:05:16 +0000 (15:05 +0100)]
Center some headings a bit better.

12 years agoMake backgrounded invalidated screens less database-noisy.
Steinar H. Gunderson [Sat, 18 Feb 2012 13:53:20 +0000 (14:53 +0100)]
Make backgrounded invalidated screens less database-noisy.

12 years agoFix a Valgrind hit in RotateScreen.
Steinar H. Gunderson [Sat, 18 Feb 2012 12:04:08 +0000 (13:04 +0100)]
Fix a Valgrind hit in RotateScreen.

12 years agoPrepare top 5 chosen screen for widescreen.
Steinar H. Gunderson [Sat, 18 Feb 2012 11:55:33 +0000 (12:55 +0100)]
Prepare top 5 chosen screen for widescreen.

12 years agoPrepare top 10 score screen for widescreen.
Steinar H. Gunderson [Sat, 18 Feb 2012 11:49:29 +0000 (12:49 +0100)]
Prepare top 10 score screen for widescreen.

12 years agoPrepare the group screen for widescreen.
Steinar H. Gunderson [Sat, 18 Feb 2012 11:43:59 +0000 (12:43 +0100)]
Prepare the group screen for widescreen.

12 years agoQuit on escape or closed window.
Steinar H. Gunderson [Sat, 18 Feb 2012 11:40:15 +0000 (12:40 +0100)]
Quit on escape or closed window.

12 years agoIn RotateScreen destructor, do not leak subscreen surfaces.
Steinar H. Gunderson [Sat, 18 Feb 2012 11:21:32 +0000 (12:21 +0100)]
In RotateScreen destructor, do not leak subscreen surfaces.

12 years agoFix the rotatescreen fading so subpixel LCD works again. Generally a lot fewer hacks...
Steinar H. Gunderson [Sat, 18 Feb 2012 11:21:12 +0000 (12:21 +0100)]
Fix the rotatescreen fading so subpixel LCD works again. Generally a lot fewer hacks here.

12 years agoFix the tournamnent end-mode selection.
Steinar H. Gunderson [Sat, 18 Feb 2012 02:19:04 +0000 (03:19 +0100)]
Fix the tournamnent end-mode selection.

12 years agoFix the pitch check (pitch from SDL is in bytes, not pixels).
Steinar H. Gunderson [Sat, 18 Feb 2012 01:54:48 +0000 (02:54 +0100)]
Fix the pitch check (pitch from SDL is in bytes, not pixels).

12 years agoOn the last fade-from-red, just complete the fade instead of doing a re-render. Fixes...
Steinar H. Gunderson [Sat, 18 Feb 2012 01:44:27 +0000 (02:44 +0100)]
On the last fade-from-red, just complete the fade instead of doing a re-render. Fixes an ugly “jerk” at the end of the fade, since FreeType is pretty slow.

12 years agoSpeed up the fades a bit.
Steinar H. Gunderson [Sat, 18 Feb 2012 01:29:08 +0000 (02:29 +0100)]
Speed up the fades a bit.

12 years agoOptimization: If pitch == width, render directly into the framebuffer.
Steinar H. Gunderson [Sat, 18 Feb 2012 01:12:27 +0000 (02:12 +0100)]
Optimization: If pitch == width, render directly into the framebuffer.

12 years agoDo not use fullscreen by default.
Steinar H. Gunderson [Sat, 18 Feb 2012 00:46:18 +0000 (01:46 +0100)]
Do not use fullscreen by default.

12 years agoReinstate the splitscreen.
Steinar H. Gunderson [Sat, 18 Feb 2012 00:45:53 +0000 (01:45 +0100)]
Reinstate the splitscreen.

12 years agoDisable cursor in fullscreen mode.
Steinar H. Gunderson [Sat, 18 Feb 2012 00:27:59 +0000 (01:27 +0100)]
Disable cursor in fullscreen mode.

12 years agoAdd a fullscreen define.
Steinar H. Gunderson [Sat, 18 Feb 2012 00:26:34 +0000 (01:26 +0100)]
Add a fullscreen define.

12 years agoIf we do not have a short title, use the long one in the top 10 score list even if...
Steinar H. Gunderson [Sat, 18 Feb 2012 00:09:12 +0000 (01:09 +0100)]
If we do not have a short title, use the long one in the top 10 score list even if it is too wise.

12 years agoFix a mismatched new[]/delete.
Steinar H. Gunderson [Fri, 17 Feb 2012 23:33:15 +0000 (00:33 +0100)]
Fix a mismatched new[]/delete.

12 years agoReplace TinyPTC with SDL.
Steinar H. Gunderson [Fri, 17 Feb 2012 23:06:48 +0000 (00:06 +0100)]
Replace TinyPTC with SDL.

12 years agoFix the pqxx include.
Steinar H. Gunderson [Fri, 17 Feb 2012 22:39:13 +0000 (23:39 +0100)]
Fix the pqxx include.

12 years agoPort to pqxx3, where we need the widestring traits available at parse time.
Steinar H. Gunderson [Sat, 11 Feb 2012 15:12:26 +0000 (16:12 +0100)]
Port to pqxx3, where we need the widestring traits available at parse time.

12 years agoMinor hack for the new database structure.
Steinar H. Gunderson [Sat, 11 Feb 2012 15:12:02 +0000 (16:12 +0100)]
Minor hack for the new database structure.

12 years agoCompile with debugging information.
Steinar H. Gunderson [Sat, 11 Feb 2012 15:11:52 +0000 (16:11 +0100)]
Compile with debugging information.

12 years agoFix player link in songs.pl.
Steinar H. Gunderson [Fri, 10 Feb 2012 00:31:43 +0000 (01:31 +0100)]
Fix player link in songs.pl.

12 years agoFix CCBS parsing of nicks with spaces in them.
Steinar H. Gunderson [Fri, 10 Feb 2012 00:31:37 +0000 (01:31 +0100)]
Fix CCBS parsing of nicks with spaces in them.

12 years agoMerge branch 'mainline-0.1' of /srv/git.sesse.net/private/ccbs into mainline-0.1
Steinar H. Gunderson [Thu, 9 Feb 2012 22:22:52 +0000 (23:22 +0100)]
Merge branch 'mainline-0.1' of /srv/git.sesse.net/private/ccbs into mainline-0.1

12 years agoOrder by tournament name as a last resort, to get consistent ordering when two tourna...
Steinar H. Gunderson [Thu, 9 Feb 2012 22:22:39 +0000 (23:22 +0100)]
Order by tournament name as a last resort, to get consistent ordering when two tournaments have the same date.

12 years agoAdd a script to parse the CCBS player list and set countries and clubs correctly.
Steinar H. Gunderson [Thu, 9 Feb 2012 22:20:15 +0000 (23:20 +0100)]
Add a script to parse the CCBS player list and set countries and clubs correctly.

12 years agoAdded a script to parse the HTML from www.positivegaming.com.
Steinar H. Gunderson [Thu, 9 Feb 2012 22:00:30 +0000 (23:00 +0100)]
Added a script to parse the HTML from www.positivegaming.com.

12 years agoMerge branch 'mainline-0.1' of /srv/git.sesse.net/private/ccbs into mainline-0.1
Steinar H. Gunderson [Tue, 7 Feb 2012 01:29:32 +0000 (02:29 +0100)]
Merge branch 'mainline-0.1' of /srv/git.sesse.net/private/ccbs into mainline-0.1

12 years agoFix some SQL errors that crept in during refactoring.
Steinar H. Gunderson [Tue, 7 Feb 2012 01:29:21 +0000 (02:29 +0100)]
Fix some SQL errors that crept in during refactoring.

12 years agoFix syntax error in gettextification.
Steinar H. Gunderson [Tue, 7 Feb 2012 01:29:08 +0000 (02:29 +0100)]
Fix syntax error in gettextification.

12 years agoFix showing of open groups for non-public.
Steinar H. Gunderson [Tue, 7 Feb 2012 01:28:51 +0000 (02:28 +0100)]
Fix showing of open groups for non-public.

12 years agoFix syntax errors.
Steinar H. Gunderson [Tue, 7 Feb 2012 01:19:34 +0000 (02:19 +0100)]
Fix syntax errors.

12 years agoRemove OnCommit usage, which does not work anymore. Small hack...
Steinar H. Gunderson [Tue, 7 Feb 2012 00:37:56 +0000 (01:37 +0100)]
Remove OnCommit usage, which does not work anymore. Small hack...

12 years agoWe do not need libpq3-config.
Steinar H. Gunderson [Tue, 7 Feb 2012 00:37:35 +0000 (01:37 +0100)]
We do not need libpq3-config.

12 years agoSome C++ fixes for slightly stricter GCC.
Steinar H. Gunderson [Tue, 7 Feb 2012 00:07:19 +0000 (01:07 +0100)]
Some C++ fixes for slightly stricter GCC.

19 years agoFix corner casing in PL/SQL functions for finding min/max ranks.
Steinar H. Gunderson [Wed, 20 Jul 2005 22:50:02 +0000 (22:50 +0000)]
Fix corner casing in PL/SQL functions for finding min/max ranks.

19 years agoi18nize the season name in show-tournament.pl as well.
Steinar H. Gunderson [Wed, 20 Jul 2005 22:39:03 +0000 (22:39 +0000)]
i18nize the season name in show-tournament.pl as well.

19 years agoUpdate nb_NO.
Steinar H. Gunderson [Wed, 20 Jul 2005 17:58:19 +0000 (17:58 +0000)]
Update nb_NO.

19 years agoActually do the season name translation as well
Steinar H. Gunderson [Wed, 20 Jul 2005 17:57:16 +0000 (17:57 +0000)]
Actually do the season name translation as well

19 years agoUpdate nb_NO translation.
Steinar H. Gunderson [Wed, 20 Jul 2005 17:52:53 +0000 (17:52 +0000)]
Update nb_NO translation.

19 years agoTranslate season names.
Steinar H. Gunderson [Wed, 20 Jul 2005 17:51:58 +0000 (17:51 +0000)]
Translate season names.

19 years agoFixed some language code link problems.
Steinar H. Gunderson [Wed, 20 Jul 2005 13:27:11 +0000 (13:27 +0000)]
Fixed some language code link problems.

19 years agoAdded nn_NO translation by Knut Auvor Grythe :-)
Steinar H. Gunderson [Wed, 20 Jul 2005 13:23:21 +0000 (13:23 +0000)]
Added nn_NO translation by Knut Auvor Grythe :-)

19 years agoStop hardcoding web roots -- make it a config variable instead.
Steinar H. Gunderson [Sun, 17 Jul 2005 17:46:02 +0000 (17:46 +0000)]
Stop hardcoding web roots -- make it a config variable instead.

19 years agoBring translation status up-to-date.
Steinar H. Gunderson [Sun, 17 Jul 2005 17:43:40 +0000 (17:43 +0000)]
Bring translation status up-to-date.

19 years agoFix the default locale to be actually a valid one.
Steinar H. Gunderson [Sun, 17 Jul 2005 17:41:04 +0000 (17:41 +0000)]
Fix the default locale to be actually a valid one.

19 years agoAdd support for the user selecting languages.
Steinar H. Gunderson [Sun, 17 Jul 2005 17:40:42 +0000 (17:40 +0000)]
Add support for the user selecting languages.

19 years agoFix a typo in index.tmpl.
Steinar H. Gunderson [Sun, 17 Jul 2005 18:18:36 +0000 (18:18 +0000)]
Fix a typo in index.tmpl.

19 years agoUpdates to nb_NO translation.
Steinar H. Gunderson [Sun, 17 Jul 2005 18:17:28 +0000 (18:17 +0000)]
Updates to nb_NO translation.

19 years agoFix a somewhat odd bug in the index template.
Steinar H. Gunderson [Sun, 17 Jul 2005 18:10:31 +0000 (18:10 +0000)]
Fix a somewhat odd bug in the index template.

19 years agoFix a bad bug where noadmin would never be set.
Steinar H. Gunderson [Sun, 17 Jul 2005 18:09:39 +0000 (18:09 +0000)]
Fix a bad bug where noadmin would never be set.

19 years agoUpdate translations.
Steinar H. Gunderson [Sun, 17 Jul 2005 15:21:28 +0000 (15:21 +0000)]
Update translations.

19 years agoMultiple changes to make it possible to run www.positivegaming.com off the same code...
Steinar H. Gunderson [Sun, 17 Jul 2005 15:19:04 +0000 (15:19 +0000)]
Multiple changes to make it possible to run www.positivegaming.com off the same code base as --main.

19 years agoRemove .htaccess file, it shouldn't be in the upstream archive.
Steinar H. Gunderson [Sun, 17 Jul 2005 15:08:00 +0000 (15:08 +0000)]
Remove .htaccess file, it shouldn't be in the upstream archive.

19 years agoAdd a stray SQL file that had been sitting in my directory for too long.
Steinar H. Gunderson [Sun, 17 Jul 2005 15:07:08 +0000 (15:07 +0000)]
Add a stray SQL file that had been sitting in my directory for too long.

19 years agoAdd the CSS file from --pgweb.
Steinar H. Gunderson [Sun, 17 Jul 2005 15:06:31 +0000 (15:06 +0000)]
Add the CSS file from --pgweb.

19 years agoMerge in "locked || public" changes from --pgweb, sort of. (I really hope I merged...
Steinar H. Gunderson [Sun, 17 Jul 2005 15:03:50 +0000 (15:03 +0000)]
Merge in "locked || public" changes from --pgweb, sort of. (I really hope I merged the changes the right way :-) )

19 years agoMove the database config into config.pm.
Steinar H. Gunderson [Sun, 17 Jul 2005 14:59:44 +0000 (14:59 +0000)]
Move the database config into config.pm.

19 years agoPull in an SQL fix from who-knows-where.
Steinar H. Gunderson [Sun, 17 Jul 2005 14:56:47 +0000 (14:56 +0000)]
Pull in an SQL fix from who-knows-where.

19 years agoTranslate the three missing nb_NO strings.
Steinar H. Gunderson [Sun, 17 Jul 2005 14:50:37 +0000 (14:50 +0000)]
Translate the three missing nb_NO strings.

19 years agoFix some strings into English.
Steinar H. Gunderson [Sun, 17 Jul 2005 14:49:32 +0000 (14:49 +0000)]
Fix some strings into English.

19 years agoAdd --statistics to msgfmt run.
Steinar H. Gunderson [Sun, 17 Jul 2005 14:48:30 +0000 (14:48 +0000)]
Add --statistics to msgfmt run.

19 years agoRemove a debugging message.
Steinar H. Gunderson [Sun, 17 Jul 2005 14:41:30 +0000 (14:41 +0000)]
Remove a debugging message.

19 years agoMove config stuff over in a separate file.
Steinar H. Gunderson [Sun, 17 Jul 2005 14:41:03 +0000 (14:41 +0000)]
Move config stuff over in a separate file.

19 years agoSet the locale early enough for everything to be translated.
Steinar H. Gunderson [Sun, 17 Jul 2005 13:25:13 +0000 (13:25 +0000)]
Set the locale early enough for everything to be translated.

19 years agoGettextify more (the rest?).
Steinar H. Gunderson [Sun, 17 Jul 2005 13:24:20 +0000 (13:24 +0000)]
Gettextify more (the rest?).

19 years agoStart gettextifying Perl scripts (and thus titles) as well.
Steinar H. Gunderson [Sun, 17 Jul 2005 13:16:50 +0000 (13:16 +0000)]
Start gettextifying Perl scripts (and thus titles) as well.

19 years agoSet correct character set for gettext stuff.
Steinar H. Gunderson [Sun, 17 Jul 2005 13:00:24 +0000 (13:00 +0000)]
Set correct character set for gettext stuff.

19 years agoMake nb_NO compile. :-)
Steinar H. Gunderson [Sun, 17 Jul 2005 12:58:21 +0000 (12:58 +0000)]
Make nb_NO compile. :-)

19 years agoSwitch to nb_NO.
Steinar H. Gunderson [Sun, 17 Jul 2005 12:57:30 +0000 (12:57 +0000)]
Switch to nb_NO.

19 years agoLots of changes/fixes to the new translation stuff.
Steinar H. Gunderson [Sun, 17 Jul 2005 12:56:38 +0000 (12:56 +0000)]
Lots of changes/fixes to the new translation stuff.

19 years agoSwitch to English as a default language, and make a matching nb_NO.po instead.
Steinar H. Gunderson [Sun, 17 Jul 2005 12:47:09 +0000 (12:47 +0000)]
Switch to English as a default language, and make a matching nb_NO.po instead.

19 years agoRestore inadvertedly removed rm -f.
Steinar H. Gunderson [Sun, 17 Jul 2005 12:24:10 +0000 (12:24 +0000)]
Restore inadvertedly removed rm -f.

19 years agoTranslations of the main template.
Steinar H. Gunderson [Sun, 17 Jul 2005 11:55:12 +0000 (11:55 +0000)]
Translations of the main template.

19 years agoAdd an ugly hack to be able to process main.tmpl.
Steinar H. Gunderson [Sun, 17 Jul 2005 11:50:30 +0000 (11:50 +0000)]
Add an ugly hack to be able to process main.tmpl.

19 years agoLots of translation updates.
Steinar H. Gunderson [Sun, 17 Jul 2005 11:41:36 +0000 (11:41 +0000)]
Lots of translation updates.

19 years agoWhoa, actually add po/ directory.
Steinar H. Gunderson [Sun, 17 Jul 2005 11:33:01 +0000 (11:33 +0000)]
Whoa, actually add po/ directory.

19 years agoAdd an English translation.
Steinar H. Gunderson [Sun, 17 Jul 2005 11:32:30 +0000 (11:32 +0000)]
Add an English translation.

19 years agoSupport <option> in template stuff.
Steinar H. Gunderson [Sun, 17 Jul 2005 10:51:54 +0000 (10:51 +0000)]
Support <option> in template stuff.

19 years agoMinor template tweaks.
Steinar H. Gunderson [Sun, 17 Jul 2005 10:50:52 +0000 (10:50 +0000)]
Minor template tweaks.

19 years agoMake a workaround for stupid gettext("") borkage.
Steinar H. Gunderson [Sun, 17 Jul 2005 10:49:48 +0000 (10:49 +0000)]
Make a workaround for stupid gettext("") borkage.

19 years agoUse/support <_> and </_>.
Steinar H. Gunderson [Sun, 17 Jul 2005 10:47:36 +0000 (10:47 +0000)]
Use/support <_> and </_>.

19 years agoRun msgmerge at the end of updating templates.pot.
Steinar H. Gunderson [Sun, 17 Jul 2005 10:42:54 +0000 (10:42 +0000)]
Run msgmerge at the end of updating templates.pot.