Skip to content
Snippets Groups Projects
  1. Apr 19, 2010
  2. Apr 01, 2010
    • Oswald Buddenhagen's avatar
      fix memleak, part 2 · 79fd001a
      Oswald Buddenhagen authored
      the previous fix did not consider that ProFiles are a further
      specialization of ProBlocks.
      
      Reviewed-by: dt
      Task-number: QTCREATORBUG-1003
      79fd001a
    • Oswald Buddenhagen's avatar
      plug huge memory leak · d86f7dcd
      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
      d86f7dcd
  3. Mar 17, 2010
    • dt's avatar
      Fix deadlock in .pro file evaluation. · 96630673
      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
      96630673
  4. Mar 05, 2010
  5. Feb 26, 2010
  6. Feb 15, 2010
  7. Feb 12, 2010
  8. Feb 10, 2010
  9. Feb 09, 2010
    • Oswald Buddenhagen's avatar
      optimize function scoping · 0e6fe766
      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 ...
      0e6fe766
    • Oswald Buddenhagen's avatar
      do not scope the per-file variable values · 62270c1c
      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.
      62270c1c
    • Oswald Buddenhagen's avatar
    • Oswald Buddenhagen's avatar
      simplify returning per-file variable values · bc4e63a3
      Oswald Buddenhagen authored
      these values do not require evaluating magic variables. the semantics
      would be totally unclear anyway.
      bc4e63a3
  10. Feb 08, 2010
  11. Feb 05, 2010
  12. Jan 29, 2010
  13. Jan 25, 2010
Loading