1. 09 Oct, 2013 1 commit
  2. 02 Jul, 2013 1 commit
    • Christian Kandeler's avatar
      Device support: Make device testing a "well-known" concept. · 5bca241a
      Christian Kandeler authored
      This entails the following:
          - Rename AbstractLinuxDeviceTester to DeviceTester and
            move it up into ProjectExplorer. The class stays
            unchanged, as there was nothing Linux-specific about it.
            The same goes for the associated dialog.
          - Move the createDeviceTester() function from LinuxDevice
            to IDevice and introduce IDevice::hasDeviceTester() to
            enable generic code to make use of this feature.
          - Move device testing out of the list of opaque
            device-specific actions; instead, the device settings widget
            now uses the device tester directly, if applicable.
      Rationale:
          - Device testing, just like remote process listing (if not more so),
            is a general concept that implementors of device classes will
            probably want to implement (and they should be encouraged to do so).
            Without the mechanism provided here, they would all need to put
            basically the same code into the actionIds(), displayNameForActionId()
            and executeAction() functions.
      
      This patch is the natural extension of b90e3bbd
      
      .
      
      Change-Id: I94f2badb4ceeda9f5cd3b066c13626bb4f65505d
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
      Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
      5bca241a
  3. 20 Jun, 2013 1 commit
    • Christian Kandeler's avatar
      SSH: Implement and make use of RFC 4256. · 9e5a9110
      Christian Kandeler authored
      
      
      There is now at least one Linux distribution (openSUSE 12.3) that
      disables the "password" authentication method in its default
      sshd_config, while others allow it, but disable "keyboard-interactive".
      This patch tackles the problem as follows:
          1) Implement RFC 4256 ("keyboard-interactive") and make this method
      available in the API.
          2) In addition, the API offers to try both password-based methods
      one after the other, until one has succeeded or all have failed.
          3) Dialogs continue to offer just the choice between "Password" and
      "Key", as to not confuse users. Internally, "Password" uses the feature
      described in 2).
      
      Task-number: QTCREATORBUG-9568
      Change-Id: Ic81bd5d2dc4b1332ea1a8be938c19811c21a9087
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
      Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
      9e5a9110
  4. 31 May, 2013 1 commit
  5. 29 Jan, 2013 1 commit
  6. 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
  7. 05 Oct, 2012 1 commit
  8. 04 Oct, 2012 1 commit
  9. 02 Aug, 2012 1 commit
    • Christian Kandeler's avatar
      Device support: Introduce IDevice helper classes. · 753c62d7
      Christian Kandeler authored
      
      
      These are for configuration of process and ports gathering activities,
      respectively.
      This couples related functionality more tightly, while keeping
      the number of IDevice methods at a reasonable level.
      For ports gathering, the patch also adds the ability to configure
      both the command and the parsing function; the latter used to be
      hardcoded in the PortsGatherer class.
      
      Change-Id: I1b8940397a51efa7ddc05dd15cf861777d118c1a
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      753c62d7
  10. 01 Aug, 2012 1 commit
  11. 31 Jul, 2012 2 commits
  12. 26 Jul, 2012 1 commit
    • hjk's avatar
      madde/qnx/remotelinux: adjust after profile changes · b906360a
      hjk authored
      
      
      More Profile use, less dependency on QtSupport,
      Derive qtVersionId from profile instead of qt build configuration.
      Replace qt4BuildConfiguration with buildConfiguration.
      Use IDevice base class in AbstractRemoteLinuxApplicationRunner
      and in other places.  Simplify remote linux runconfiguration
      
      Change-Id: I6414d3d8146d16c360b3a0465c57a052ea71f899
      Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
      b906360a
  13. 13 Jul, 2012 1 commit