-
flik9x added futureboynil to the Sphere RPG Engine project.
2009-02-23 07:41:16 UTC in Sphere RPG Engine
-
flik9x added futureboy to the Sphere RPG Engine project.
2009-02-21 13:59:52 UTC in Sphere RPG Engine
-
flik9x committed patchset 1208 of module sphere to the Sphere RPG Engine CVS repository, changing 3 files.
2007-01-23 19:30:28 UTC in Sphere RPG Engine
-
flik9x committed patchset 1206 of module sphere to the Sphere RPG Engine CVS repository, changing 2 files.
2007-01-14 16:51:28 UTC in Sphere RPG Engine
-
flik9x committed patchset 1191 of module sphere to the Sphere RPG Engine CVS repository, changing 3 files.
2006-12-24 00:14:08 UTC in Sphere RPG Engine
-
flik9x committed patchset 1188 of module sphere to the Sphere RPG Engine CVS repository, changing 4 files.
2006-12-20 23:42:42 UTC in Sphere RPG Engine
-
ScopedArray - There's a class called auto_array in corona...
I've changed all the allocation attempts to catch for failures.
And tested it as much as I can, so I'm happy to use the corona.dll it compiles to.
I've added a patch file: added-allocation-checks.patch
I haven't added try/catch's for std::bad_alloc
(There's no point since msvc++ v6 doesn't throw those errors)
You can...
2006-11-24 16:14:40 UTC in Corona Image I/O Library
-
flik9x committed patchset 1186 of module sphere to the Sphere RPG Engine CVS repository, changing 3 files.
2006-11-24 15:22:55 UTC in Sphere RPG Engine
-
Hrm, but what's the point in catching the bad_alloc at the top of the stack?
///////
void MainFunction() {
try {
SubFunction();
}
catch (std::bad_alloc)
{
}
}
void SubFunction()
{
byte* data1 = new byte[50000];
// if bad_alloc gets thrown here,
// what happens to data1?
byte* data2 = new byte[100000];
delete[] data2;
delete[] data1;
}...
2006-11-22 14:02:05 UTC in Corona Image I/O Library
-
So is it going to be fixed?
There's no try / catch for std::bad_alloc anywhere...
corona.dll crashes when you open an image in sphere's editor at the moment...
2006-11-21 19:42:28 UTC in Corona Image I/O Library