summaryrefslogtreecommitdiffstats
path: root/tools/linguist
Commit message (Collapse)AuthorAgeFilesLines
* sunpro doesn't like templated friend classes, eitherOswald Buddenhagen2009-07-212-2/+2
|
* Fix static leak to make valgrinding easier.dt2009-07-201-63/+61
| | | | | | Reviewed-By: ossi cherry-picked 98f8fc78bc0f8bcc0e36f19f9728d21063379a51 from creator
* micro-optimize: (x.toLower() == y) => !x.compare(y, Qt:: CaseInsensitive)Oswald Buddenhagen2009-07-201-10/+10
| | | | cherry-picked dc0bc586462e2a74fba38f054d303d2226eec4e5 from creator
* fix return value of error() & coOswald Buddenhagen2009-07-201-1/+2
| | | | cherry-picked bd0f0aa182b1422b942ae8efdc773c1a92344eb5 from creator
* make message() & co. handling more qmake-likeOswald Buddenhagen2009-07-201-14/+1
| | | | | | which basically means cutting features. heh cherry-picked a03f8643a7a1df8b7c857446a19cb25f9314cdb2 from creator
* expand arguments to s// operatorOswald Buddenhagen2009-07-201-1/+1
| | | | cherry-picked e083ad2920d6e5695f309fe5b4b7c7d1b3060d61 from creator
* support loops: implement for(), next() & break()Oswald Buddenhagen2009-07-204-4/+149
| | | | cherry-picked 88de3e6a45a41baecb7e56e7cbab7fec30ac0a1c from creator
* implement if() testOswald Buddenhagen2009-07-201-1/+81
| | | | cherry-picked d89338aa810861c636278be4a5bb5d8b23ce99b8 from creator
* implement {greater,less}Than(), equals(), clear() & unset()Oswald Buddenhagen2009-07-201-5/+53
| | | | cherry-picked dbdbe92d5d66cbd466bcc0aea532ce79a034ab84 from creator
* support custom functions: implement defineTest(), defineReplace(), ↵Oswald Buddenhagen2009-07-204-110/+283
| | | | | | | defined(), return() & export() cherry-picked d077ba29c34782d1699693b6e3f07c2037eecdba and 93571f7d42a81a8236ceac1f745ef277f194f1ca from creator
* remove return values from the visitors which need noneOswald Buddenhagen2009-07-203-38/+36
| | | | cherry-picked 6ca93b31fd95ef7cce78a5e0d5225e50d6007f2f from creator
* surround file inclusion with saving/restoring condition stateOswald Buddenhagen2009-07-201-1/+4
| | | | cherry-picked a86bdfdde40ca3bff03da590d98ee31f6d704751 from creator
* fix conditionals, in particular the nested else handlingOswald Buddenhagen2009-07-201-31/+27
| | | | | | | | this also removes the optimization to skip test function calls which appear to be part of a failed test, as this could skip includes, etc. as well. cherry-picked ed00bd2c85cbf2c1bea63dc18d0ae7084b4fb65f from creator
* fix m_invertNext effect scopingOswald Buddenhagen2009-07-201-2/+4
| | | | | | | an evaluation function can be an include statement. the included code must neither inherit nor change the current inversion state. cherry-picked 68b1b828e6030b4fe26ca9ffc4ee7a0b4bfe8f4e from creator
* put condition state variables into a structureOswald Buddenhagen2009-07-202-23/+32
| | | | | | | to enable cleaner save/restore - for later cherry-picked 51f5ee959f58ee198e0fc51e2ad0161c612bf8d1 and 3104e4c121f3209890823db69a7c09d644b90951 from creator
* return value cleanupOswald Buddenhagen2009-07-201-97/+61
| | | | | | | | functions which have essentially two return values are kinda confusing. so represent file & parse errors as false in the regular evaluation result (like qmake effectively does). cherry-picked cee3ca324e6979d6c476001cafb452a286f09a69 from creator
* ifdef cleanupOswald Buddenhagen2009-07-201-1/+1
| | | | cherry-picked from d2a8449bea58275723e769cd41c085468cb56295 from creator
* Merge commit 'origin/4.5'Oswald Buddenhagen2009-07-2010-35/+65
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebCore/generated/JSDOMWindow.cpp src/3rdparty/webkit/WebCore/page/DOMWindow.idl src/corelib/io/qdiriterator.cpp src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h tests/auto/qxmlquery/tst_qxmlquery.cpp tools/linguist/lconvert/main.cpp
| * don't rely on system codec when handling PO filesOswald Buddenhagen2009-07-174-7/+16
| | | | | | | | | | - make -input-codec affect PO files, default to UTF-8 - add -output-codec for PO files, same default
| * reorganize numerus form count normalizationOswald Buddenhagen2009-07-179-30/+51
| | | | | | | | | | | | replace implicit normalization of individual messages on file writeout with global normalization which is called by the command line tools. this should a) be faster and b) cover the most critical case: lrelease.
* | Added a version information to our executables.Denis Dzyubenko2009-07-151-0/+31
| | | | | | | | | | | | | | | | On Windows, the FileDescription part of the version information is used as a caption for the grouped taskbar button. Task-number: 253065 Reviewed-by: Prasanth Ullattil
* | Merge commit 'origin/4.5'Oswald Buddenhagen2009-07-137-170/+250
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/JavaScriptCore/generated/Grammar.cpp src/3rdparty/webkit/JavaScriptCore/generated/Grammar.h src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebCore/generated/CSSGrammar.cpp src/3rdparty/webkit/WebCore/generated/CSSGrammar.h src/3rdparty/webkit/WebCore/generated/Grammar.cpp src/3rdparty/webkit/WebCore/generated/Grammar.h src/3rdparty/webkit/WebCore/generated/XPathGrammar.cpp src/3rdparty/webkit/WebCore/generated/XPathGrammar.h src/3rdparty/webkit/WebKit/qt/ChangeLog tools/linguist/lrelease/main.cpp tools/linguist/lupdate/main.cpp tools/linguist/shared/profileevaluator.cpp
| * implement proper vpath handlingOswald Buddenhagen2009-07-135-114/+93
| | | | | | | | | | | | | | | | | | | | | | | | this also removes the bogus special casing of various filename-containing variables inside the pro parser. while this is a feature as such, it restores backwards compatibility without damaging the correct behavior again, so it qualifies for 4.5. based on a2f40fce2a1cf3c19a13fa27eea08192493ab76e from creator Task-number: 254098
| * factor out linguist-specific partOswald Buddenhagen2009-07-137-67/+168
| | | | | | | | it is simpler to keep it in sync with creator then.
* | Merge commit 'origin/4.5'Bill King2009-07-131-11/+5
|\ \ | |/ | | | | | | | | | | | | Conflicts: src/plugins/kbddrivers/usb/main.cpp tests/auto/qnetworkreply/tst_qnetworkreply.cpp tests/auto/qwidget/tst_qwidget.cpp
| * Fix memory leak in $$system() calls from .pro filesOswald Buddenhagen2009-07-101-0/+4
| | | | | | | | cherry-picked 07730341bd739aac823ac9b4336d8294510a35e2 from creator
| * remove totally pointless conditionalOswald Buddenhagen2009-07-101-1/+1
| | | | | | | | cherry-picked 167a09b20614d282ec898f69fc2a3f0bafa11229 from creator
| * remove dead codeOswald Buddenhagen2009-07-101-10/+0
| | | | | | | | cherry-picked d8b1cc5f0ecbb8de734d241d72a05b325c2bbb2c from creator
* | Updated the french phrasebook (some translations from Qt Creator)Pierre Rossi2009-07-091-1/+226
| | | | | | | | Reviewed-by: TrustMe
* | Merge commit 'origin/4.5'Bill King2009-07-082-12/+45
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: src/sql/drivers/ibase/qsql_ibase.cpp tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp tests/auto/qsqldatabase/tst_databases.h tests/auto/qsqldatabase/tst_qsqldatabase.cpp translations/qt_ru.ts
| * don't drop all location tags after the first file without anyOswald Buddenhagen2009-07-081-2/+3
| | | | | | | | Task-number: 256647
| * Update Russian Qt phrase bookRitt Konstantin2009-07-061-10/+42
| | | | | | | | | | Merge-request: 803 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* | general wording change for some file type namesFrederik Schwarzer2009-07-068-31/+31
| | | | | | | | | | | | | | | | | | | | | | - .ts file -> TS file - .qm file -> QM file - .ui file -> UI file + a handfull of typos I stumbled over Merge-request: 802 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* | support for id-based translationsOswald Buddenhagen2009-07-064-17/+126
| | | | | | | | | | | | | | | | | | | | | | unlike in an earlier attempt, ids are textual this time. the developer is able to provide a template for the string. when lupdate and lrelease are integrated into the build process, this makes it possible to avoid a round-trip to a dedicated string designer during the early development stage. Requirement-id: QT-435
* | remove arbitrary string length limitsOswald Buddenhagen2009-07-061-11/+2
| |
* | add support for attaching meta data to translatable messagesOswald Buddenhagen2009-07-021-5/+30
| | | | | | | | Requirement: QT-457
* | tools: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT supportminiak2009-07-011-2/+2
| | | | | | | | | | | | | | Also QString::fromUtf16() -> QString::fromWCharArray() Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* | const ref for foreach()Oswald Buddenhagen2009-06-301-1/+1
| |
* | Linguist: defers the creation of the QPrinterThierry Bastian2009-06-302-8/+20
| | | | | | | | | | | | | | | | On windows, if your default printer is not reachable it would take a lot of time to fail to construct the print engine. During that time the UI would be frozen on the splash screen. Reviewed-by: ossi
* | Merge branch '4.5'Marius Storm-Olsen2009-06-301-0/+1
|\ \ | |/
| * add Russian to the "'own' languages hack" until task #196275 will be closedRitt Konstantin2009-06-291-0/+1
| | | | | | | | | | Merge-request: 760 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* | support editing of length variantsOswald Buddenhagen2009-06-2915-63/+442
| | | | | | | | | | | | | | | | | | this is not complete, e.g. full text search does not discern which variant contains the hit, the integration with phrases&guesses is non-existing, etc. the form preview will do funny things as long as the widgets don't support the multi-variant strings.
* | Remove trailing dot in tooltips.Ritt Konstantin2009-06-292-12/+12
| | | | | | | | | | Merge-request: 758 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* | Merge commit 'origin/4.5'Oswald Buddenhagen2009-06-232-3/+28
|\ \ | |/ | | | | | | Conflicts: src/sql/drivers/psql/qsql_psql.cpp
| * mark plural messages as such in the qm readerOswald Buddenhagen2009-06-231-0/+18
| | | | | | | | | | | | this contains both a "clean" code path based on translation count and a fallback path based on looking for "%n" (for languages with only one form).
| * add -input-codec option for qm readerOswald Buddenhagen2009-06-232-3/+10
| | | | | | | | | | basing the input codec on the locale was broken by design and didn't really work anyway. so adding this option really is a bugfix, kind of.
* | Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-06-182-23/+105
|\ \ | |/ | | | | | | | | | | Conflicts: configure.exe tests/auto/qpainter/tst_qpainter.cpp translations/qt_ru.ts
| * Add Russian translation for Qt Linguist.Ritt Konstantin2009-06-171-0/+1
| | | | | | | | | | Merge-request: 689 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
| * Update Russian phrase book.Ritt Konstantin2009-06-171-23/+104
| | | | | | | | | | | | | | | | Several uncorrect phrases was re-translated. Added new common used phrases. Merge-request: 689 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* | Update license headers in files that are new in 4.6.Jason McDonald2009-06-172-4/+4
| | | | | | | | Reviewed-by: Trust Me