[Development] V8's location

2011-10-24 Thread Thiago Macieira
ubmodule ignore command. Also, can we move it to Gitorious and enable Gerrit for it? I have a patch to make it compile with ICC and I'd rather not have to create a github account just for this. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Sourc

Re: [Development] V8's location

2011-10-24 Thread Thiago Macieira
employer allow you to contribute the patch upstream? To Qt, it's in progress and should happen soon. To V8, definitely not for me. If the repository is not moved to Gerrit, which is fine, I'll probably just publish my changes in Gitorious and expect V8's maintainer to merge

Re: [Development] 31 mouse buttons in Qt 5.0

2011-10-24 Thread Thiago Macieira
nformation does not *exist*. If you feel strongly about the case, prepare patches for those systems and update their API to include the extra information. Only then can you update the Lighthouse driver to deliver more information. -- Thiago Macieira - thiago (AT) macieira.info - th

[Development] API review for the new QUrl

2011-10-25 Thread Thiago Macieira
FormattingOptions encoding = QUrl::PrettyDecoded) const; bool hasQueryItem(const QString &key) const; void addQueryItem(const QString &key, const QString &value); void removeQueryItem(const QString &key); QString queryItemValue(const QString &key, QUrl::ComponentFormatt

Re: [Development] Why does QFactoryLoader and QLibrary cache information in QSettings?

2011-10-25 Thread Thiago Macieira
r a file that looked like a plugin was actually a plugin. See the email that Robin linked to. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 9

Re: [Development] New feature to qstring | QString::toBool()

2011-10-25 Thread Thiago Macieira
are refactoring the QVariant internals. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: T

Re: [Development] Keep dependent projects in mind when approving changes

2011-10-25 Thread Thiago Macieira
any API changes should be reviewed with the maintainer - any permanent source-incompatible changes must be approved by Lars -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerpr

Re: [Development] New feature to qstring | QString::toBool()

2011-10-25 Thread Thiago Macieira
t; QByteArray::toBool, as applicable. Note pending the commits by Jędrzej > > that are refactoring the QVariant internals. > > If QString::toBool() is added, would there also be a need for something > like static QString::boolean(bool value, char format = 't')? It's m

Re: [Development] New feature to qstring | QString::toBool()

2011-10-26 Thread Thiago Macieira
(); Or you can accept that, if the user types crap instead of "false", it's false. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1

Re: [Development] QT_DEPRECATED_SINCE and QT_DISABLE_DEPRECATED_BEFORE

2011-10-26 Thread Thiago Macieira
ugh*), the compiler (*cough* MSVC *cough*) will try to export the entire class, including inline functions, so it needs to see all functions. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; f

Re: [Development] New feature to qstring | QString::toBool()

2011-10-27 Thread Thiago Macieira
volunteer to do this change? > > If QString::toBool is introduced, there needs to be a properly > localized or at least localizable version in QLocale as well, I think. > > André -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Ope

Re: [Development] V8's location

2011-10-28 Thread Thiago Macieira
On Monday, 24 de October de 2011 14:15:38 Thiago Macieira wrote: > > Isn't the right solution then to get your patch either upstream or into > > the > > Qt copy? > > Yes and no. Yes, I should get my fixes into the Qt copy (at least). But > it's not a full sol

Re: [Development] Installing Qt5Config.cmake from the Qt repo?

2011-10-28 Thread Thiago Macieira
he Config files themselves. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a di

Re: [Development] V8's location

2011-10-28 Thread Thiago Macieira
On Friday, 28 de October de 2011 13:06:50 you wrote: > On Friday, October 28, 2011 12:58:43 PM ext Thiago Macieira wrote: > > On Monday, 24 de October de 2011 14:15:38 Thiago Macieira wrote: > > > > Isn't the right solution then to get your patch either upstream o

Re: [Development] Installing Qt5Config.cmake from the Qt repo?

2011-10-28 Thread Thiago Macieira
ndencies don't either. It also specifically excludes (for the moment) some libs inside qtbase.git that should be moved out, like QtDBus, QtXml and QtSql. Everything else is part of the Addons, like QtSvg, QtXmlPatterns, QtMultimediaKit and all other new addons to be created by the c

Re: [Development] New circular buffer container for Qt5

2011-10-28 Thread Thiago Macieira
tainers. How does it implement copy-on-write semantics? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signa

Re: [Development] Qt Project Missing Infrastructure

2011-10-29 Thread Thiago Macieira
f the firewalls do allow, there's a question of whether torrents are permitted by the company's network policies. So we must offer HTTP too and use a CDN for that. Nokia already has this set up for the current system... -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.

Re: [Development] 4.8 Build failing on Mac OS 10.7 / XCode 4.2

2011-10-30 Thread Thiago Macieira
would be nice if the bug were to remain open so that > we could all benefit from trial and error until a solution is found. Sure there is: the bug report. Comments are not disabled in closed bug reports. It just means Zeno is no longer looking for a solution. But if you provide one that works f

Re: [Development] Fwd: [Boost-users] [C++ Now! 2012] Call for Submissions

2011-10-30 Thread Thiago Macieira
Program > Committee at cppnow2...@easychair.com. If you have any technical > problems with EasyChair, please contact EasyChair for help. > > Note: Presenters must agree to grant a non-exclusive perpetual > license to publish submitted materials, either electronically or >

Re: [Development] Fwd: [Boost-users] [C++ Now! 2012] Call for Submissions

2011-10-31 Thread Thiago Macieira
On Monday, 31 de October de 2011 10:23:12 you wrote: > Thiago Macieira wrote: > > Sounds interesting to be present and discuss with the Boost developers > > ways to improve collaboration. Maybe someone will finally convince them > > to maintain binary compatibility so their l

[Development] New library dependencies

2011-10-31 Thread Thiago Macieira
t I specifically dislike Boost, but that's not the > subject of this comment. Agreed. But I know João wouldn't do that: his complaint was that we reinvent the wheel just so we don't add the dependency. So I agree with him that if there is an implemented solution with no ill side effect

Re: [Development] API review for the new QUrl

2011-10-31 Thread Thiago Macieira
On Monday, 31 de October de 2011 16:40:32 Peter Hartmann wrote: > On 10/25/2011 11:59 AM, ext Thiago Macieira wrote: > > I can't post the code just yet, but I can post the new API. > > > > Questions: > > - I un-deprecated fromEncoded and toEncoded, as they'

Re: [Development] QT_DEPRECATED_SINCE and QT_DISABLE_DEPRECATED_BEFORE

2011-11-01 Thread Thiago Macieira
On Thursday, 27 de October de 2011 07:23:58 Thiago Macieira wrote: > On Wednesday, 26 de October de 2011 23.28.53, Olivier Goffart wrote: > > After a small talk with David Faure, we came to the conclusion that maybe > > it would be a good temporary sol

Re: [Development] QT_DEPRECATED_SINCE and QT_DISABLE_DEPRECATED_BEFORE

2011-11-01 Thread Thiago Macieira
On Tuesday, 1 de November de 2011 10:55:49 Frans Klaver wrote: > On Tue, Nov 1, 2011 at 10:43 AM, Thiago Macieira wrote: > > One more thing: QT_DEPRECATED expands to empty during the Qt build. > > > > Should we enable QT_DEPRECATED_WARNINGS? > > FWIW, my person

Re: [Development] Warnings in Qt code (was Re: QT_DEPRECATED_SINCE and QT_DISABLE_DEPRECATED_BEFORE)

2011-11-01 Thread Thiago Macieira
On Tuesday, 1 de November de 2011 13:13:37 bradley.hug...@nokia.com wrote: > On 01 Nov, 2011, at 11:17 , ext Thiago Macieira wrote: > > I'd also like to work on enabling -Werror, but usually deprecation > > warnings > > cannot be avoided, so I'll add also a Wno-erro

[Development] qtsystems doesn't compile - mtcore mandatory dependency

2011-11-01 Thread Thiago Macieira
s not open, please disable this functionality. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Descrip

Re: [Development] qtsystems doesn't compile - mtcore mandatory dependency

2011-11-01 Thread Thiago Macieira
f anyone wants it, they should set a flag when compiling qtsystems. The default should be to use the QPA solutions. It seems to me we have two tasks here. The first is a P0, to fix the build. The second is a P1, to implement the functionality for the reference platforms. I'll crea

Re: [Development] Installing Qt5Config.cmake from the Qt repo?

2011-11-01 Thread Thiago Macieira
${Qt5Gui_LIBRARY} > ${Qt5Widgets_LIBRARY} > ) Where's the include_directories call? if that's hidden in that ${Qt5_USE_FILE}, can you have different use-files per target? For example, a test associated with that library above will need to include and link to QtTest. -- Thiago Macieira - t

Re: [Development] Installing Qt5Config.cmake from the Qt repo?

2011-11-01 Thread Thiago Macieira
equirements, you need to do it differently. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description

Re: [Development] proposing Richard Moore as approver

2011-11-01 Thread Thiago Macieira
any concerns you might have about this until 22nd of > November 2011 (see the guide lines at > http://wiki.qt-project.org/The_Qt_Governance_Model#How_to_become_an_Approver > ). -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center I

[Development] Other buildsystems

2011-11-01 Thread Thiago Macieira
to addons yet. 3) should modules hosted in qt-project.org use the same buildsystem? Not sure, but I'd guess the answer is "no". 4) Qt addons hosted elsewhere use whatever buildsystem their maintainers want to use. -- Thiago Macieira - thiago.macieira (AT) intel.com

Re: [Development] qtsystems doesn't compile - mtcore mandatory dependency

2011-11-02 Thread Thiago Macieira
ever compiled? The qtxmlpatterns ones don't build for me. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 sig

Re: [Development] qtsystems doesn't compile - mtcore mandatory dependency

2011-11-02 Thread Thiago Macieira
On Wednesday, 2 de November de 2011 19:01:21 Aaron McCarthy wrote: > Hi, > > On Wed, 2 Nov 2011 06:47:08 pm ext Thiago Macieira wrote: > > PS: are the unit tests outside qtbase ever compiled? The qtxmlpatterns > > ones > > don't build for me. > > This depen

Re: [Development] Installing Qt5Config.cmake from the Qt repo?

2011-11-02 Thread Thiago Macieira
On Wednesday, 2 de November de 2011 11:09:36 Stephen Kelly wrote: > On Tuesday, November 01, 2011 17:03:22 Thiago Macieira wrote: > > On Tuesday, 1 de November de 2011 15:58:10 Stephen Kelly wrote: > > > It is completely granular. Qt5Config.cmake and Qt5Use.cmake are just > &

Re: [Development] Installing Qt5Config.cmake from the Qt repo?

2011-11-02 Thread Thiago Macieira
if I want to decide whether to add some code based on the presence or absence a dependency, then I'd verify some variables set by FindQt5.cmake. The above is only missing a listing of headers so that qt5_add_module knows what to moc. I don't know how that is implemented these da

Re: [Development] proposing Richard Moore as approver

2011-11-02 Thread Thiago Macieira
rk day is a lot, how about reducing it to something between 7 and 10 > work days? I think the number was chosen so that people who might be on vacations have the time to react. But I agree it's a bit high. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel

Re: [Development] QT_DEPRECATED_SINCE and QT_DISABLE_DEPRECATED_BEFORE

2011-11-02 Thread Thiago Macieira
rtual warnings… there are > tons of them :( I'd like to enable -Werror by default if you use -developer-build. That way, everyone of us is on the same boat, modulo compiler version. The CI system doesn't (or didn't use to) build in developer mode, but if Rohan says it's a goal

Re: [Development] Installing Qt5Config.cmake from the Qt repo?

2011-11-02 Thread Thiago Macieira
OC ON), which will work for Qt5 in CMake > 2.8.7 (cmake 2.8.6 checks for Qt4). Alex has more details: > > http://blogs.kde.org/node/4495 How does it know which files are my headers? It needs to have a list somewhere, which needs to be given to the Qt5 macros. It cannot scan all .h in the di

Re: [Development] Other buildsystems

2011-11-02 Thread Thiago Macieira
about 45 minutes back then. It was about 20 minutes spent compiling, using the build farm, then the next 25 minutes the farm was mostly idle, while your machine was at 100%. Of those 25 minutes of CPU time, it must have been 1 or 2 minutes of linking and 23 of shell scripts. -- Thiago Macieira - thi

Re: [Development] Installing Qt5Config.cmake from the Qt repo?

2011-11-02 Thread Thiago Macieira
which needs to be given to the Qt5 macros. It cannot scan all > > .h > > in the directory because: > > > > 1) some files may be somewhere else > > 2) some .h may not belong to this target, so their moc outputs shouldn't > > be > > linked to this ta

Re: [Development] Installing Qt5Config.cmake from the Qt repo?

2011-11-02 Thread Thiago Macieira
o. I mean in the sense from KDE: mandatory packages must be installed or my project will not compile; optional packages add extra functionality, but its absence does not stop the build. Qt Essentials are modules that must be present for a platform to call itself a Qt 5 platform. However, it's possib

Re: [Development] Installing Qt5Config.cmake from the Qt repo?

2011-11-03 Thread Thiago Macieira
a Qt 5 platform. However, it's possible to have platforms with > > only a partial set of modules -- it just cannot call itself a Qt 5 > > platform. Think of small embedded devices that don't need QtWebKit or Qt > > Quick. > > Exactly. Uh... "exactly"

Re: [Development] Long time before becoming approver?

2011-11-03 Thread Thiago Macieira
On Thursday, 3 de November de 2011 09:50:45 eike.zil...@nokia.com wrote: > Btw, I don't think the governance model handles how changes to the > governance model itself are done And how do we handle the changes to the way the model is changed? :-) -- Thiago Macieira - thiago.m

[Development] QThread::finished() race → fixing QThread

2011-11-03 Thread Thiago Macieira
way. Ever since we told people they were doing it wrong, we have failed to update the documentation to provide the "right way" to do and we still have no convenience for the common, right way we propose people use. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect -

Re: [Development] Installing Qt5Config.cmake from the Qt repo?

2011-11-03 Thread Thiago Macieira
endif() > > if(Qt5DBus_FOUND) > # ... > endif() > > # QtWebkit is not optional > qt5_add_module(mylib Webkit) Yes! That's what I'd like to see. > > Is it searching for QtLocations as well? How about QtPim? > > If they install Config.cmake modules yes. And I inten

Re: [Development] QThread::finished() race → fixing QThread

2011-11-03 Thread Thiago Macieira
hread is still running but performing cleanups. Will the thread be started again? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockho

Re: [Development] API review for a new QDnsResolver class

2011-11-03 Thread Thiago Macieira
ke to support. CNAME and DNAME are likely not to be the query, but they might appear as part of the reply. [1] a that suffers from the "creat" syndrome. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - R

Re: [Development] Mailing list for community / web / marketing / events

2011-11-03 Thread Thiago Macieira
On Thursday, 3 de November de 2011 08:33:37 Quim Gil wrote: > The existence of "marketing" or "community" specific mailing lists in > big free software projects is quite usual. Probably for a good reason. > > Please consider. Thank you. +1 and I'll subscribe.

Re: [Development] API review for a new QDnsResolver class

2011-11-04 Thread Thiago Macieira
need to be QByteArray and, even then, it's useless if it contains a compressed domain name. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15,

Re: [Development] API review for a new QDnsResolver class

2011-11-04 Thread Thiago Macieira
this class against something that is already known: http://doc.qt.nokia.com/latest/q3dns.html This class is both the request and the reply and its ownership is clearly known. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sw

Re: [Development] API review for a new QDnsResolver class

2011-11-04 Thread Thiago Macieira
he text data is in. So QByteArray it is. QString is reserved for domain names themselves (because of IDN). -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan

Re: [Development] API review for the new QUrl

2011-11-04 Thread Thiago Macieira
On Friday, 4 de November de 2011 17:14:35 Stephen Kelly wrote: > On Tuesday, October 25, 2011 11:59:54 Thiago Macieira wrote: > > QStringList allQueryItemValues(const QString &key, > > > > QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; > &

Re: [Development] API review for a new QDnsResolver class

2011-11-04 Thread Thiago Macieira
tightly coupled with QtConcurrent. Unless someone is volunteering to do this work right now... -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kist

Re: [Development] Best place for new patches, qt or qtbase?

2011-11-04 Thread Thiago Macieira
there, and only then backported to 4.8. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden signature.asc Description:

Re: [Development] Qt5 "QMAKESPEC has not been set"

2011-11-07 Thread Thiago Macieira
not build other > modules than qtbase if you do > ./configure && make ? > Or at least change the README to give a hint. > > Am I the only one getting into this issue? No. Make install isn't being tested and is known not to work right now. But it should work in the fut

Re: [Development] Platform / compiler support

2011-11-07 Thread Thiago Macieira
re we going to do with this list of compilers? Is it when someone wants to use a feature X of the compiler, we check if the minimum set supports it and, if it does, the feature can be used without #ifdef? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technolo

Re: [Development] Platform / compiler support

2011-11-07 Thread Thiago Macieira
6-64 definitely. This should be explicit rather than implied. Windows on IA-64 was never supported, I think. If it compiles, it's not our doing :-) -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration

Re: [Development] Platform / compiler support

2011-11-07 Thread Thiago Macieira
ow a feature unrestrictedly and it enters the API, there's no going back. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Swe

Re: [Development] configure qtbase on mac os

2011-11-07 Thread Thiago Macieira
gt; } > else > { > printf("Big-Endian\n"); > } That requires running the executable. You can't do that if you're cross- compiling. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden

Re: [Development] Platform / compiler support

2011-11-07 Thread Thiago Macieira
could happen. Imagine a Q_DECLARE_METATYPE with variadic macros to solve the problem of the comma in templates. As soon as people start using that in their code, which would be soon, a C99 preprocessor is mandatory. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open S

Re: [Development] Platform / compiler support

2011-11-08 Thread Thiago Macieira
On Tuesday, 8 de November de 2011 11:08:04 João Abecasis wrote: > Thiago Macieira wrote: > > In reality, we won't have a major creep in of features, but over time it > > could happen. Imagine a Q_DECLARE_METATYPE with variadic macros to solve > > the problem of the comm

Re: [Development] Platform / compiler support

2011-11-08 Thread Thiago Macieira
rams that deliberately test for and > stress those features. Configure-time tests are very hard to write for Qt. I doubt we'll do this... -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Re

Re: [Development] Platform / compiler support

2011-11-08 Thread Thiago Macieira
some "static analysis" tools for source files using Qt. > > What would these compiler-features-tests look like? Anything. There's no form. You need to make it compile and produce a valid result when running the Unix configure script. -- Thiago Macieira - thiago.macieira (AT) int

Re: [Development] API review for a new QDnsResolver class

2011-11-08 Thread Thiago Macieira
sReply::abort() to cancel a lookup request Good. > - Robin mentioned adding a static QDnsResolver::instance() method, does > anyone else have an opinion on this? No need if all functions are static. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Sourc

Re: [Development] API review for a new QDnsResolver class

2011-11-09 Thread Thiago Macieira
On Wednesday, 9 de November de 2011 09:17:59 Jeremy Lainé wrote: > On 11/08/2011 10:57 PM, Thiago Macieira wrote: > > On Tuesday, 8 de November de 2011 19:40:13 Jeremy Lainé wrote: > >> - the QNAM-style API seems to be OK > > > > Correct, but all functions in QDnsRes

Re: [Development] Platform / compiler support

2011-11-09 Thread Thiago Macieira
hey'll ask to support exactly what they already have). And we'll need some help to map out the features of those compilers. Remember: this exercise is to map out what features we can use everywhere and which ones could have an impact on existing or future support for a given compiler. -- Th

Re: [Development] Platform / compiler support

2011-11-09 Thread Thiago Macieira
supposed to > know? Well, we currently have one certain macro for C++98 features, one potential (TTPs), then we have C++03 and TR1 features, C++11 and extensions (like C99 support). -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Cen

Re: [Development] V8's location

2011-11-09 Thread Thiago Macieira
m to have an opinion, can we please move it to top-level inside qt5.git? I've just caught a bad commit in my tree that updates the commit link to v8 and I'm trying to fix it with an interactive rebase. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Archite

Re: [Development] API review for a new QDnsResolver class

2011-11-10 Thread Thiago Macieira
On Wednesday, 9 de November de 2011 19.21.14, Peter Hartmann wrote: > We probably can mitigate the complexity introduced by QSharedPointer by > having a simple example in the documentation. Note: add QSharedPointer and QWeakPointer overloads to QObject::connect. -- Thiago Macieira - thia

Re: [Development] API review for a new QDnsResolver class

2011-11-10 Thread Thiago Macieira
top here > and don't specify the record type? > dns->setRecordType(Q3Dns::); You can remove this ambiguity by adding a lookup() slot function that executes the lookup, like QFile::open after QFile::setFileName. One problem with the API is the need to have separate processing o

Re: [Development] V8 updated in qtbase.git

2011-11-11 Thread Thiago Macieira
o keep a handful of changes you don't want to or can't upstream. I've been running all my Qt versions like that for over a year. *BUT* I usually don't work in qtdeclarative.git. So I wouldn't oppose putting it there. It's just a recommendation for those who do

Re: [Development] proposal: security mailing list

2011-11-16 Thread Thiago Macieira
le the fixes are being developed. For that reason, the list will not have public archiving. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33

Re: [Development] RFC: QSystemAlignedTimer to QtCore

2011-11-21 Thread Thiago Macieira
;s no guarantee that they choose the same boundary. See http://codereview.qt-project.org/#change,657 through http://codereview.qt-project.org/#change,662 -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6

Re: [Development] Regular expression libraries for QRegExp

2011-11-21 Thread Thiago Macieira
result of a match)? Two sounds better. I don't see the point in having a distinction between a raw and a compiled pattern. We might just need a pattern class and simply have a method to compile it. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - I

Re: [Development] Regular expression libraries for QRegExp

2011-11-22 Thread Thiago Macieira
archive linkage. That is when you link a static library into a dynamic library by importing all the .o files into it. The static library must have been built with -fPIC and is then known as "convenience library". Once "conveniently linked", the .a files can be removed.

Re: [Development] QSystemAlignedTimer to QtCore

2011-11-22 Thread Thiago Macieira
created, renaming the ones I added. I wonder how useful it would be to have the wakeup window in all modes... -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrar

Re: [Development] d_ptr and q_ptr

2011-11-22 Thread Thiago Macieira
where there are const_cast<> or mutable around, as that would imply doing write operations in read-only (const) methods, such as lazy initialisation. There may be a few cases left of those in Qt. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open So

Re: [Development] Regular expression libraries for QRegExp

2011-11-23 Thread Thiago Macieira
tains(const RegExp &rx, QEnableIf) { return rx.indexIn(*this) != 0; } We don't even have to mark this one deprecated. If the new engine's API is compatible, it could be used for both. Note: I'm not saying the new engine needs to be API-compatible with QRegExp. -- Thia

Re: [Development] Regular expression libraries for QRegExp

2011-11-23 Thread Thiago Macieira
atching. It may provide a convenience contains() or indexIn() function that execute matching. Those must be const and not modify the pattern. If you want to deal with captures, you need a different class from the pattern. That's the matcher class. -- Thiago Macieira - thiago (AT) m

Re: [Development] Regular expression libraries for QRegExp

2011-11-23 Thread Thiago Macieira
s no actual linking involved, the .o contained in lbstatic.a need to be extracted and then re-added into libfoo.a. Hence the "I'm not volunteering" part. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Ce

Re: [Development] Regular expression libraries for QRegExp

2011-11-23 Thread Thiago Macieira
On Wednesday, 23 de November de 2011 15:48:41 Robin Burchell wrote: > 2011/11/23 Thiago Macieira : > > We don't even have to mark this one deprecated. If the new engine's API is > > compatible, it could be used for both. > > well doesn't that depe

[Development] Rebasing a contribution

2011-11-23 Thread Thiago Macieira
f you don't do that, when I look at the patch-to-patch diff, I'll see changes that may not be related. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsg

Re: [Development] Rebasing a contribution

2011-11-23 Thread Thiago Macieira
On Wednesday, 23 de November de 2011 21:33:14 Oswald Buddenhagen wrote: > On Wed, Nov 23, 2011 at 07:07:17PM +0100, ext Thiago Macieira wrote: > > So, if I have reviewed your patch #6 in the contribution and you need to > > rebase in order to modify something, then rebase, push #7,

Re: [Development] Qt 5 Raspberry Pi device program

2011-11-24 Thread Thiago Macieira
rg/doc/uci > > So if Taku just happens to be OpenWRT based then I'll be an > extremely happy Qt5/RasPI hacker. If it's just a cut down MeeGo > or Ubuntu system then I'll probably stick with OpenWRT. For something that plans on running Qt, you may need an embedded distr

[Development] Dropping QSound?

2011-11-24 Thread Thiago Macieira
An idea to consider. I don't think *anyone* uses QSound these days. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, S

Re: [Development] Dropping QSound?

2011-11-24 Thread Thiago Macieira
gt; But i think it would be a lot of work not to remove it. > > A quick search on github proves Olivier's point. Really? Even if it is completely useless on X11 today (it requires NAS)? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Tec

Re: [Development] Regular expression libraries for QRegExp

2011-11-24 Thread Thiago Macieira
On Thursday, 24 de November de 2011 23:49:02 Oswald Buddenhagen wrote: > On Wed, Nov 23, 2011 at 03:35:57PM +0100, ext Thiago Macieira wrote: > > At first thought, I'd say that the pattern class should be a regular, > > implicitly-shared, atomic copy-on-write value class. I

Re: [Development] Unicode/i18n support

2011-11-25 Thread Thiago Macieira
educe maintenance overhead. With your provision above for inline access to important things, I'm all for it too. Also note that some transformations we currently do in QString by accessing the Unicode tables can probably be replaced by calls to ICU functions that execute the same transfor

Re: [Development] QTemporaryDir API

2011-11-27 Thread Thiago Macieira
; > OK. I named it removeAllContentsRecursively (slightly shorter). Aww I was so hoping for removeAllFilesAndDirsAndOtherInodeEntriesRecursively... -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registratio

Re: [Development] Unicode/i18n support

2011-11-29 Thread Thiago Macieira
can rely > on ICU for most things. Looks like we're settled on ICU. I can't find the thread on the regular expression library tests -- has anyone looked at ICU RE? How does it compare in terms of *performance* with PCRE? -- Thiago Macieira - thiago.macieira (AT) intel.com Software

Re: [Development] Unicode/i18n support

2011-11-29 Thread Thiago Macieira
ve already been doing lots of work on QLocale so would be happy to work > on this if needed, especially as I already have the date/time api sorted, > and a lot of fixes to the Windows/OSX system locales. I'll also rework my > existing QDateTime changes to be done in two stages, internal QDate &

Re: [Development] Missing ARM, MIPS, other mkspecs in qt5

2011-11-29 Thread Thiago Macieira
h: #include "../linux-g++/qplatformdefs.h" -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden include(../linux-g++/qm

[Development] Qt{X11,Mac,Windows}Support

2011-11-30 Thread Thiago Macieira
ed at runtime. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden signature.asc Description: This is a digitally signed message

Re: [Development] Moving build-time tools into qtbase.git.

2011-11-30 Thread Thiago Macieira
Fremantle port of Qt to make qdbusxxx2xxx be bootstrapped. I don't know, however, if lupdate and lrelease can be or have been bootstrapped. They should be, if possible, so they are built with the host compiler, not the target one when cross-compiling. -- Thiago Macieira - thiago.macieira (AT) in

Re: [Development] Moving build-time tools into qtbase.git.

2011-11-30 Thread Thiago Macieira
earing > apart them. The codec problem, in particular, should be resolved when in Qt 5 we start using iconv properly instead of our own codecs, plus save 30% or more in size of QtCore. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center

Re: [Development] Moving build-time tools into qtbase.git.

2011-11-30 Thread Thiago Macieira
ools. Given what Ossi said, I think we shouldn't do it for the linguist tools. However, I'd like to see it done for the D-Bus ones. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 5

Re: [Development] [Qt5-feedback] Building Qt5 for embedded Linux ARM - compiler problems

2011-12-01 Thread Thiago Macieira
board vendor usually gives you a Board Support Package which includes a compiler. However, I'd really recommend you take a look at the Yocto Project for you to create your environment first -- which includes a reasonably recent GCC and glibc. -- Thiago Macieira - thiago (AT) macieira.info -

Re: [Development] Regular expression libraries for QRegExp (what about "tre")

2011-12-03 Thread Thiago Macieira
t miss for be elected in qt5 inclusion? Two things: 1) a fully-compatible syntax to PCRE or JS, with equal or better performance than existing engines 2) a healthy developer community behind it to ensure that it will continue to be supported -- Thiago Macieira - thiago.macieira (AT) intel.com Sof

Re: [Development] Moving itemmodels classes to QtCore

2011-12-05 Thread Thiago Macieira
n the attached script too, please? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden relinfo.pl Description: Perl program sig

Re: [Development] QtNetwork changes from QtDD SF 2011

2011-12-05 Thread Thiago Macieira
would need to read from the cache in one thread and make the data available to the user, in the QNetworkReply, in another thread. This would, however, make a "clean" solution. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Cente

  1   2   3   4   5   6   7   8   9   10   >