Skip to content
Snippets Groups Projects
  1. Apr 14, 2014
  2. Feb 14, 2014
  3. Jan 08, 2014
  4. Nov 09, 2013
  5. Oct 17, 2013
    • Orgad Shaneh's avatar
      Git: Fix crash on show stash · a64adc4c
      Orgad Shaneh authored
      
      * show() is called with a QString reference to the model
      * And editor is opened, which triggers stateChanged()
      * stateChanged() updates StashDialog, which refreshes the model with an
        empty directory (another bug)
      * The QString name reference is invalidated => crash on access
      
      Task-number: QTCREATORBUG-10397
      Change-Id: I0c4077f8c4fc90905568f80d1cd89f61c4cd2cba
      Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
      a64adc4c
  6. Jun 12, 2013
  7. Jun 11, 2013
  8. May 27, 2013
  9. Apr 05, 2013
  10. Jan 29, 2013
  11. Jan 23, 2013
  12. Jan 08, 2013
    • Orgad Shaneh's avatar
      Remove braces for single lines of conditions · 29a93998
      Orgad Shaneh authored
      
      #!/usr/bin/env ruby
      
      Dir.glob('**/*.cpp') { |file|
        # skip ast (excluding paste, astpath, and canv'ast'imer)
        next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i
        s = File.read(file)
        next if s.include?('qlalr')
        orig = s.dup
        s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m|
          res = $&
          if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces
            res
          else
            res.gsub!('} else', 'else')
            res.gsub!(/\n +} *\n/m, "\n")
            res.gsub(/ *{$/, '')
          end
        }
        s.gsub!(/ *$/, '')
        File.open(file, 'wb').write(s) if s != orig
      }
      
      Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      29a93998
  13. Dec 30, 2012
  14. Nov 28, 2012
  15. Oct 05, 2012
  16. Jul 19, 2012
  17. Apr 17, 2012
  18. Feb 15, 2012
  19. Jan 26, 2012
  20. Nov 03, 2011
  21. May 06, 2011
  22. Apr 13, 2011
  23. Jan 12, 2011
  24. Dec 17, 2010
  25. Oct 08, 2010
  26. Sep 21, 2010
  27. Mar 05, 2010
  28. Feb 26, 2010
  29. Feb 19, 2010
  30. Jan 27, 2010
  31. Jan 15, 2010
    • Friedemann Kleint's avatar
      VCS[git]: Add support for stashes. · 9ac98a40
      Friedemann Kleint authored
      Add non-modal stash management dialog and additional menu option
      "Stash snapshot..." to stash away changes prompting for a description,
      which will immediately replay the stash (take snapshot and continue
      working).
      Add interface to IVersionControl for creating/restoring/deleting
      snapshots for backup/complex undo operations (currently supported
      by git only). Add test options to VCSBasePlugin.
      Clean up and extend git client accordingly.
      9ac98a40
Loading