summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Pat Thoyts [Fri, 18 Jun 2010 23:59:03 +0000 (00:59 +0100)]
Fix errors preventing compilation with optimizing gcc 4.
Added some assertion checks and some styling updates.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Fri, 18 Jun 2010 23:57:10 +0000 (00:57 +0100)]
C style for linked list implementation and unit testing.
This removes a memory leak in the swap and sort functions. Also an off
by one error in the push function.
Ensure the sort does so by alpha and then size.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Fri, 18 Jun 2010 22:35:03 +0000 (23:35 +0100)]
C coding style changes
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Thu, 17 Jun 2010 00:00:02 +0000 (01:00 +0100)]
Use a macro to indicate the space character substitution.
It is somewhat safer to avoid non-ASCII characters in the source files
so avoid potential encoding issues on non-English platforms. And we may
as well use the # char as anything else. Macroified all usage of this
character and cleaned the errors reported by gcc for unchecked results.
Use fseek rather than reopening the wordlist file to start again.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Wed, 16 Jun 2010 23:33:23 +0000 (00:33 +0100)]
Finished the NSI installer - default create the start menu items.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Wed, 16 Jun 2010 12:38:07 +0000 (13:38 +0100)]
Provide a Windows installer.
This patch implements an installer for Windows using the open source
Nullsoft Scriptable Installation System (http://nsis.sourceforge.net) to
create a simple installation option for end users.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Wed, 16 Jun 2010 00:13:16 +0000 (01:13 +0100)]
Merged C code cleanup and low-cpu branch to master
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Tue, 15 Jun 2010 23:31:01 +0000 (00:31 +0100)]
Added some unit tests for some of the utility functions.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Tue, 15 Jun 2010 23:30:15 +0000 (00:30 +0100)]
Cleanup of the C code
This patch cleans up some dubious constructs and replaces some functions
with standard library equivalents. Lots of C style changes.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Tue, 15 Jun 2010 21:03:19 +0000 (22:03 +0100)]
lowcpu: reduce the cpu usage by the gameloop.
This patch adds support for building using nmake and MSVC on windows and
also modifies the gameloop to drop the cpu usage significantly using a
timer and waiting rather than constantly polling the SDL loop.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Tue, 15 Jun 2010 20:13:20 +0000 (21:13 +0100)]
Imported anagramarama-0.3.tar.gz
Pat Thoyts [Tue, 15 Jun 2010 19:57:37 +0000 (20:57 +0100)]
Imported anagramarama-0.2.tar.gz
Pat Thoyts [Tue, 15 Jun 2010 19:47:54 +0000 (20:47 +0100)]
Imported anagramarama-src-01.tar.gz