- Apr 19, 2010
-
-
Oswald Buddenhagen authored
the sub-strings "escaped" from the evaluator through the accessor, so things did go boom, after all. Reviewed-by: thorbjorn
-
- Apr 01, 2010
-
-
Oswald Buddenhagen authored
the previous fix did not consider that ProFiles are a further specialization of ProBlocks. Reviewed-by: dt Task-number: QTCREATORBUG-1003
-
Oswald Buddenhagen authored
in my quest to de-virtualize the ProItems i also devirtualized their d'tors without providing a replacement. whoops. Reviewed-by: dt Task-number: QTCREATORBUG-1003
-
- Mar 17, 2010
-
-
dt authored
We used to indicate that the cache for a file is up to date by having a Entry with ent->locker == 0. But we first wake up all threads and only after all the threads who waited for that parse to complete we set ent->locker to zero. Thus a different thread could get the impression that it needs to wait for the parse thread, yet get no wake up. We need a different flag to indicate that we are actually already done parsing and the cache can simply be used instead of waiting for a wake up. Reviewed-By: ossi
-
- Mar 05, 2010
-
-
hjk authored
-
- Feb 26, 2010
-
-
Oswald Buddenhagen authored
Reviewed-by: thiago
-
Oswald Buddenhagen authored
-
- Feb 15, 2010
-
-
Oswald Buddenhagen authored
the "namespace" created by the prefix is supposed to be cleared before new values are added.
-
- Feb 12, 2010
-
-
Oswald Buddenhagen authored
we are so fast now, we can burn a few cycles again ... :} variable names are mapped as soon as they become known (and not when using them). that sprinkles map() calls everywhere, but it's faster.
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
Task-number: QTCREATORBUG-229
-
Oswald Buddenhagen authored
-
- Feb 10, 2010
-
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
- match just the spec name without a possible path - resolve the default spec
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
unfortunately, the efforts to use only absolute paths internally became externally visible ...
-
- Feb 09, 2010
-
-
Oswald Buddenhagen authored
previously, the entire value hash was simply pushed on a stack upon entering a custom function. the problem with that was that setting the function's argument already detached (i.e., copied) the entire hash. so instead store only actually modified values in nested scopes and let lookups cascade to parent scopes. improvement: 2% for qt, 15% for creator ...
-
Oswald Buddenhagen authored
it is extremely unlikely that a function would change one of the interesting variables (all types of source file lists) but not re-export them subsequently. thus the scoping only complicates matters and burns cpu cycles. we ignore the tiny possibility that this could illegitimately reset a list while doing exact parsing - the subsequent cumulative parsing would most likely catch these files again anyway.
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
these values do not require evaluating magic variables. the semantics would be totally unclear anyway.
-
- Feb 08, 2010
-
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
the last step was moving the statics to a common class which is initialized at startup.
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
-
Kai Koehne authored
Only revert stuff that is linked to fast string concat.
-
Kai Koehne authored
This reverts commit e70530c5. It did break builds on older gcc versions (gcc 4.1.2 64 bit Linux, gcc 4.0.1 on Mac OS X): parser/qmljsgrammar_p.h: In static member function ???static int QmlJSGrammar::nt_action(int, int)???: parser/qmljsgrammar_p.h:188: error: ???QmlJSGrammar::<anonymous enum>??? is/uses anonymous type parser/qmljsgrammar_p.h:188: error: trying to instantiate ???template<class T> struct QConcatenable??? ...
-
- Feb 05, 2010
-
-
Oswald Buddenhagen authored
-
Robert Loehning authored
Reviewed-by: Oswald Buddenhagen
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
this makes the i/o part of the evaluator thread-safe. for safety, assert absolute paths in IoUtils::exists(). on the way, i "stole" some code i wrote for KDE. there have been no copyright-worthy contributions from others to it, so this is legal.
-
Oswald Buddenhagen authored
somewhat faster again
-
Oswald Buddenhagen authored
now items have no vtable any more
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
it's overengineered for our purpose and would just get in the way of planned optimizations.
-
Oswald Buddenhagen authored
use a hash of magic variable names to ints, which allows fast lookup followed by a jump table dispatch
-
- Jan 29, 2010
-
-
Oswald Buddenhagen authored
doing it in 1.3 as well to avoid possible later conflicts
-
- Jan 25, 2010
-
-
Oswald Buddenhagen authored
potentially reduces the number of file::exists() calls
-