Re: [Warzone-dev] [patch] MALLOC/FREE issues

2007-01-02 Thread Giel van Schijndel
Christian Vest Hansen schreef: 2007/1/1, Giel van Schijndel [EMAIL PROTECTED]: Per Inge Mathisen schreef: On 1/1/07, Giel van Schijndel [EMAIL PROTECTED] wrote: A huge difference I'm noticing is that now my FPS actually comes above 25 on my laptop. Before using your patch I'd only have an FPS

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2007-01-01 Thread Per Inge Mathisen
On 1/1/07, Giel van Schijndel [EMAIL PROTECTED] wrote: When looking at the code I'm guessing that all you've changed is the removal of all direct calls to the blockheap system throughout all src/ files? All memory allocations now take place using ordinary malloc/free, instead of inside fixed

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2007-01-01 Thread Giel van Schijndel
Per Inge Mathisen schreef: On 1/1/07, Giel van Schijndel [EMAIL PROTECTED] wrote: When looking at the code I'm guessing that all you've changed is the removal of all direct calls to the blockheap system throughout all src/ files? All memory allocations now take place using ordinary

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-31 Thread Giel van Schijndel
Per Inge Mathisen schreef: Updated memory cleanup patch. It is basically the same as the one posted last year. I could not find any problems with it from a very basic feature testing (starting campaign, multi, tutorial, loading and saving), but running it a bit in valgrind reports a huge

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-31 Thread Per Inge Mathisen
On 12/31/06, Giel van Schijndel [EMAIL PROTECTED] wrote: If you apply these patches to a clean repository it won't compile because some source files still depend on the MALLOC and FREE macros. The MALLOC and FREE macros are still there, in mem.h, just defined differently. Did you try it? -

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-31 Thread Giel van Schijndel
Per Inge Mathisen schreef: On 12/31/06, Giel van Schijndel [EMAIL PROTECTED] wrote: If you apply these patches to a clean repository it won't compile because some source files still depend on the MALLOC and FREE macros. The MALLOC and FREE macros are still there, in mem.h, just defined

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-31 Thread Giel van Schijndel
Giel van Schijndel schreef: Per Inge Mathisen schreef: On 12/31/06, Giel van Schijndel [EMAIL PROTECTED] wrote: If you apply these patches to a clean repository it won't compile because some source files still depend on the MALLOC and FREE macros. The MALLOC and FREE macros

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-31 Thread Giel van Schijndel
Giel van Schijndel schreef: Giel van Schijndel schreef: Per Inge Mathisen schreef: On 12/31/06, Giel van Schijndel [EMAIL PROTECTED] wrote: If you apply these patches to a clean repository it won't compile because some source files still depend on the MALLOC and

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-31 Thread Giel van Schijndel
Giel van Schijndel schreef: Giel van Schijndel schreef: Giel van Schijndel schreef: When looking at the code I'm guessing that all you've changed is the removal of all direct calls to the blockheap system throughout all src/ files? Wen just scanning the diffs the modifications

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-30 Thread Per Inge Mathisen
Sorry, I've been offline for a week. I thought my memory cleanup patch had been permanently lost in my harddisk crash a while ago. Good thing I have a habit of sending patches to the list frequently, even though they don't really work quite yet ;-) The problems I encountered were in the

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-30 Thread Troman
- Original Message - From: Per Inge Mathisen [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Saturday, December 30, 2006 5:38 PM Subject: Re: [Warzone-dev] [patch] MALLOC/FREE issues Sorry, I've been offline for a week. I thought my memory cleanup patch had been

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-29 Thread Giel van Schijndel
Giel van Schijndel schreef: Giel van Schijndel schreef: Christian Ohm schreef: On Thursday, 28 December 2006 at 20:06, Dennis Schridde wrote: I think not too long ago Per said something like simply replacing MALLOC was not possible... Dunno if I remember that correctly

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-29 Thread Dennis Schridde
Am Freitag, 29. Dezember 2006 16:12 schrieb Giel van Schijndel: Well, I've done some cleaning up in the memory system, result is the attached patch. This patch does the following: * remove lots of code that never gets executed (because of if(0), #if(0), or by using other condition checking

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-29 Thread Giel van Schijndel
Dennis Schridde schreef: Am Freitag, 29. Dezember 2006 16:12 schrieb Giel van Schijndel: Well, I've done some cleaning up in the memory system, result is the attached patch. This patch does the following: * remove lots of code that never gets executed (because of if(0), #if(0), or by

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-29 Thread Dennis Schridde
Am Freitag, 29. Dezember 2006 23:18 schrieb Giel van Schijndel: Dennis Schridde schreef: Am Freitag, 29. Dezember 2006 16:12 schrieb Giel van Schijndel: Well, I've done some cleaning up in the memory system, result is the attached patch. This patch does the following: * remove lots

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-29 Thread Giel van Schijndel
Dennis Schridde schreef: Am Freitag, 29. Dezember 2006 23:18 schrieb Giel van Schijndel: Dennis Schridde schreef: Am Freitag, 29. Dezember 2006 16:12 schrieb Giel van Schijndel: Well, I've done some cleaning up in the memory system, result is the attached patch. This patch