Re: [Development] QTBUG-23489: Implement the new regular expression classes using PCRE

2012-02-24 Thread Giuseppe D'Angelo
2012/2/22 Thiago Macieira : > The uses of QRegExp in qtbase and my proposals would be: In short, the biggest deal is how to properly replace QString methods; since everywhere else (QVariant, QObject, QStringList, QSortFilterProxyModel) you want it to be replaced by the new class, or a new class to

Re: [Development] (long) thoughts on categorized logging (qLog)

2012-02-24 Thread David Faure
On Friday 24 February 2012 10:07:52 Lincoln Ramsay wrote: > However, a format string of say, "%{category}: %{file}:${line} %{func} > %{message}" would look odd when the category is empty. > > mycat: foo.c:23 main() qCDebug > > : foo.c:23 main() qDebug > > I took the easy way of declaring a cate

Re: [Development] (long) thoughts on categorized logging (qLog)

2012-02-24 Thread shane.kearns
> Home path might not be the best as it could intermingle with other > files that belong to the user. > > On *nix, QDir::homePath() that would be /home/ and users see > that directory a lot, and it will get intermixed with other files. > On Windows, most users have no clue about %userprofile%, so i

Re: [Development] (long) thoughts on categorized logging (qLog)

2012-02-24 Thread BRM
> From: "shane.kea...@accenture.com" > To: bm_witn...@yahoo.com; lincoln.ram...@nokia.com; david.fa...@kdab.com > Cc: development@qt-project.org > Sent: Friday, February 24, 2012 10:46 AM > Subject: RE: [Development] (long) thoughts on categorized logging (qLog) >> well, it probably shouldn't be

Re: [Development] (long) thoughts on categorized logging (qLog)

2012-02-24 Thread shane.kearns
> > well, it probably shouldn't be in CWD regardless of platform. Agreed, unless you're specifying the log file via a command line parameter > > > On Windows, I'd suggest %APPDATA%\ or at minimum > %APPDATA%. > You might even get away with using %TEMP%; but it'd be harder to find > the log then.

Re: [Development] (long) thoughts on categorized logging (qLog)

2012-02-24 Thread BRM
> From: Lincoln Ramsay > On 02/23/2012 09:48 PM, ext David Faure wrote: >>> # write output to a file (in the user's home directory) >>> logging.output.file = file.txt >> >> I suppose Windows users would expect relative paths to be "in the CWD, > which >> is usually the executable's director

Re: [Development] Qt 4.8 and possibly 5: QVGPaintEngine implement a cache manager for vgpaths.

2012-02-24 Thread Nikolaos Korkakakis
Hi Gunnar, On Fri, Feb 24, 2012 at 8:17 AM, wrote: >> I am interested in implementing a cache manager for VGPath(s) for the >> openvg sybsystem, and I am thinking after a bit of reading the proper >> way to do that,is by creating an LRU (in similar fashion as with >> QVGImagePool). >> >> Since