summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* detect and eliminate forwarding headersOswald Buddenhagen2009-09-231-7/+20
| | | | | this will save quite some hash lookups (even if in empty hashes) and make the VisitRecorder bitmap smaller.
* reduce peak memory consumptionOswald Buddenhagen2009-09-231-30/+70
| | | | | drop the parse results of files which are unlikely to be included (i.e., which are not headers).
* actually use the argument of Q_DECLARE_TR_FUNCTIONSOswald Buddenhagen2009-09-231-9/+59
| | | | | | which means that one can set an arbitrary context. as a side effect, this caches the stringified context of Q_OBJECT-derived classes.
* namespaces *can* have tr() functions, after allOswald Buddenhagen2009-09-231-11/+8
| | | | | | ... by virtue of the Q_DECLARE_TR_FUNCTIONS macro. so remove the artificial limitation to classes (which was mostly an optimization anyway).
* drastically improve lupdate's scalabilityOswald Buddenhagen2009-09-231-197/+280
| | | | | | | do not import all data from included files into the current file (which turned out to be extremely expensive for 3rdparty/webkit), but do hierarchical lookups on demand. this makes the lookups as such much slower, of course, but it still pays off.
* optimize/clarify function context stringificationOswald Buddenhagen2009-09-231-5/+6
|
* do not record class forward declarationsOswald Buddenhagen2009-09-231-28/+27
| | | | | they don't create useful namespaces and don't hold flags, so it is pointless to clutter the namespace maps with them.
* remove more dead codeOswald Buddenhagen2009-09-231-2/+1
| | | | no need for parameter "unresolved"
* remove dead codeOswald Buddenhagen2009-09-231-13/+2
| | | | needsTrFunctions was never set any more
* move static objects out of function scopeOswald Buddenhagen2009-09-231-6/+6
| | | | | cuts away a few thousand instructions. need to revisit this in case of making the parser a dynamic library.
* use a source char pointer instead of a string + indexOswald Buddenhagen2009-09-231-13/+18
|
* take advantage of knowing that qstrings are zero-terminated internallyOswald Buddenhagen2009-09-231-6/+5
|
* no need to actually compute number values. only 0 is specialOswald Buddenhagen2009-09-231-37/+18
|
* when matching strings, skip also leading commentsOswald Buddenhagen2009-09-231-6/+8
|
* avoid isalpha() & isalnum()Oswald Buddenhagen2009-09-231-2/+3
| | | | they are surprisingly expensive
* cut down use of qstring::simplified()Oswald Buddenhagen2009-09-231-6/+10
|
* optimize directory scanningOswald Buddenhagen2009-09-231-21/+12
| | | | | qdiroperator uses qregexp for filtering, which is sloooow. so use a hash lookup on extensions instead.
* simplifyOswald Buddenhagen2009-09-231-4/+1
|
* missing & in foreachOswald Buddenhagen2009-09-231-1/+1
|
* add --sort-contexts optionOswald Buddenhagen2009-09-221-0/+4
| | | | ok, so this is a feature ... a 4-line-one ...
* Generate mac refs in docs.Jason McDonald2009-09-222-0/+4
| | | | | | | Now that we don't make platform-specific source packages, we only have one version of the docs. These docs need to include all platforms. Reviewed-by: Trust Me
* Remove distinction between different editions in docs.Jason McDonald2009-09-221-6/+3
| | | | | | | We now generate only one set of docs, for the qt-everywhere package. Thus we no longer need to differentiate the different editions. Reviewed-by: Trust Me
* Make compileBill King2009-09-221-1/+1
|
* Letting the xmlpatternsvalidator tool properly handle relative pathsJoão Abecasis2009-09-211-45/+42
| | | | | | | | | | Since QXmlSchemaValidator resolves relative paths against the executable location, we use QUrl::fromLocalFile before passing them along. This is a more typical behavior for command-line applications and fixes the autotest. Reviewed-by: Frans Englich
* Doc: Exclude the Q_CORE_EXPORT_INLINE declaration from the docs.David Boddie2009-09-211-0/+1
| | | | Reviewed-by: Trust Me
* qdoc: Reverting 4.6 to %VERSION%.Martin Smith2009-09-211-1/+1
|
* qdoc: Added \brief texts to all the since 4.6 functions.Martin Smith2009-09-212-4/+9
|
* Corrected license header in /tools/xmlpatternsvalidator/main.h.Kim Motoyoshi Kalland2009-09-211-1/+1
| | | | Reviewed-by: Trustme
* Removed empty line before the license header in qdesigner_utils_p.h.Kim Motoyoshi Kalland2009-09-211-1/+0
| | | | Reviewed-by: Trustme
* Update recommendation for make command to run after configure for SymbianIain2009-09-211-1/+1
| | | | | | | | | | | The makefile written for calling the Symbian build tools is for GNU make not nmake, so print an accurate message when -xplatform is symbian-<whatever> We still don't make the correct recommendation for the confclean target but that doesn't work anyway (see QTBUG-4536) Reviewed-by: Jason Barron
* qdoc: Added "since" 4.6 lists to the "What's New" page.Martin Smith2009-09-216-8/+71
| | | | In test/qt.qdocconf, change %VERSION% to 4.6, for example.
* Doc: Added missing qdoc macros.David Boddie2009-09-181-0/+5
| | | | Reviewed-by: Trust Me
* Remove remaining support for win32-mwc mkspecIain2009-09-181-3/+0
| | | | | | | | | | | | | | | | Qt 4.6 cannot be used with the win32-mwc makespec, as the Metrowerks compiler supplied with Symbian/S60 releases does not contain enough support to build the Qt host tools in a Unicode version, and ANSI support has been removed in 4.6. Alternative mkspecs are win32-g++, requiring mingw tools to be installed, or one of the win32-msvc.... mkspecs, requiring MS Visual Studio (Express edition is fine) The mwc makefile for qmake was already removed, so this just removes the remaining support. Reviewed-by: Jason Barron
* Fix broken .ui file - class name was not specified correctly.Rhys Weatherley2009-09-171-1/+1
| | | | Reviewed-by: trustme
* Merge branch '4.5' into 4.6Tom Cooksey2009-09-173-42/+50
|\ | | | | | | | | | | | | Conflicts: tests/auto/qimagereader/tst_qimagereader.cpp tests/auto/qpainter/tst_qpainter.cpp tests/auto/qtwidgets/tst_qtwidgets.cpp
| * Designer: tab order in DeviceProfileDialog correctedJoerg Bornemann2009-09-171-38/+46
| | | | | | | | Reviewed-by: Friedemann Kleint
| * Update qt eclipse integration version number in docs, fix paths.Jarek Kobus2009-09-172-4/+4
| |
| * Update license headers again.Jason McDonald2009-09-081118-4472/+4473
| | | | | | | | Reviewed-by: Trust Me
* | Fix alpha setting in Designer's "Edit Palette" windowFriedemann Kleint2009-09-163-17/+8
| | | | | | | | | | | | | | | | | | Use QColorDialog::getColor() instead of deprecated QColorDialog::getRgba(), which causes alpha value to get lost in the process. Task-number: QT-4494 Reviewed-by: Jarek Kobus <jkobus@trolltech.com>
* | qdoc: Added the "All Functions" link back into the header.Martin Smith2009-09-161-0/+2
| |
* | Change compile options for configure so it can be built using msvc2008Shane Kearns2009-09-151-0/+4
| | | | | | | | | | | | | | | | Use the -MT command line option so it links statically with libc. The reason for this is that not all windows versions have the DLL "out of the box". Reviewed-by: Marius Storm-Olsen
* | QCursor support for Symbian OSShane Kearns2009-09-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-By: Jason Barron Reviewed-By: Alessandro Portale Summary: QT_NO_CURSOR is now not defined for symbian builds Existing QCursor APIs are all supported New public API, QApplication::setNavigationMode, to allow the navigation mode to be set. I.E. on an S60 3.2 phone, some applications will want a virtual mouse cursor (web browser), while others are designed for keypad navigation. Symbian HAL is used for detecting input capabilities. Fix DND, code cleanup & comment QCursor visibility now uses a refcount, and is called from DND and the setNavigationMode so they are both simpler and don't interfere with each other. QApplication::setNavigationMode New public API for configuring cursor/keypad navi style. This links in with ongoing work on the 4-way keypad navi branch, but 2-way and 4-way modes both act as 2-way mode until that is integrated Some of the demos/examples have cursor switched on (those that were not usable with keypad) Virtual mouse support for non touch, non mouse phones (tested on N78) add *.d and .metadata (carbide debug file / workspace dir) to .gitignore System pointers are unavailable when using sprite workaround, so the system cursor shapes are compiled into qtgui as resources. MAC port does this also for shapes that aren't standard on the MAC. Refactor Drag'n'Drop to use QCursor Add test case to check all system cursor shapes Simply a mainwindow containing a label widget for each cursor shape, with the cursor property set appropriately QCursor(QBitmap,QBitmap) supported Fixed problem with the image & mask being inverted when using the QCursor constructor that takes two mono bitmaps. add .make.cache files to .gitignore Correct implementation of QApplication::setOverrideCursor QApplication::restoreOverrideCursor and QApplication::setOverrideCursor are now working correctly on Symbian platform. Performance will be slower compared with other platforms, because the Symbian window server has a cursor associated with each native window. Add test case for custom cursors Create a pixmap cursor and associate it with a widget. No changes to production code, since test passed 1st time ;) Add manual test for QCursor Make cursor independent of construction order Updated to work around window server issue where contruction order affects what cursor is displayed in child windows. Also changed to effectiveWinId following review comments Also fixed a problem which would make qcursor not link if configured with QT_NO_CURSOR Moved some multiply declared extern functions from cpp to _p.h files Implemented Symbian versions of the cursor functions. Merged in work I'd done based on tower. Fill in bits of stub functions based on windows port Removed QT_NO_CURSOR from list of config options forced on symbian Recompiled configure.exe Added stub functions for the missing functions in s60 port
* | When parsing a java file do not simply ignore the first character.Jan-Arve Sæther2009-09-151-1/+0
| | | | | | | | | | | | | | | | If the file started with a comment (/* .. */) the parser would not see the first '/' character, thus it would not treat it as a comment. This was because we called getChar() just before we called parse(), and just after we had entered parse().
* | Improve upon the previous commit and allow more cases to activate.Thiago Macieira2009-09-131-32/+34
| | | | | | | | | | | | Use the Introspect call's return value to determine whether the service exists or not. That way, a call to a non-existing service may activate it.
* | qdbus tool: enable service activation when calling methodsCaio Marcelo de Oliveira Filho2009-09-131-12/+15
| | | | | | | | | | | | | | | | | | When calling a method of a service, qdbus tool will not check whether the service exists nor if the interface is valid. This allows DBus try to activate the service when we call the method. Merge-request: 1472 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-091186-4774/+5011
|\ \
| * | Update license headers again.Jason McDonald2009-09-091152-4608/+4608
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | Merge commit '4feb4019cfc144cef4cd9177d52e52dee9ebdf32' into 4.6Rohan McGovern2009-09-0934-166/+403
| |\ \ | | |/ | | | | | | | | | | | | Conflicts: tests/auto/network-settings.h tests/auto/qpainter/tst_qpainter.cpp
| | * Update license headers.Jason McDonald2009-09-0834-166/+403
| | | | | | | | | | | | Reviewed-by: Trust Me
* | | Took armcc_warnings.prf in use also for uitools build.Janne Anttila2009-09-091-2/+5
|/ / | | | | | | | | | | | | | | | | | | armcc_warnings.prf suppresses warnings for some common patterns used in Qt. Since armcc_warnings.prf is already used when compiling the libraries from src folder, it is should be ok to use it also for libraries under tools folder. Task-number: Reviewed-by: TrustMe