Re: [Qt5-feedback] Item Views Next Gen

2011-05-18 Thread Thiago Macieira
On Wednesday, 18 de May de 2011 12:58:21 Stephen Kelly wrote: > Thiago Macieira wrote: > > On Tuesday, 17 de May de 2011 19:10:43 jut wrote: > >> "Item Views Next Gen" - what about this project? > > > > ItemViews-NG became Widgets-NG which in turn became Qt

Re: [Qt5-feedback] QDesktopServices and QtGui dependency

2011-05-18 Thread Thiago Macieira
o > decoupling QDesktopServices from QtGui module is a good thing IMO. :) > Any thoughts? Yes, submit the code :-) The class probably needs a better name, though. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Fram

Re: [Qt5-feedback] Add QtService to Qt proper

2011-05-18 Thread Thiago Macieira
On Wednesday, 18 de May de 2011 11:20:25 BRM wrote: > It could also use some TLC, for example: Who's going to give it that TLC? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fin

Re: [Qt5-feedback] Add QtService to Qt proper

2011-05-18 Thread Thiago Macieira
On Thursday, 19 de May de 2011 08:48:29 craig.sc...@csiro.au wrote: > On 19/05/2011, at 4:42 AM, Thiago Macieira wrote: > > On Wednesday, 18 de May de 2011 11:20:25 BRM wrote: > >> It could also use some TLC, for example: > > Who's going to give it that TLC? > &g

Re: [Qt5-feedback] Add QtService to Qt proper

2011-05-20 Thread Thiago Macieira
> provided by Nokia/Qt)? I recommend you simply start working, on your own branch. Either you clone the qtbase.git repository (Qt 5) and make your own modifications, make the class work integrated into QtCore 5.0, or you work separately, on top of QtCore 5.0. Whichever is easiest for you. -

Re: [Qt5-feedback] Make some undocumented features documented

2011-05-24 Thread Thiago Macieira
TECTED_SIGNAL would be very beneficial. Signals are always protected in Qt 4. In Qt 5, this may change. What's a Q_PROTECTED_SLOT for you? And how is this different from "protected slots:" ? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Pr

Re: [Qt5-feedback] Make some undocumented features documented

2011-05-25 Thread Thiago Macieira
gt; don't want the underlying interface to change if say Boost Signal/Slot > mechanism was used instead of Qt Signal/Slot - e.g. I always want to use > the Qt mechanism. That's a good procedure, Qt public headers themselves are like that. But not the private headers and those use

Re: [Qt5-feedback] Make some undocumented features documented

2011-05-25 Thread Thiago Macieira
On Wednesday, 25 de May de 2011 21:53:27 Peter Kümmel wrote: > On 25.05.2011 06:35, Thiago Macieira wrote: > > All signals are protected today. I already said it might change in Qt 5 > > so we can use C++0x-based connect statements. > > Nice, sounds like a C++(C++0x) only conn

Re: [Qt5-feedback] Make some undocumented features documented

2011-05-25 Thread Thiago Macieira
On Thursday, 26 de May de 2011 11:56:26 Kishore wrote: > On Thursday 26 May 2011 2:40:20 AM Thiago Macieira wrote: > > QObject::connect(sender, &SenderClass::signalName, > > [](int i){ qDebug() << i; }); > > OT. Could you just expla

Re: [Qt5-feedback] Make some undocumented features documented

2011-05-26 Thread Thiago Macieira
On Thursday, 26 de May de 2011 20:54:42 Peter Kümmel wrote: > I hope I find the time to polish a several year old macro/template based > type-checking connect. Is this list the right place to post it? No, please don't post code here. There is no list for that (yet). -- Thiago Maciei

Re: [Qt5-feedback] User-defined meta data for QMetaProperty

2011-06-01 Thread Thiago Macieira
on and store in the meta object. There are a couple of people who can review moc changes. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966

Re: [Qt5-feedback] OpenGL ES 2.0 requirement

2011-06-01 Thread Thiago Macieira
t; statement in the QML files. That seems superfluous and completely unnecessary to me. If I have a pure QML application today (say, the Chicken Wranglers), with no C++ plugins, what is the "proper" way to run it in with the Scene Graph? -- Thiago Macieira - thiago (AT) macieira.info - th

Re: [Qt5-feedback] OpenGL ES 2.0 requirement

2011-06-01 Thread Thiago Macieira
On Wednesday, 1 de June de 2011 14:20:24 Samuel Rødal wrote: > On 06/01/2011 02:10 PM, ext Thiago Macieira wrote: > > On Wednesday, 1 de June de 2011 12:08:13 gunnar.sle...@nokia.com wrote: > >> For those worried about software GL performance, we have some numbers > >>

Re: [Qt5-feedback] More registered types by default...

2011-06-01 Thread Thiago Macieira
On Wednesday, 1 de June de 2011 06:13:22 BRM wrote: > At least under Qt4.5, the various standard int types - uint8_t, int8_t, etc > - were not registered with the meta system as far as I can tell, They are all registered. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) k

Re: [Qt5-feedback] Qt 4.8 / SceneGraph / Shaders

2011-06-01 Thread Thiago Macieira
On Wednesday, 1 de June de 2011 13:19:01 Jason H wrote: > Does this mean no SceneGraph in Qt until 5.0? Yes, it was never the plan to add it to 4.8. The original plan was 4.9, until we decided to go for 5.0 instead. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Sen

Re: [Qt5-feedback] Qt 4.8 / SceneGraph / Shaders

2011-06-01 Thread Thiago Macieira
On Wednesday, 1 de June de 2011 22:52:35 Andre Somers wrote: > Op 1-6-2011 22:45, Thiago Macieira schreef: > > On Wednesday, 1 de June de 2011 13:19:01 Jason H wrote: > >> Does this mean no SceneGraph in Qt until 5.0? > > > > Yes, it was never the plan to add it to

Re: [Qt5-feedback] Will there be browser plugins?

2011-06-03 Thread Thiago Macieira
ng a plugin to something else. Qt prefers to be in control and has been designed to do that. But if you think you can do it, you're welcome to start a project and research the possibility. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - No

Re: [Qt5-feedback] Coarse timers

2011-06-03 Thread Thiago Macieira
> about waking up the CPU more often than necessary. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.as

Re: [Qt5-feedback] Will there be browser plugins?

2011-06-03 Thread Thiago Macieira
On Friday, 3 de June de 2011 16:25:37 Pau Garcia i Quiles wrote: > On Fri, Jun 3, 2011 at 2:22 PM, Thiago Macieira wrote: > >> What's the problem with supporting NSAPI? > > > > Several, but all solvable. It's mostly about Qt not playing very well > > bein

Re: [Qt5-feedback] QAnchorLayout

2011-06-04 Thread Thiago Macieira
You misunderstand. It's not that widgets aren't a priority. Widgets are "Done", meaning no new features. We will not add QAnchorLayout, no matter how much you ask. We can, however, publish the research and let you use it in your own applications, at your own risk. No b

Re: [Qt5-feedback] Build system requirements for Qt5

2011-06-04 Thread Thiago Macieira
nd- > redux/ Those are still relevant. > That was before QML/Javascript was really "prime time", so I'd guess yes, > you'd probably be ok thinking about a JSON/Javascript syntax, since it was > "sort of supported" in those threads, and I'd guess no les

Re: [Qt5-feedback] Widgets (Re: QAnchorLayout)

2011-06-04 Thread Thiago Macieira
e the maintainership. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally

Re: [Qt5-feedback] Coarse timers

2011-06-04 Thread Thiago Macieira
n a cross > platform way. See my blog "when being wrong is right": http://labs.qt.nokia.com/2010/07/13/when-being-wrong-is-right/ The applications just have to coordinate when they wake up. But we do have a system timer API in the Qt Mobility System Information API. -- Thiago

Re: [Qt5-feedback] QAnchorLayout

2011-06-04 Thread Thiago Macieira
o the desktop and do what the widget classes do, better and more. Other maintainers may choose different. Anyone lining up? You can start by looking at the bug reports in bugreports.qt.nokia.com and begin fixing P2s and P3s. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org

Re: [Qt5-feedback] OpenGL ES 2.0 requirement

2011-06-04 Thread Thiago Macieira
If you have ideas on how to improve performance for remote connections without sacrificing performance on local connections, we're all ears. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG

[Qt5-feedback] QUrl (was: QMimeType)

2011-06-05 Thread Thiago Macieira
coded form for proper network transfer. The partially-decoded form would decode %-encodings that are UTF-8 sequences, including %20 to space, but not including delimiter characterrs (so it won't decode %3F to a question mark in a path component, but it would decode it in the query and frag

Re: [Qt5-feedback] QUrl (was: QMimeType)

2011-06-05 Thread Thiago Macieira
n form that is reparsable -- I should know it, I wrote it :) (commit 3898e5fb in kdelibs) But the "toPrettyPercentEncoding" function has a few bugs that need correcting. I wouldn't learn those details of URL/URI until later on. That commit in kdelibs is dated 2007-05-21, whereas my wo

Re: [Qt5-feedback] Fwd: Re: Qt major versions

2011-06-06 Thread Thiago Macieira
load the platform plugin, which may link to other libraries. And you need to set LD_LIBRARY_PATH. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660

Re: [Qt5-feedback] Build system requirements for Qt5

2011-06-06 Thread Thiago Macieira
ust > looking at the cmake script). > > So, I'm curious how you plan to solve this. You're trying to solve the problem of having a GUI for writing every aspect of the build system. That's not what we want. What we want from the above is the full listing of source files

Re: [Qt5-feedback] Building Qt as LSB-compliant

2011-06-06 Thread Thiago Macieira
ht time to have these discussions, given that > there is also a parallel discussion around Qt5 binary issues on this list. Note what I said before: do not ship your own Qt binaries on Linux. If you really want to do that, I recommend either static linking or the renaming+namespace trick. Or you&

Re: [Qt5-feedback] Fwd: Re: Qt major versions

2011-06-06 Thread Thiago Macieira
Em Tuesday, 7 de June de 2011, às 11:12:04, craig.sc...@csiro.au escreveu: > On 07/06/2011, at 8:05 AM, Thiago Macieira wrote: > > It's a bad idea to ship your own Qt libraries on Linux. > > Well, in reality if you want to use anything beyond Qt 4.2 features, you > don

Re: [Qt5-feedback] Fwd: Re: Qt major versions

2011-06-07 Thread Thiago Macieira
Em Tuesday, 7 de June de 2011, às 08:33:05, Till Oliver Knoll escreveu: > Am 07.06.2011 um 00:05 schrieb Thiago Macieira : > > Em Monday, 6 de June de 2011, às 23:45:30, Till Oliver Knoll escreveu: > >> No need to set LD_LIBRARY_PATH or the like. > > > > It&#x

Re: [Qt5-feedback] Feedback request: Demos & examples in Qt5

2011-06-07 Thread Thiago Macieira
tQuick 2). That makes sense. And in doing that upgrade, we'll probably come up with a lot of use-cases and requirements that we aren't addressing yet in Qt Quick. Most examples are meant to be run on the developer's machine, which is a desktop. -- Thiago Macieira - thiago (AT) ma

Re: [Qt5-feedback] Build system requirements for Qt5

2011-06-07 Thread Thiago Macieira
QtSql too". I'd like to see this feature, which means the above. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5

Re: [Qt5-feedback] Build system requirements for Qt5

2011-06-07 Thread Thiago Macieira
"add_executable" default macro is replaced with something else, then you'll need to hand-edit. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660

Re: [Qt5-feedback] Feedback request: Demos & examples in Qt5

2011-06-07 Thread Thiago Macieira
ML isn't suitable for this. We want to make it suitable, so the porting of the examples will show us probably many use-cases we need to address. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6

Re: [Qt5-feedback] TLC for QtService...moving it into Qt5

2011-06-07 Thread Thiago Macieira
Em Tuesday, 7 de June de 2011, às 10:39:15, BRM escreveu: > It has been proposed to make a new QtService implementation that makes use > of C++ Abstract Interface classes instead [1,3]. In the process of doing Why does it need to be in QtCore? -- Thiago Macieira - thiago (AT) macieir

Re: [Qt5-feedback] TLC for QtService...moving it into Qt5

2011-06-07 Thread Thiago Macieira
Qt, you need to license it under the Contribution License Agreement, which means your code gets released as Open Source under the LGPL and it allows Nokia to relicense it to Digia so they can have a commercial version. You don't need to do anything special. Just contribute the code that you write

Re: [Qt5-feedback] Fwd: Re: Qt major versions

2011-06-08 Thread Thiago Macieira
en take precedence even over system default paths > such as /usr/lib! It does. > P.S. Sorry for the shitty HTML formatting No problem. My KMail is configured to display the text portions of emails for qt-interest. That also means that emails sent HTML-only show the HTML source code. Since

Re: [Qt5-feedback] Fwd: Re: Qt major versions

2011-06-08 Thread Thiago Macieira
ry without paths does the same. And note that the problem here isn't loading the right plugin with dlopen. It's that the plugin has dependencies and those are loaded automatically. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - N

Re: [Qt5-feedback] Fwd: Re: Qt major versions

2011-06-08 Thread Thiago Macieira
3) /bin/setuidprog does setuid(getuid()) and then execs /bin/sh 4) When /bin/sh is executed, EUID == RUID == 0, so LD_LIBRARY_PATH is not skipped 5) boom! the malicious library is loaded as root. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager -

Re: [Qt5-feedback] Fwd: Re: Qt major versions

2011-06-08 Thread Thiago Macieira
On Wednesday, 8 de June de 2011 12:33:39 Thiago Macieira wrote: > Since the system doesn't have a Wacom tablet, so there's no wintab32.dll in > the system dirs. When Qt probes for the Wacom drivers, it tells the system > to LoadLibrary("wintab32") and that wi

Re: [Qt5-feedback] Fwd: Re: Qt major versions

2011-06-08 Thread Thiago Macieira
dynamic linking. Make your app LSB+Qt: violate the LSB only to linking to Qt. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6

Re: [Qt5-feedback] Building Qt as LSB-compliant

2011-06-08 Thread Thiago Macieira
Em Tuesday, 7 de June de 2011, às 20:35:04, Alexander Neundorf escreveu: > On Tuesday, June 07, 2011 08:37:06 AM Thiago Macieira wrote: > ... > > > Note what I said before: do not ship your own Qt binaries on Linux. If > > you really want to do that, I recommend either

Re: [Qt5-feedback] Fwd: Re: Qt major versions

2011-06-08 Thread Thiago Macieira
Em Tuesday, 7 de June de 2011, às 20:27:10, Alexander Neundorf escreveu: > On Tuesday, June 07, 2011 08:58:22 AM Thiago Macieira wrote: > ... > > > LSB has lost track of what's recent. Just take a mildly old / relatively > > I don't know whether I misunderstood the

Re: [Qt5-feedback] Build system requirements for Qt5

2011-06-08 Thread Thiago Macieira
ompiler wrapper 50 times without if the farm can only handle 16 jobs at the same time. The buildsystem needs to know from the farm coordinator that it can launch this specific job now. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Developmen

Re: [Qt5-feedback] Build system requirements for Qt5

2011-06-09 Thread Thiago Macieira
On Thursday, 9 de June de 2011 08:43:48 Alexander Neundorf wrote: > Ok. > But all this is only for the building, so this could be done with an > alternative to make (jom maybe ? ). > Which can be supported by cmake. Right. -- Thiago Macieira - thiago (AT) macieira.info - thiago

Re: [Qt5-feedback] Build system requirements for Qt5

2011-06-09 Thread Thiago Macieira
ctories of that one. > > To me, this sounds very useful. It is. So why did we need add_subdirectory (ordered subdirectories) in KDE? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fi

Re: [Qt5-feedback] QUrl (was: QMimeType)

2011-06-10 Thread Thiago Macieira
ale. So, Qt 5 will continue to treat files outside the locale encoding as filesystem corruption and will misbehave. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc De

Re: [Qt5-feedback] Fast IPC for Qt5?

2011-06-12 Thread Thiago Macieira
ation on incoming messages. But it is a nice project and we could certainly use it in other places. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature

Re: [Qt5-feedback] Fast IPC for Qt5?

2011-06-13 Thread Thiago Macieira
e awareness for such > > community projects. > > Agreed. I'm not particularly interested in bloating Qt - but pointing > at a fast way to do IPC as a "Qt endorsed" solution might be a good > idea. It will be as Qt-endorsed as anything else by being a Qt Addon. --

Re: [Qt5-feedback] Why lambdas would be very good to have

2011-06-13 Thread Thiago Macieira
syntax, -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally signed message part. ___ Qt5-fe

Re: [Qt5-feedback] QML compilation

2011-06-14 Thread Thiago Macieira
here? It didn't > jump at me through quick googling. I think you're thinking of the V8 engine. It's just a different JS engine, it's not a bytecode compilation. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint:

Re: [Qt5-feedback] Fast IPC for Qt5?

2011-06-14 Thread Thiago Macieira
n > QtCreator? Why does Qt Creator need SFW for? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digital

Re: [Qt5-feedback] About the quality of Qt

2011-06-22 Thread Thiago Macieira
ay, at every release. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally signed message part. ___

Re: [Qt5-feedback] Pre-release versions

2011-06-27 Thread Thiago Macieira
e can have more feedback iterations > before finalizing the API in 1.0. I don't see any reason why not :-) -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Descripti

Re: [Qt5-feedback] Qt5 and C++ exception

2011-06-27 Thread Thiago Macieira
in the > .NET as i know. Wrap all calls that generate exceptions does not make sense > (just defeats the purpose of an exceptions). The default handler can only do one thing: crash the application. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6

Re: [Qt5-feedback] Lambdas

2011-06-27 Thread Thiago Macieira
expect that we'll be unable to use rvalue- this for non-inline classes. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally signe

Re: [Qt5-feedback] Lambdas

2011-06-27 Thread Thiago Macieira
ional and algorithmic parts. We should provide the basic algorithms (qCopy, qStableSort, qLowerBind, etc.), but anything else should be just STL. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966

Re: [Qt5-feedback] Lambdas

2011-06-27 Thread Thiago Macieira
some RHEL versions still use that. For 5.0, I'd like to raise the minimum to GCC 4.2. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a di

Re: [Qt5-feedback] Qt5 and C++ exception

2011-06-29 Thread Thiago Macieira
is let through and we try to do some cleanup on the catch, then rethrow. But this is implementation behaviour. We haven't finished getting the containers to be exception-safe, so we don't promise it either. Try not to run out of memory. -- Thiago Macieira - thiago (AT) macieira.info - thiago

Re: [Qt5-feedback] Lambdas

2011-06-29 Thread Thiago Macieira
Em Wednesday, 29 de June de 2011, às 21:27:57, Konrad Rosenbaum escreveu: > if(mylist.contains( [](mydata&dat){return dat.name=="hello";} ) ) > doSomething() Like I said, this is a job for external functions, like qFind or STL algorithms. -- Thiago Macieira - thiago (AT) ma

Re: [Qt5-feedback] Lambdas

2011-06-29 Thread Thiago Macieira
Em Wednesday, 29 de June de 2011, às 22:26:13, Robin Burchell escreveu: > On 29 June 2011 20:54, Thiago Macieira wrote: > > Em Wednesday, 29 de June de 2011, às 21:27:57, Konrad Rosenbaum escreveu: > >> if(mylist.contains( [](mydata&dat){return dat.name=="hell

Re: [Qt5-feedback] Lambdas

2011-06-30 Thread Thiago Macieira
utIterator, const T &value) that would return a list containing just the values that matched. So are we going to add all of the QtConcurrent operations too? filtered, filterReduced, mapped, mapReduced? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358

Re: [Qt5-feedback] The #include directives for Qt Essentials and Qt Add-on modules

2011-07-01 Thread Thiago Macieira
this may look a bit weird but it would be > logical... Do not use dots. Subdirectories are the way to go, as this would otherwise create directories with too many files upon installation. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint:

Re: [Qt5-feedback] Moving itemmodels to QtCore

2011-07-04 Thread Thiago Macieira
e > above being part of QtGUI. We ended up reusing the QSFPM subclasses in both > GUI and headless versions of the apps themselves. > > I would vote for moving the above into QtCore where possible. You can use QtGui in a headless application. Just don't use QApplication. -- Th

Re: [Qt5-feedback] Moving itemmodels to QtCore

2011-07-04 Thread Thiago Macieira
Em Monday, 4 de July de 2011, às 10:01:52, Sean Harmer escreveu: > On Monday 04 July 2011 10:52:47 Thiago Macieira wrote: > > Em Monday, 4 de July de 2011, às 09:30:05, Sean Harmer escreveu: > > > We have recently had a use case where we would have liked to have used > > &g

Re: [Qt5-feedback] Adding better data access method to QAbstractItemModel?

2011-07-11 Thread Thiago Macieira
le? > > Having to touch all dataChanged() receivers looks quite intrusive. Then don't. Keep source compatibility: signals: dataChanged(QModelIndex, QModelIndex, QSet = QSet()); -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fing

Re: [Qt5-feedback] Add internalVariant to QModelIndex

2011-07-12 Thread Thiago Macieira
e element What can't you store with a pointer? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 signature.asc Description: This is a digitally

Re: [Qt5-feedback] C++0x: QString literals

2011-07-13 Thread Thiago Macieira
ne memory allocation. In any case, we cannot even experiment with the feature yet, because as João says, no compiler supports this yet. PS: stop talking about "Nokia planning". The only thing that matters is the Qt community. -- Thiago Macieira - thiago (AT) macie

Re: [Qt5-feedback] C++0x: QString literals

2011-07-13 Thread Thiago Macieira
On Wednesday, 13 de July de 2011 19:56:19 Andre Somers wrote: > Op 13-7-2011 15:56, Thiago Macieira schreef: > > PS: stop talking about "Nokia planning". The only thing that matters > > is the Qt community. > > Ah, so Open Governance is going to be launched when the

Re: [Qt5-feedback] QVariant::toString() and custom types

2011-07-18 Thread Thiago Macieira
, as template programming usually finds different behaviours in compilers. Or you can declare a C++0x-only feature, like some of the QString work we've done. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 10

Re: [Qt5-feedback] X11 mouse buttons in qt4, qt5, and KDE: please, PLEASE review this design.

2011-07-28 Thread Thiago Macieira
On Thursday, 28 de July de 2011 10:25:17 Samuel Rødal wrote: > Oh, another thought, can't we just extend the MouseButtonMask to include > more bits in Qt 5? Would 32 buttons be sufficient for any reasonable use? Yes, just like 640 kB will be sufficient for any reasonable use :-)

Re: [Qt5-feedback] directFB and Lighthouse

2011-08-07 Thread Thiago Macieira
robably be to make them plugin. > 3.) QPixmap laoding/image decoder > > There is HW that can decode certain image formats in hardware and store it > in video memory directly. Is there any plan to add support for that? Would > there be any objection to such features? I thought that there

Re: [Qt5-feedback] directFB and Lighthouse

2011-08-08 Thread Thiago Macieira
g by that backend. But just as we have QPixmap::fromX11Pixmap, we can think of specialised API for specialised needs. Case-by-case basis, I guess. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF4

Re: [Qt5-feedback] directFB and Lighthouse

2011-08-08 Thread Thiago Macieira
On Monday, 8 de August de 2011 10:24:42 Holger Freyther wrote: > Thiago Macieira kde.org> writes: > > We need to provide a function that gives this information at runtime. Then > > you choose which plugin to load. > > This would be great, I am not sure if this should be

Re: [Qt5-feedback] QTemporaryDirectory

2011-08-10 Thread Thiago Macieira
tacker > could be notified of the file creation+deletion using inotify). > > So, would a merge request for QTemporaryDirectory be a good idea? I think so. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center

[Qt5-feedback] QUrl in 5

2011-08-15 Thread Thiago Macieira
s always kept as-is. - fix QUrl's thread-safety issues. Lazy parsing, implicit sharing and thread- safety aren't easy to get all together. - remove Qt3Support and deprecated methods (fromPunycode / toPunycode) - deprecate but not remove toPercentEncoding and fromPercentEncoding -- use Q

Re: [Qt5-feedback] QUrl in 5

2011-08-17 Thread Thiago Macieira
On Wednesday, 17 de August de 2011 11:19:11 David Faure wrote: > On Monday 15 August 2011 15:42:20 Thiago Macieira wrote: > > Hello all > > > > So I've given some thought on QUrl in Qt 5, based on experience with > > > improving it in Qt 4 as well as KUrl.

Re: [Qt5-feedback] Standard paths

2011-08-17 Thread Thiago Macieira
ent storageLocation() string. > > Any objections/input before I finish this and make a merge request with it? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E06

Re: [Qt5-feedback] QUrl in 5

2011-08-18 Thread Thiago Macieira
On Thursday, 18 de August de 2011 14:43:51 David Faure wrote: > On Wednesday 17 August 2011 14:26:21 Thiago Macieira wrote: > > The main problem is: what does the following return? > > > > QUrl("/foo").scheme() > > > > If it's "file

Re: [Qt5-feedback] QUrl in 5

2011-08-18 Thread Thiago Macieira
ith scheme "c", path "/tmp/foo " and fragment "123.wav". If the constructor parses as URL-or-path, then on Windows it's definitely the file path. The question would be what to do on other systems if we parse as url-or-path. -- Thiago Macieira - thiago (AT) macieira.

Re: [Qt5-feedback] QUrl in 5

2011-08-19 Thread Thiago Macieira
ay be entered by the user as well as by another application. > In other use cases (say, when picking a[href] from a webpage), I would > prefer that relative URLs are not implicitly parsed or used as local > file paths. > > Explicit is better than implicit. -- Thiago Macieira - th

Re: [Qt5-feedback] QUrl in 5

2011-08-19 Thread Thiago Macieira
nto the components (all except scheme). > > > dxOffEagle3.setEncodedUrl( "http://something/newpage.html?[{\"foo: > > > bar\"}]", QUrl::TolerantMode); > That's what I was saying: as long as the tolerant parser is really tolerant > with things that are NO

Re: [Qt5-feedback] QDateTime in Qt5: First code

2011-08-19 Thread Thiago Macieira
en is this file reloaded, if at all? > > Interesting indeed and I have no answer (yet), I'll see how KDE deals with > it. KDE has a module in kded. That's unacceptable for Qt. > There's a lot to be done. I want to finish the Date/Calendar stuff in > August, giving m

Re: [Qt5-feedback] Question about QVector2D, QVector3D, QVector4D, etc...

2011-08-19 Thread Thiago Macieira
till much worse than single-precision -- it's even worse than on ARM11. Only on the A9 is the performance acceptable. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint:

Re: [Qt5-feedback] Question about QVector2D, QVector3D, QVector4D, etc...

2011-08-20 Thread Thiago Macieira
too much time, not much worse than float itself. The difficulty lies in writing single-precision code, as C and C++ have an automatic promotion to double. More difficult than that is to write code that operates on shorts, since promotion to int happens even more easily. -- Thiago Macieira - thi

[Qt5-feedback] Changing the definition of -no-stl

2011-08-21 Thread Thiago Macieira
plications of that and 6: if we use qStableSort internally, qStableSort is implemented on top of STL and that implementation makes function calls. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF4

Re: [Qt5-feedback] QDateTime in Qt5: First code

2011-08-21 Thread Thiago Macieira
;s a lot of research > for me to do. That brings an interesting question related to the QtCore platform plugin. > > One interesting thing: calendaring systems and locales are orthogonal. > > Can't I have Arabic month names in Portuguese? And what database is there >

Re: [Qt5-feedback] QDateTime in Qt5: First code

2011-08-22 Thread Thiago Macieira
On Monday, 22 de August de 2011 00:13:42 John Layt wrote: > On Sunday 21 Aug 2011 21:05:27 Thiago Macieira wrote: > > Huh? I think you're missing the point of "proleptic". It means "assuming > > the rules were then as they are now". So if we assume the f

Re: [Qt5-feedback] Changing the definition of -no-stl

2011-08-23 Thread Thiago Macieira
I proposed gives me now a different conclusion: if you don't choose -no-stl (that is, if you choose QT_STL), then Qt is allowed to link to libstdc++, the same way that a QT_STL application can link to it. The requirement is that a -no-stl Qt doesn't link to it. And the other requi

Re: [Qt5-feedback] Changing the definition of -no-stl

2011-08-23 Thread Thiago Macieira
On Tuesday, 23 de August de 2011 13:00:51 Konstantin Tokarev wrote: > 23.08.2011, 12:58, "Thiago Macieira" : > > And the other requirement is that QT_STL be binary compatible with > > QT_NO_STL. > Could you explain why this requirement is needed? I think I could

[Qt5-feedback] Getting rid of build keys

2011-08-23 Thread Thiago Macieira
the same ABI, experience has shown that HP's aCC compiler is not entirely compatible with GCC. And GCC on HP-UXi has never been tested by the Qt team, it was contributed by a user. But HP-UXi would probably have the same solution as Solaris. -- Thiago Macieira - thiago (AT) macieira.info - th

Re: [Qt5-feedback] QDateTime in Qt5: First code

2011-08-23 Thread Thiago Macieira
On Tuesday, 23 de August de 2011 11:16:08 lars.kn...@nokia.com wrote: > On 8/22/11 10:13 AM, "ext Thiago Macieira" wrote: > >On Monday, 22 de August de 2011 00:13:42 John Layt wrote: > >The methods have to be inline. We can't repeat the mistake of having non

Re: [Qt5-feedback] Getting rid of build keys

2011-08-23 Thread Thiago Macieira
I definitely do not need all three bearer plugins loaded. Qt Creator has a "pluginspec" XML file accompanying the plugins that describes what the plugin is and does. KDE does the same with .desktop files and its own binary cache of them (system configurarion cache, a.k.a. sycoca). --

Re: [Qt5-feedback] Getting rid of build keys

2011-08-23 Thread Thiago Macieira
at any time, even after 5.0. -- 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 digit

Re: [Qt5-feedback] QDateTime in Qt5: First code

2011-08-23 Thread Thiago Macieira
s possessions from 1 March 1700 until 30 February 1712") According to the Wikipedia, it's possible to have variances on the first day of the year too. So, without knowing more information, I guess that Windows has those regional differences due to political pressure of some re

Re: [Qt5-feedback] Getting rid of build keys

2011-08-23 Thread Thiago Macieira
for a separate > KDE plugin system. This will require some more thinking. Please take a look at the next email I'm about to send. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; f

[Qt5-feedback] System and global settings and platform plugins

2011-08-23 Thread Thiago Macieira
e will try to obtain the fallback value. The System Information backend plugins should then be folded into the platform plugin and the Lighthouse plugin, as appropriate. The only problem with this is that this is an "I propose", not an "I will do". Are there any volunteers

Re: [Qt5-feedback] Getting rid of build keys

2011-08-23 Thread Thiago Macieira
is exactly the point that Stephen was trying to make: we need a way to detect which plugins exist and what they do, plus this should be cached somehow. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/G

  1   2   3   >