1. 10 Oct, 2013 1 commit
  2. 30 Aug, 2013 1 commit
  3. 20 Aug, 2013 1 commit
  4. 06 Aug, 2013 1 commit
  5. 17 Jul, 2013 1 commit
  6. 10 Jun, 2013 1 commit
  7. 19 Mar, 2013 1 commit
  8. 29 Jan, 2013 1 commit
  9. 08 Jan, 2013 1 commit
    • 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
  10. 05 Oct, 2012 1 commit
  11. 19 Jul, 2012 1 commit
  12. 05 Jun, 2012 1 commit
  13. 04 Jun, 2012 1 commit
  14. 15 Feb, 2012 1 commit
  15. 31 Jan, 2012 1 commit
  16. 09 Jan, 2012 1 commit
  17. 03 Nov, 2011 1 commit
  18. 05 Oct, 2011 1 commit
  19. 14 Sep, 2011 2 commits
  20. 23 Aug, 2011 1 commit
  21. 22 Aug, 2011 1 commit
  22. 10 Jun, 2011 2 commits
  23. 03 Jun, 2011 1 commit
  24. 12 May, 2011 1 commit
  25. 06 May, 2011 1 commit
  26. 03 May, 2011 1 commit
  27. 18 Apr, 2011 1 commit
  28. 13 Apr, 2011 1 commit
  29. 28 Mar, 2011 1 commit
  30. 28 Feb, 2011 2 commits
  31. 22 Feb, 2011 1 commit
    • hjk's avatar
      texteditor: merge ITextEditable into ITextEditor · f576ad9f
      hjk authored
      rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor
      rename BaseTextEditor{,Widget} subclasses
      rename editableInterface->editorInterface
      rename createEditableInterface->createEditor
      minor cleanups after renamings
      f576ad9f
  32. 17 Dec, 2010 1 commit
  33. 29 Sep, 2010 2 commits
  34. 14 Sep, 2010 1 commit
    • dt's avatar
      EditorManager: Change openEditor/activateEditor to not do mode switching · 08ccda58
      dt authored
      Also introduce a indirection, modes have now types, edit and debug have
      the same type, and editors do have a prefered type of modes instead of a
      prefered mode.
      
      That fixes the bug that if the prefered qml editing mode was set to
      design, then in switching between qml editors would
      - in Edit Mode: stay in edit mode
      - in Debug Mode: switch to debug mode
      08ccda58
  35. 19 Aug, 2010 1 commit
  36. 05 Jul, 2010 1 commit