1. 26 May, 2015 1 commit
    • Tobias Hunger's avatar
      IWizardFactory: Create wizards with factoryCreators · 25f2f8e1
      Tobias Hunger authored
      
      
      Do not use the object pool to hold potential wizards. Register
      FactoryCreator functions with IWizardFactory instead and use
      those to create the wizards when necessary.
      
      This saves us a couple of cycles during startup since we can now
      delay construction of all wizards and it makes us more flexible
      wrt. managing the lifecycle of the wizard factories.
      
      Change-Id: I95d6a6dfcdf0fd995e1934a9fefcd96c6a676753
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
      25f2f8e1
  2. 16 Jan, 2015 1 commit
  3. 09 Oct, 2014 1 commit
  4. 12 Jun, 2014 3 commits
    • Tobias Hunger's avatar
      Make private class internal · e684143a
      Tobias Hunger authored
      
      
      Get rid of a couple of useless Internal:: namespace prefixes
      
      Change-Id: I99f44082a2ba0ec39b51d3f89db6697834414a99
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      e684143a
    • Tobias Hunger's avatar
      Rename ICustomWizardFactory to ICustomWizardMetaFactory · 0511ac5c
      Tobias Hunger authored
      
      
      Also rename CustomWizardFactory to CustomWizardMetaFactory. These factories
      are used to generate the actual factories that are visible in File->New, so
      they are kind of Meta:-)
      
      CustomWizardClassFactory was my first attempt, but since there are project-
      and classwizards that are generated by this meta-factory that is not a good
      name.
      
      Get rid of a useless typedef while at it.
      
      Change-Id: I3dc2cce3f52999af7e59d5f2ad5509153056ea49
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      0511ac5c
    • Tobias Hunger's avatar
      Remove IWizardFactory::Data · 0888390b
      Tobias Hunger authored
      
      
      It makes the code more complicated in one place just to make it harder
      to follow in another...
      
      Remove CustomWizardParameters::toString() while at it: It would need some
      extending to work with this change and I do not think it is worth it, considering
      that it is only used when the CustomWizard is set to verbose.
      
      Change-Id: Ice14b197ed2fe98c54bc9c1c55ece3ed2222fbbf
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      0888390b
  5. 06 Jun, 2014 3 commits
  6. 05 Jun, 2014 1 commit
  7. 26 May, 2014 1 commit
    • Tobias Hunger's avatar
      IWizard->IWizardFactory · a8e89101
      Tobias Hunger authored
      
      
      Start at splitting up the wizard functionality a bit. Currently
      it is a factory but also contains a lot of logic that is invoked by
      the real wizard dialogs.
      
      This change renames/moves a couple of things only.
      
      Change-Id: I1fa114ee3ee262f7c0690841f361bbf09e674725
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      a8e89101
  8. 17 Feb, 2014 2 commits
  9. 13 Feb, 2014 2 commits
  10. 12 Feb, 2014 1 commit
    • Orgad Shaneh's avatar
      Clean up single namespace forward-declarations · 7ed15760
      Orgad Shaneh authored
      
      
      Done using the following ruby script:
      
      Dir.glob('**/*.h').each { |file|
        if File.file?(file)
          s = File.read(file)
          t = s.gsub(/^namespace .+ \{\n\s*class .*;\n\s*\}.*$/) { |m| m.gsub(/\n\s*/, ' ').gsub(/\s*\/\/.*$/, '') }
          if t != s
            puts file
            File.open(file, 'w').write(t)
          end
        end
      }
      
      Change-Id: Iffcb966e90eb8e1a625eccd5dd0b94f000ae368e
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
      7ed15760
  11. 08 Jan, 2014 1 commit
  12. 24 Sep, 2013 1 commit
  13. 12 Mar, 2013 1 commit
  14. 29 Jan, 2013 1 commit
  15. 05 Oct, 2012 1 commit
  16. 19 Jul, 2012 1 commit
  17. 15 Feb, 2012 1 commit
  18. 07 Feb, 2012 1 commit
  19. 26 Jan, 2012 1 commit
  20. 18 Jan, 2012 1 commit
  21. 03 Nov, 2011 1 commit
  22. 06 May, 2011 1 commit
  23. 14 Apr, 2011 1 commit
  24. 13 Apr, 2011 1 commit
  25. 12 Jan, 2011 2 commits
  26. 17 Dec, 2010 1 commit
  27. 27 Oct, 2010 1 commit
    • con's avatar
      Fix replacement of variables in wizard parameters. · 6954d898
      con authored
      This was broken in case of no targets page being used, and using
      the project name variable in default values for wizard parameters in the
      page following the intro page (like it is done in the hello world
      wizard).
      
      Reviewed-by: Friedemann Kleint
      6954d898
  28. 02 Sep, 2010 1 commit
  29. 01 Sep, 2010 1 commit
    • Friedemann Kleint's avatar
      Customwizards: Add a way of wrapping a Generator script. · c6132a05
      Friedemann Kleint authored
      Add attribute to XML syntax specifying a script to generate files.
      The script must provide a --dry-run mode in which it prints the files
      it intends to create and their attributes to stdout.
      Rework the CustomWizardContext structure to contain target path
      and parameter mappings, simplify some code there.
      c6132a05
  30. 27 Aug, 2010 1 commit
  31. 26 Aug, 2010 1 commit
  32. 20 Apr, 2010 1 commit
  33. 16 Apr, 2010 1 commit
    • Friedemann Kleint's avatar
      Wizards: Open a relevant file in editor after the wizard run · 0a643a19
      Friedemann Kleint authored
      Remove all hacks/conventions of considering the last generated
      file as project file, etc. and instead add attributes flags to
      Core::GeneratedFile, giving fine-grained control of what to do
      with the file. Implement static utility functions in wizards
      that handle it. Add boolean XML-attributes "openeditor"/"openproject"
      to the file elements used by the CustomWizard XML-specification.
      Manually set the attributes in all wizards.
      
      Task-number: QTCREATORBUG-1166
      0a643a19