Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix encodings, take N | Oswald Buddenhagen | 2009-11-20 | 1 | -12/+10 |
| | | | | | Task-number: QTBUG-4499 Task-number: QTBUG-5276 | ||||
* | don't overwrite explicitly specified CODECFORTR on UTF-16 input | Oswald Buddenhagen | 2009-11-19 | 1 | -1/+1 |
| | |||||
* | fix potentially wrong output codec for UTF-16 input files | Oswald Buddenhagen | 2009-11-19 | 1 | -1/+1 |
| | | | | querying the actual codec before the file has been read is pointless | ||||
* | record id-based messages even if they have an empty source | Oswald Buddenhagen | 2009-11-06 | 1 | -15/+11 |
| | | | | | | this makes sense if one uses lupdate only for validation purposes, i.e. to find out if the code uses only ids which are defined in some external specification. | ||||
* | don't break on unterminated C comments | Oswald Buddenhagen | 2009-11-04 | 1 | -1/+1 |
| | |||||
* | introduce delayed resolution of aliases | Oswald Buddenhagen | 2009-11-04 | 1 | -16/+41 |
| | | | | | | | | this has two effects: - using-declarations which use forward-declared classes work without collecting the forward declarations, as the resolution happens at a place where the class definition must have been encountered already - it should be a bit faster | ||||
* | fix bogus "Class '<foo>' lacks Q_OBJECT macro" | Oswald Buddenhagen | 2009-11-04 | 1 | -3/+3 |
| | | | | | | the optimization not to look for parent definitions if we already knew that there would be none did not consider that we only know that the leaf node is missing, not any intermediate nodes. | ||||
* | namespaces can have parents, too | Oswald Buddenhagen | 2009-11-04 | 1 | -5/+10 |
| | |||||
* | do not crash | Oswald Buddenhagen | 2009-10-29 | 1 | -5/+7 |
| | |||||
* | make magic comment parsing stricter | Oswald Buddenhagen | 2009-10-28 | 1 | -9/+9 |
| | | | | | | there must be a space after the //: and similar comments, otherwise harmless comments of the sort of //====== foo here ===== will be parsed as message ids, etc. | ||||
* | fix solaris build | Oswald Buddenhagen | 2009-09-29 | 1 | -1/+5 |
| | | | | "A class with a reference member must have a user-defined constructor." | ||||
* | detect and eliminate forwarding headers | Oswald Buddenhagen | 2009-09-23 | 1 | -7/+20 |
| | | | | | this will save quite some hash lookups (even if in empty hashes) and make the VisitRecorder bitmap smaller. | ||||
* | reduce peak memory consumption | Oswald Buddenhagen | 2009-09-23 | 1 | -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_FUNCTIONS | Oswald Buddenhagen | 2009-09-23 | 1 | -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 all | Oswald Buddenhagen | 2009-09-23 | 1 | -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 scalability | Oswald Buddenhagen | 2009-09-23 | 1 | -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 stringification | Oswald Buddenhagen | 2009-09-23 | 1 | -5/+6 |
| | |||||
* | do not record class forward declarations | Oswald Buddenhagen | 2009-09-23 | 1 | -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 code | Oswald Buddenhagen | 2009-09-23 | 1 | -2/+1 |
| | | | | no need for parameter "unresolved" | ||||
* | remove dead code | Oswald Buddenhagen | 2009-09-23 | 1 | -13/+2 |
| | | | | needsTrFunctions was never set any more | ||||
* | move static objects out of function scope | Oswald Buddenhagen | 2009-09-23 | 1 | -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 + index | Oswald Buddenhagen | 2009-09-23 | 1 | -13/+18 |
| | |||||
* | take advantage of knowing that qstrings are zero-terminated internally | Oswald Buddenhagen | 2009-09-23 | 1 | -6/+5 |
| | |||||
* | no need to actually compute number values. only 0 is special | Oswald Buddenhagen | 2009-09-23 | 1 | -37/+18 |
| | |||||
* | when matching strings, skip also leading comments | Oswald Buddenhagen | 2009-09-23 | 1 | -6/+8 |
| | |||||
* | avoid isalpha() & isalnum() | Oswald Buddenhagen | 2009-09-23 | 1 | -2/+3 |
| | | | | they are surprisingly expensive | ||||
* | cut down use of qstring::simplified() | Oswald Buddenhagen | 2009-09-23 | 1 | -6/+10 |
| | |||||
* | simplify | Oswald Buddenhagen | 2009-09-23 | 1 | -4/+1 |
| | |||||
* | missing & in foreach | Oswald Buddenhagen | 2009-09-23 | 1 | -1/+1 |
| | |||||
* | Update license headers again. | Jason McDonald | 2009-09-09 | 1 | -4/+4 |
| | | | | Reviewed-by: Trust Me | ||||
* | Update tech preview license header for files that are new in 4.6. | Jason McDonald | 2009-08-31 | 1 | -13/+13 |
| | | | | Reviewed-by: Trust Me | ||||
* | optimize getToken(), part 2: avoid QString::append() | Oswald Buddenhagen | 2009-08-17 | 1 | -24/+66 |
| | |||||
* | consolidate some variables | Oswald Buddenhagen | 2009-08-17 | 1 | -70/+66 |
| | | | | | only one of yyIdent, yyComment and yyString is used at a time, so use a common yyWord instead | ||||
* | optimize getToken(), part 1 | Oswald Buddenhagen | 2009-08-17 | 1 | -29/+47 |
| | | | | | compare with pre-initialized qstrings instead of qlatin1strings. that way the length is known in advance. | ||||
* | optimize getChar() | Oswald Buddenhagen | 2009-08-17 | 1 | -7/+9 |
| | | | | work more with raw data instead of qstring functions | ||||
* | Update contact URL in license headers. | Jason McDonald | 2009-08-12 | 1 | -1/+1 |
| | | | | Reviewed-by: Trust Me | ||||
* | fix infinite loop when meeting improper trId() | Oswald Buddenhagen | 2009-07-30 | 1 | -1/+3 |
| | |||||
* | support for id-based translations | Oswald Buddenhagen | 2009-07-06 | 1 | -1/+69 |
| | | | | | | | | | | | 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 limits | Oswald Buddenhagen | 2009-07-06 | 1 | -11/+2 |
| | |||||
* | add support for attaching meta data to translatable messages | Oswald Buddenhagen | 2009-07-02 | 1 | -5/+30 |
| | | | | Requirement: QT-457 | ||||
* | const ref for foreach() | Oswald Buddenhagen | 2009-06-30 | 1 | -1/+1 |
| | |||||
* | Update license headers in files that are new in 4.6. | Jason McDonald | 2009-06-17 | 1 | -2/+2 |
| | | | | Reviewed-by: Trust Me | ||||
* | don't let comments weaved into strings confuse us | Oswald Buddenhagen | 2009-06-15 | 1 | -1/+3 |
| | | | | | | | Task-number: 254260 cherry-picked 941a03814a5f8f7be93425f71ee65a4222d16899 after botched merge from 4.5 | ||||
* | Merge commit 'origin/4.5' | Oswald Buddenhagen | 2009-06-08 | 1 | -5/+20 |
| | | | | | | | | Conflicts: src/3rdparty/phonon/qt7/mediaobject.mm src/3rdparty/phonon/qt7/quicktimevideoplayer.mm src/gui/text/qfontengine_win.cpp tools/linguist/shared/cpp.cpp | ||||
* | Fixed build issue with Sun CC 5.5. | jasplin | 2009-06-05 | 1 | -1/+1 |
| | | | | Reviewed-by: TrustMe | ||||
* | don't lose codecForTr in c++ parser | Oswald Buddenhagen | 2009-04-02 | 1 | -1/+3 |
| | |||||
* | Long live Qt! | Lars Knoll | 2009-03-23 | 1 | -0/+1816 |