Commit Graph
33191 Commits
Author SHA1 Message Date
Jason Felds dfe924a64d Simplify, be explicit. 2013-04-27 14:00:31 -04:00
Jason Felds a11062a29a Simpler loop. 2013-04-27 13:59:36 -04:00
Jason Felds e6ee027af0 Simplify the loop. 2013-04-27 13:58:51 -04:00
Jason Felds 1560244fdd Loop this cleanly. 2013-04-27 13:57:27 -04:00
Jason Felds acb312fa14 No need for indexer: use for each.
Also no need to have a separate ref variable.
2013-04-27 13:56:25 -04:00
Jason Felds 7356adefd7 Handle the set loops here. 2013-04-27 13:54:28 -04:00
Jason Felds 9c7111918d Loop and whitespace. 2013-04-27 13:52:46 -04:00
Jason Felds 2642ef77e4 Loop and spacing. 2013-04-27 13:51:13 -04:00
Jason Felds e2e7b7f39e Handle the lone deque. 2013-04-27 13:45:04 -04:00
Jason Felds 11fcbaec64 Another one bites the dust. 2013-04-27 13:43:08 -04:00
Jason Felds 3ea1ab26a5 Loops and...white space.
I already regretted hgeol here.
2013-04-27 13:42:19 -04:00
Jason Felds 048109dbd6 Cleaner loops ahoy! 2013-04-27 13:40:22 -04:00
Jason Felds 46d15c23dc Another loop, another white spaced file. 2013-04-27 13:36:19 -04:00
Jason Felds 105d603265 Another loop, another white spaced file. 2013-04-27 13:34:03 -04:00
Jason Felds f66883aa1b Forgot to utilize references.
Still compiled, but wasn't the best move.
2013-04-27 13:33:05 -04:00
Jason Felds 4cff3766aa Set loop (plus white space) 2013-04-27 13:31:47 -04:00
Jason Felds eac4dc231d Handle the set loop here. 2013-04-27 13:29:34 -04:00
Jason Felds af5f4be15b Handle the Preference for each set loops. 2013-04-27 13:23:27 -04:00
Jason Felds 46d3095877 Replace index version with for each version.
I was already in this file: may as well.
2013-04-27 13:21:08 -04:00
Jason Felds ed0600fa36 Another for loop to f--white space!! 2013-04-27 13:18:54 -04:00
Jason Felds 3758284cba The first of the set loops. 2013-04-27 13:17:32 -04:00
Jason Felds c89634d0d7 Replace macro with for each loop.
...again, blasted newlines.
2013-04-27 13:16:16 -04:00
Jason Felds 4427ea0d91 Remove unused maros.
Also, white space hell.
2013-04-27 13:08:15 -04:00
Jason Felds e1274052ed Use the latest version of the C++11 compiler.
Well, someone has to test it. Anyone know if this
will support XP?
2013-04-27 12:46:06 -04:00
Jason Felds 9116712851 New branch for C++11 prep and scout and whatnot.
First step: remove project files that won't work
for the future for sure.
2013-04-27 12:34:58 -04:00
Devin J. Pohly feb919f0bf Revert memory leak commits
5f7001e: "Added a new branch"
01456ed: "Fixed a lot of memory leaks"
dac4493: "Fixed all remaining memory leaks that I could figure out"
0792db7: "Removed the smnew macro and the call to _CrtSetDbgFlag()"

Some of these caused destructor-time problems due to static initialization
order fiasco and related issues.  Notably, the program would no longer exit on
OSX and had to be killed.

There were probably legitimate fixes in here, but since these are monolithic
commits it's too much work to extract them now.  Let's reapply them
individually and in the forward direction.
2013-04-27 00:05:14 -04:00
Jason Felds ef9c5294a0 Simple merge for once. 2013-04-23 21:21:25 -04:00
Jason Felds 6761a3f33a I was wondering when this commit would happen. 2013-04-23 21:21:13 -04:00
Shenjoku b59d3e9a8f Fixed the non-const definition of the TimingData::GetSegmentAtRow() function,
which was missing the class specifier and casting the data wrong.
2013-04-22 22:20:40 -07:00
Jason Felds 0c4fe367cc Fix duplication symbol issue on Mac.
This may have affected Linux as well.
2013-04-21 09:31:45 -04:00
Jason Felds c7b8664604 Consider this transplanted.
Plus, default should be the left-most branch in graphical viewing.
2013-04-21 00:09:35 -04:00
Jason Felds b3ecde1eb9 Disable committing any sdf based files. 2013-04-20 23:48:48 -04:00
Shenjoku fea35b5486 Merge with memoryLeakDetection branch. 2013-04-19 20:36:59 -07:00
Shenjoku 0792db752a Removed the smnew macro and the call to _CrtSetDbgFlag() to get ready for
merging with the main branch.
2013-04-19 20:34:11 -07:00
Jason Felds 20d94d4b7e Cat is back in the bag. Revert commits.
A-mods need to be tested more.

...and this is what happens when you forget to
stash changes before a merge. Lesson learned.
2013-04-19 21:49:55 -04:00
Jason Felds 459ffe027f Somehow the other options didn't get set. 2013-04-19 21:30:28 -04:00
Shenjoku dac4493fe5 Fixed all remaining memory leaks that I could figure out except for a 4 byte
leak that isn't being caught by the smnew macro for some reason. It might be in
one of the third party libraries or something, I'm not sure.
2013-04-18 22:27:24 -07:00
Shenjoku 01456ed0b9 Fixed a lot of memory leaks caused by static globals never getting
deleted and some other objects not getting deleted properly due to missing
destructors.
2013-04-18 21:17:57 -07:00
Jason Felds 3b7d5716a7 ...well, cat's out of the bag. a-mod tryout. 2013-04-18 23:05:23 -04:00
Jason Felds 489a9312fc Forced a merge. Should be good. 2013-04-18 22:58:30 -04:00
Jason Felds 5d5875904d And these... 2013-04-18 22:58:10 -04:00
Jason Felds bbb57b1600 Missed more of these darned spots.
Gah, losing my touch.
2013-04-18 22:56:57 -04:00
Shenjoku 5f7001ef0a Added a new branch that implements support for outputting all memory leaks to
the debug output for the Debug and FastDebug project configurations. This
requires replacing all instances of new with a macro, smnew, that defines a
special form of new which outputs file and line number information along with
the memory leak details. This makes finding memory leaks much easier since you
can just double-click the leak in the output window and it will take you to the
line that caused it.
2013-04-17 20:42:29 -07:00
Jason Felds de396800d8 Forgot this one. 2013-04-17 20:53:23 -04:00
Shenjoku 05cf6d8cd8 Cleaned up the paths in the VS2008 and VS2010 projects to use '\' character
instead of '/' for consistency and general correctness.

Also added the DirectX include and library paths to the VS2010 project and fixed
the /MP switch for all configurations (it was conflicting with the minimal
rebuild setting).
2013-04-16 23:17:54 -07:00
Jason Felds 68e0be3595 No longer supporting these. 2013-04-16 00:16:31 -04:00
Jason Felds 0ae4183f7b Round 2-2 of this. 2013-04-16 00:16:02 -04:00
Jason Felds 1d7b5fe852 Round 2 of this. 2013-04-15 23:26:05 -04:00
Jason Felds 26399964cb Update the 2011 project for DirectX 9.
To JCG: welcome aboard. Please be careful about
new commits when you don't have the latest tools.
2013-04-14 12:10:55 -04:00
Shenjoku ba0d2d1838 Upgraded the DirectX 8 rendering to DirectX 9. Updated Direct Input to work with
the latest SDK as well.
2013-04-08 21:13:47 -07:00