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
0c4fe367cc
Fix duplication symbol issue on Mac.
...
This may have affected Linux as well.
2013-04-21 09:31:45 -04: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
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
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
Devin J. Pohly
001ee51242
replace gotos with tail calls where appropriate
2013-01-25 17:22:23 -05:00
Devin J. Pohly
bd0e2074ad
replace ASSERT(0) with useful fail messages
2012-12-27 16:59:35 -05:00
Jason Felds
a15cbc431d
War on -Werror, part 14: More hodgepodge.
2012-12-27 12:45:04 -05:00
AJ Kelly
c7fab6014f
[Various] Allow loading of *.jpeg in addition to *.jpg.
2011-12-17 03:21:12 -06:00
AJ Kelly
0e56c9aeaf
oops
2011-09-26 17:57:05 -05:00
AJ Kelly
e590230968
[ThemeManager] Add global Scripts dir. [originally by shakesoda from broken]
2011-09-26 17:52:08 -05:00
AJ Kelly
fa12ff045b
[ThemeManager] Added DoesThemeExist(sTheme), IsThemeSelectable(sTheme), DoesLanguageExist(sLang), GetCurThemeName(), HasMetric(sGroup,sValue), and HasString(sGroup,sValue) Lua bindings.
2011-08-27 15:48:33 -05:00
AJ Kelly
ba60b894a2
minor change
2011-08-20 03:32:16 -05:00
Flameshadowxeroshin
c776367a03
added some code I am working on and properly added the RunLuaScripts binding
2011-08-18 23:56:16 -05:00
Flameshadowxeroshin
b6c2882362
okay dammit
2011-08-17 19:43:08 -05:00
Flameshadowxeroshin
fbc064dfba
add THEME:RunLuaScripts()
2011-08-17 19:33:47 -05:00
AJ Kelly
c2ec5614fa
change a todo
2011-08-07 13:46:02 -05:00
AJ Kelly
0c6154f9ed
small removal
2011-08-07 13:41:44 -05:00
Mark Cannon
e1a447cc36
revert henke's loadingwindow "improvements"; if you're reading this, henke, you do *NOT* sacrifice readability for misguided optimization, and you do *NOT* use a globally externed variable for something with a useful lifetime of part of one function
2011-08-06 21:33:49 +00:00
Henrik Andersson
813c2d8f09
[loading window] Theme loading should also list itself in the loading window.
2011-06-04 16:09:47 +02:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
Jason Felds
9d13036e08
Add @briefs to the Luna classes.
...
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
Mark Cannon
2c9678ca65
fix PrefsManager init list not being in order, add hack to ThemeManager to make GetThemeName() work intuitively for Scripts dirs
2011-01-07 23:41:23 -05:00
AJ Kelly
20a1802758
add StripMacResourceForks(); hopefully prevents things like issue 178 ( http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=178 ) from happening again
2010-08-26 00:49:40 -05:00
AJ Kelly
2a8f11d031
fix smpackage compile.
2010-08-16 18:52:21 -05:00
AJ Kelly
65aafa5ccc
[ThemeManager] add GetSelectableThemeNames Lua binding; returns a table of themes as strings
2010-08-15 16:16:42 -05:00
AJ Kelly
c16de85e3a
add GetCurLanguage() Lua binding.
2010-05-26 00:09:05 -05:00
AJ Kelly
642f4b107c
the various changes that I forgot to commit (cleanup and so forth) into hg,
...
culminating in syncing with sm-ssc v1.0 public beta 2
2010-03-31 17:37:09 -05:00
AJ Kelly
dca9182138
various cleanup and commenting
2010-03-14 19:46:05 -05:00
AJ Kelly
02c7037721
sm-ssc v1.0 Public Beta 1 code changes
2010-03-01 00:44:39 -06:00
AJ Kelly
3e51544930
Initial commit.
2010-01-26 21:00:30 -06:00
Devin J. Pohly
80057f53cd
smsvn -> ssc-hg glue: rearrange directory structure
2013-06-10 15:38:43 -04:00