Marc Cannon [Sat, 19 Jan 2013 15:52:49 +0000 (10:52 -0500)]
Add Release-SSE2 configurations (with SSE2 heuristic optimisation) to libtommath/libtomcrypt
Marc Cannon [Sat, 19 Jan 2013 15:48:44 +0000 (10:48 -0500)]
Add a bunch of build file artefacts to gitignore
Marc Cannon [Sat, 19 Jan 2013 15:31:25 +0000 (10:31 -0500)]
Add shell script to pull versioning info from Git on Windows and generate a "verinfo" header, then pull it into ProductInfo. This will cause Windows builds to fail until a call to this script is added.
Marc Cannon [Sat, 19 Jan 2013 15:18:37 +0000 (10:18 -0500)]
Fix a few Windows compilation errors (VS2k10 fixups in arch_setup, typo in Crash)
Marc Cannon [Sat, 19 Jan 2013 15:17:04 +0000 (10:17 -0500)]
Pull in libtommath/libtomcrypt with preprocessing pragmas for now
Marc Cannon [Sat, 19 Jan 2013 15:16:04 +0000 (10:16 -0500)]
Re-add headers that Windows complains about not having for one reason or another
Marc Cannon [Sat, 19 Jan 2013 01:15:33 +0000 (20:15 -0500)]
Added Visual Studio 2010 build files (libtommath/libtomcrypt appear to work, no guarantees about StepMania-net2010 just yet.)
Marc Cannon [Wed, 16 Jan 2013 02:50:07 +0000 (02:50 +0000)]
Normalize file modes to 0644 for all .cpp/.h files
Marc Cannon [Wed, 16 Jan 2013 02:45:01 +0000 (02:45 +0000)]
Ran deheader and removed a bunch of extraneous includes. This only improves compilation speed on gcc by about 7% (at least for me), but I like the extra cleanliness and it shouldn't hurt.
Pat Mac [Wed, 16 Jan 2013 21:01:53 +0000 (13:01 -0800)]
cleaner autogen.sh aclocal fix
Pat Mac [Wed, 16 Jan 2013 08:43:36 +0000 (00:43 -0800)]
autogen aclocal fixups + build chroot dependency fixes
Marc Cannon [Tue, 15 Jan 2013 17:37:17 +0000 (17:37 +0000)]
Merge branch 'master' of https://github.com/vyhd/openitg
Conflicts:
autogen.sh
configure.ac
src/DiagnosticsUtil.cpp
src/NetworkSyncManager.cpp
src/ProductInfo.cpp
src/ProductInfo.h
src/RageFileManager.cpp
src/ScreenTitleMenu.cpp
src/SongManager.cpp
src/StepMania.cpp
src/arch/Lights/LightsDriver.cpp
src/archutils/Unix/CrashHandlerChild.cpp
src/archutils/Win32/Crash.cpp
Marc Cannon [Wed, 2 Jan 2013 15:24:54 +0000 (15:24 +0000)]
Implement progress bar in SongManager
Marc Cannon [Wed, 2 Jan 2013 15:24:27 +0000 (15:24 +0000)]
Update loading.xpm to lightning's splash image
Marc Cannon [Wed, 2 Jan 2013 15:22:37 +0000 (15:22 +0000)]
Clean up for Gtk widget: remove window decorations, add a progress bar (currently only does percentages -- may add pulsing in the future if it seems necessary)
Marc Cannon [Wed, 2 Jan 2013 15:21:35 +0000 (15:21 +0000)]
Add LoadingWindow::SetProgress(current, target)
Marc Cannon [Wed, 2 Jan 2013 06:06:15 +0000 (06:06 +0000)]
Also remove 'CustomsLoadMax' pref; it's unhelpful and the load timeout is what matters, not how many songs load before the timeout is hit.
Marc Cannon [Wed, 2 Jan 2013 05:57:01 +0000 (05:57 +0000)]
Remove prefs for 'AllowExtraPlayerOptions', 'CustomMaxSizeMB', and 'CustomMaxStepSizeKB'; the former has no useful purpose, the latter two provide unnecessary config for edge cases. We can determine more reasonable 'hard' limits and cut some cruft in the meantime
Marc Cannon [Wed, 2 Jan 2013 05:38:30 +0000 (05:38 +0000)]
Added Lua sandboxing for profile-loaded Lua data. If the profile data can't be loaded within the sandbox (no external symbol or function calls), then it's blanked on next save.
Marc Cannon [Wed, 2 Jan 2013 03:58:21 +0000 (03:58 +0000)]
Moved Lua versioning globals logic (DiagnosticUtils.cpp -> ProductInfo.cpp), string::npos -> CString::npos, SetProgramGlobals -> SetVersionGlobals
Marc Cannon [Wed, 2 Jan 2013 03:45:06 +0000 (03:45 +0000)]
Unbreak the OPENITG_VERSION token, which someone broke by setting it to a string instead of an integer. Added comments to clarify purpose. Added code to generate an integer token that defines a build, using its versioning data, and several constants extended to Lua space.
Marc Cannon [Wed, 2 Jan 2013 03:35:53 +0000 (03:35 +0000)]
Overhaul of ProductInfo: change to const refs, removed unused bug tracker, fixed casing to match rest of the engine.
Marc Cannon [Wed, 2 Jan 2013 03:32:00 +0000 (03:32 +0000)]
removed what I'm guessing is a debug printf (please use LOG->Debug and please try not to commit those calls...)
Marc Cannon [Wed, 2 Jan 2013 02:51:54 +0000 (02:51 +0000)]
Make configure versioning more name-agnostic, grab our version from the src tag and have a separate value for the revision, append 'DEV' to the version name if we're not on the tagged release
Marc Cannon [Wed, 2 Jan 2013 02:49:32 +0000 (02:49 +0000)]
Tell SMO we're SM 3.95; we haven't changed any code, so this seems less dangerous than tying it to a version number until/unless we actually modify things.
Marc Cannon [Sat, 29 Dec 2012 00:04:28 +0000 (00:04 +0000)]
Remove all 'dynamic' driver work to date. This may be replaced with a LuaDriver backport in the foreseeable future.
Marc Cannon [Fri, 28 Dec 2012 23:57:11 +0000 (23:57 +0000)]
Don't consider explicitly read-only paths for file writing
Marc Cannon [Fri, 28 Dec 2012 23:56:41 +0000 (23:56 +0000)]
Never refuse to run due to a missing LoadingWindow; just log an error and fall back to null
Marc Cannon [Fri, 28 Dec 2012 23:35:14 +0000 (23:35 +0000)]
Don't use SSE2 optimisations by default; see note in configure.ac.
Marc Cannon [Fri, 28 Dec 2012 22:53:37 +0000 (22:53 +0000)]
Tentative fix for 'couldn't open directory ' issue
spigwitmer [Mon, 9 Jul 2012 09:28:53 +0000 (02:28 -0700)]
Merge pull request #14 from DataBeaver/warning-fixes
Warning fixes
spigwitmer [Mon, 9 Jul 2012 09:27:56 +0000 (02:27 -0700)]
Merge pull request #17 from DataBeaver/speedmod-fixes
Speedmod fixes
Mikko Rasa [Mon, 9 Jul 2012 07:01:44 +0000 (10:01 +0300)]
Remove/disable log statements that got left in by accident
spigwitmer [Mon, 9 Jul 2012 04:19:17 +0000 (21:19 -0700)]
Merge pull request #16 from DataBeaver/master
Tweak static.ini
Mikko Rasa [Thu, 28 Jun 2012 19:49:27 +0000 (22:49 +0300)]
Fix a crash when the first player has a valid speedmod but the second doesn't
Mikko Rasa [Thu, 28 Jun 2012 09:48:37 +0000 (12:48 +0300)]
Fix a stupid indexing mistake
Mikko Rasa [Wed, 27 Jun 2012 20:58:27 +0000 (23:58 +0300)]
FastLoad is better left enabled
Mikko Rasa [Wed, 27 Jun 2012 18:54:27 +0000 (21:54 +0300)]
Don't reset focus on the speedmod row to make changing the mod easier
Mikko Rasa [Wed, 27 Jun 2012 18:53:29 +0000 (21:53 +0300)]
Compare speedmods case-insensitively
Mikko Rasa [Wed, 27 Jun 2012 08:33:42 +0000 (11:33 +0300)]
Disable most of the settings in Static.ini and add comments
spigwitmer [Wed, 27 Jun 2012 18:15:19 +0000 (11:15 -0700)]
Merge pull request #13 from DataBeaver/master
Remove struct alignment attributes
Mikko Rasa [Mon, 25 Jun 2012 21:35:00 +0000 (00:35 +0300)]
Remove struct alignment attributes
In many cases these structs are allocated dynamically, which doesn't guarantee
proper alignment anyway.
Mikko Rasa [Mon, 25 Jun 2012 21:04:33 +0000 (00:04 +0300)]
Avoid a warning about type-punning
Mikko Rasa [Mon, 25 Jun 2012 20:50:09 +0000 (23:50 +0300)]
Avoid warnings about narrowing conversions inside { }
Mikko Rasa [Mon, 25 Jun 2012 20:46:35 +0000 (23:46 +0300)]
Don't return false as a pointer
Mikko Rasa [Mon, 25 Jun 2012 19:58:24 +0000 (22:58 +0300)]
Fix the wrap functions again, properly this time
infamouspat [Sun, 24 Jun 2012 23:17:51 +0000 (16:17 -0700)]
How has this been in our repository for this long?:
* Fix wrong use of test syntax in build-home.sh that resulted in make
creating an unlimited amount of threads when the number of processes
is not specified
infamouspat [Wed, 4 Apr 2012 05:57:55 +0000 (22:57 -0700)]
Reorder memcard loading to favor USB profiles over custom songs
Carl Myers [Wed, 4 Apr 2012 06:14:23 +0000 (23:14 -0700)]
Deploy script for copying binary to arcade cab for testing
Carl Myers [Wed, 4 Apr 2012 03:53:35 +0000 (20:53 -0700)]
Revert "Make wrap a template to avoid type-punning"
This reverts commit
334f1f865fde7123608a4c7363e33424464273d6.
Carl Myers [Tue, 3 Apr 2012 03:59:43 +0000 (20:59 -0700)]
No longer use -Wno-unused-but-set-variable for building libtommath
infamouspat [Sun, 26 Feb 2012 00:31:37 +0000 (16:31 -0800)]
Fix songinprogress write crashing on marathons
infamouspat [Tue, 3 Apr 2012 07:22:01 +0000 (00:22 -0700)]
Fix busted FileCopy()
Mark Cannon [Mon, 13 Feb 2012 19:38:33 +0000 (14:38 -0500)]
replace kludgy global flag with less kludgy callbacks; this code is untested, since I don't have a test environment ri ght now, but shouldn't break anything hugely
infamouspat [Sun, 22 Jan 2012 11:00:35 +0000 (03:00 -0800)]
SongManager: Consolidate m_pMachineSongs and m_pCustomSongs into one vector
spigwitmer [Sat, 21 Jan 2012 06:22:49 +0000 (22:22 -0800)]
Merge pull request #7 from Ugge/master
Build fixes
spigwitmer [Fri, 25 Nov 2011 23:00:41 +0000 (15:00 -0800)]
Merge pull request #12 from DataBeaver/master
Warning fixes and pmount support
infamouspat [Fri, 25 Nov 2011 21:34:34 +0000 (13:34 -0800)]
Add libtomcrypt and libtommath to vs2008 build
Mikko Rasa [Mon, 7 Nov 2011 09:11:48 +0000 (11:11 +0200)]
Better range check for keycodes on X11
Mikko Rasa [Wed, 2 Nov 2011 15:47:40 +0000 (17:47 +0200)]
Implement pmount support for memory cards not found in fstab
Mikko Rasa [Wed, 2 Nov 2011 15:46:19 +0000 (17:46 +0200)]
Fix reading of USB device information
Mikko Rasa [Wed, 2 Nov 2011 15:06:15 +0000 (17:06 +0200)]
Fix line numbers in error messages
Mikko Rasa [Wed, 2 Nov 2011 12:07:18 +0000 (14:07 +0200)]
Eliminate various warnings about unused variables
Mikko Rasa [Wed, 2 Nov 2011 12:05:22 +0000 (14:05 +0200)]
The CString overload of GetSha1ForFile is never called, disable it to avoid a warning
Mikko Rasa [Wed, 2 Nov 2011 12:01:22 +0000 (14:01 +0200)]
Mark dummy as unused since it's apparently needed on some platforms (OpenITG on OS/2? Oh yeah.)
Mikko Rasa [Wed, 2 Nov 2011 12:00:21 +0000 (14:00 +0200)]
Check the return value of rfod->Read
Mikko Rasa [Wed, 2 Nov 2011 11:59:48 +0000 (13:59 +0200)]
pcre/chartables.c is #included from another file, don't compile it separately
Mikko Rasa [Wed, 2 Nov 2011 11:58:45 +0000 (13:58 +0200)]
Remove a no-op statement
Mikko Rasa [Wed, 2 Nov 2011 11:58:07 +0000 (13:58 +0200)]
Fix some undefined behaviour
Mikko Rasa [Wed, 2 Nov 2011 10:52:48 +0000 (12:52 +0200)]
Remove an erroneous semicolon
Mikko Rasa [Wed, 2 Nov 2011 10:52:33 +0000 (12:52 +0200)]
More string literal workarounds
Mikko Rasa [Wed, 2 Nov 2011 10:51:48 +0000 (12:51 +0200)]
Avoid a warning about converting a string literal to (non-const) char *
Mikko Rasa [Wed, 2 Nov 2011 10:51:02 +0000 (12:51 +0200)]
Ditch the asserts from dsnd*alloca, since they're only ever used on stack variables
Mikko Rasa [Wed, 2 Nov 2011 10:46:16 +0000 (12:46 +0200)]
Make wrap a template to avoid type-punning
Mikko Rasa [Wed, 2 Nov 2011 10:45:19 +0000 (12:45 +0200)]
Prefer a union over type-punning
Mikko Rasa [Wed, 2 Nov 2011 10:44:59 +0000 (12:44 +0200)]
We're not going to fall out of the loop, inform the compiler of that
Mikko Rasa [Wed, 2 Nov 2011 10:43:53 +0000 (12:43 +0200)]
Use temporary variables to avoid warnings about casts
Mikko Rasa [Wed, 2 Nov 2011 10:43:20 +0000 (12:43 +0200)]
Silence warnings from the .xpm file in GTK loading window
Mikko Rasa [Wed, 2 Nov 2011 10:42:20 +0000 (12:42 +0200)]
Silence warnings from libtomcrypt
Mikko Rasa [Wed, 2 Nov 2011 09:19:59 +0000 (11:19 +0200)]
Fix aclocal invocation
infamouspat [Sun, 23 Oct 2011 05:52:01 +0000 (22:52 -0700)]
super happy dickhouse productions
Mark Cannon [Tue, 4 Oct 2011 02:47:47 +0000 (22:47 -0400)]
more tentative USB matching fixery; replace shorts with uint16_t, to avoid signedness issues with casting
Mark Cannon [Mon, 3 Oct 2011 22:41:15 +0000 (18:41 -0400)]
tentative fix for USB matching error
Carl Myers [Mon, 3 Oct 2011 08:17:28 +0000 (01:17 -0700)]
Updating songinprogress path to work in arcade and be the same
CR: infamouspat
infamouspat [Mon, 3 Oct 2011 07:55:31 +0000 (00:55 -0700)]
file to mark song in progress
Pat McIlroy [Mon, 3 Oct 2011 06:52:18 +0000 (23:52 -0700)]
add libtommath and libtomcrypt as includes in build
Pat McIlroy [Mon, 3 Oct 2011 06:51:51 +0000 (23:51 -0700)]
add patch data and fix bug in Data dir creation in setup-dev-env.sh
Carl Myers [Mon, 3 Oct 2011 01:44:01 +0000 (18:44 -0700)]
Merge branch 'dev'
infamouspat [Sat, 1 Oct 2011 22:27:48 +0000 (15:27 -0700)]
crypto561 dir BEGONE
Patrick McIlroy [Sat, 1 Oct 2011 12:00:39 +0000 (05:00 -0700)]
Use stabler version of libtommath, replace cryptopp entries in Makefile with libtomcrypt
Patrick McIlroy [Sun, 25 Sep 2011 12:31:40 +0000 (05:31 -0700)]
replace cryptopp with libtomcrypt for PK cryptography
Carl Myers [Sun, 25 Sep 2011 06:40:05 +0000 (23:40 -0700)]
setup-dev-env.sh helps devs setup an environment to run home version
Carl Myers [Sun, 25 Sep 2011 05:26:06 +0000 (22:26 -0700)]
build-home.sh now correctly invokes make without -j
CR: infamouspat
Patrick McIlroy [Sun, 14 Aug 2011 22:50:03 +0000 (15:50 -0700)]
Cherry-pick from Wanny/openitg pull request
MusicWheel.cpp /.h:
Added a metrics toggle to swap Random and Roulette
[MusicWheel]
SwapRandomAndRoulette= 0 is default behavior.
Banner.cpp:
Fixed the conditions for ScrollRandom and ScrollRoulette. Their effects were swapped.
OptionRowHandler.cpp:
Added a metrics toggle to display or not the song's meter besides the difficulty name in ScreenPlayerOptions
[ScreenPlayerOptions]
HideMeter= 0 is default behavior (not hiding it)
Mark Cannon [Thu, 28 Apr 2011 02:41:10 +0000 (22:41 -0400)]
fix silly logic in GetNumMachineScores; now we properly count the number of scores rather than every steps that was played
Mark Cannon [Wed, 27 Apr 2011 21:54:56 +0000 (17:54 -0400)]
commit more sensible implementation of GetNumMachineScores (untested)
Mark Cannon [Wed, 27 Apr 2011 21:39:56 +0000 (17:39 -0400)]
initial reverse of ParseSerialNumber and GetGuidFromSerial; untested, but should be harmless for home users.
Mark Cannon [Sat, 16 Apr 2011 05:40:04 +0000 (01:40 -0400)]
only define OITG_VERSION if we actually have it; handle the undefined case in the binary
Mark Cannon [Sat, 16 Apr 2011 05:38:54 +0000 (01:38 -0400)]
move debug serial generation back to where it belongs, removed ProductInfo::GetSerial, fixed GetFullVersionString() not including the name
Mark Cannon [Sat, 16 Apr 2011 03:19:17 +0000 (23:19 -0400)]
remove unused ProductInfo header