Re: [Development] Deprecation of qMalloc/qFree/qRealloc

2011-12-21 Thread Robin Burchell
On Wed, Dec 21, 2011 at 5:16 PM, wrote: > Am i mistaken here? I was under the impression, that qMalloc / qFree / > qRealloc > exist to keep public headers free from the need to include some system > headers. See the discussion on http://codereview.qt-project.org/#change,11562. Short answer: p

Re: [Development] Deprecation of qMalloc/qFree/qRealloc

2011-12-21 Thread s . cunz
On Wednesday 21 December 2011 07:26:42 Robin Burchell wrote: > Hi, > > I've submitted two changes last night: > - http://codereview.qt-project.org/#change,11562 - deprecating > qMalloc/qFree/qRealloc > - http://codereview.qt-project.org/#change,11563 - removing all uses > of them from QtBase > >

Re: [Development] Deprecation of qMalloc/qFree/qRealloc

2011-12-21 Thread Thiago Macieira
On Wednesday, 21 de December de 2011 17.01.13, Holger Hans Peter Freyther wrote: > On 12/21/2011 07:26 AM, Robin Burchell wrote: > > Hi, > > > > ways to accomplish this as the commit message notes, and it's rather > > unfair to impose an additional function call on all uses of these for > > somethi

Re: [Development] Deprecation of qMalloc/qFree/qRealloc

2011-12-21 Thread Holger Hans Peter Freyther
On 12/21/2011 07:26 AM, Robin Burchell wrote: > Hi, > ways to accomplish this as the commit message notes, and it's rather > unfair to impose an additional function call on all uses of these for > something which isn't used in the majority of cases. Hi, my two cents here. If code is calling out

Re: [Development] Deprecation of qMalloc/qFree/qRealloc

2011-12-21 Thread Robin Burchell
hi Andreas, On Wed, Dec 21, 2011 at 4:21 PM, Andreas Holzammer wrote: > Many of them have trouble with memory allocation, if you have one point where > you can > change the allocation it is easy to bypass these problems. Though, as you noted, you don't actually have one place to do this. You ne

Re: [Development] Deprecation of qMalloc/qFree/qRealloc

2011-12-21 Thread Andreas Holzammer
Hi Robin, Am 21.12.2011 07:26, schrieb Robin Burchell: > Hi, > > I've submitted two changes last night: > - http://codereview.qt-project.org/#change,11562 - deprecating > qMalloc/qFree/qRealloc > - http://codereview.qt-project.org/#change,11563 - removing all uses > of them from QtBase > > My ju

[Development] Deprecation of qMalloc/qFree/qRealloc

2011-12-20 Thread Robin Burchell
Hi, I've submitted two changes last night: - http://codereview.qt-project.org/#change,11562 - deprecating qMalloc/qFree/qRealloc - http://codereview.qt-project.org/#change,11563 - removing all uses of them from QtBase My justification for this change is pretty simple - the only real reason to hav