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, gunnar.sle...@nokia.com 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

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

2012-02-24 Thread BRM
From: Lincoln Ramsay lincoln.ram...@nokia.com 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

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%\program name or at minimum %APPDATA%. You might even get away with using %TEMP%; but it'd be harder to find the log

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

2012-02-24 Thread BRM
From: shane.kea...@accenture.com 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

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/username and users see that directory a lot, and it will get intermixed with other files. On Windows, most users have no clue about %userprofile%,

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 category for