1. 01 Dec, 2010 5 commits
  2. 30 Nov, 2010 2 commits
    • con's avatar
      Window title didn't show nice name for e.g. diff views. · af99e09b
      con authored
      Use the editor's displayName for the window title.
      Also there were missing change signal emissions in setDisplayName
      Moves the actual handling of the window title from Session to
      EditorManager (so it now is also done for the hypothetical case of no
      project explorer plugin).
      Task-number: QTCREATORBUG-3207
    • con's avatar
      Support symbolic links in the file manager. · 14a71bc7
      con authored
      We didn't watch the symbolic link itself before, only the final link
      target. We are watching the symbolic link and the final link target now.
      Ugly hack: We need to work around QTBUG-15522. The inotify and kqueue
      based file system watcher engines (Linux + Mac) don't report changes to
      symbolic links. The workaround is to use the polling engine *only for
      the links themselves*. The only way to force the use of the polling
      engine is by using the auto test hook in QFileSystemWatcher.
  3. 03 Nov, 2010 1 commit
  4. 28 Oct, 2010 1 commit
    • Takumi ASAKI's avatar
      Support UTF-8 BOM in TextEditor · 3cd32eff
      Takumi ASAKI authored
      TextEditor will now recognize an UTF-8 BOM.
      A setting to determine what to do on saving has been added as well - the
      options are "Always Add", "Keep Already Present" and (mostly for
      completeness) "Always Delete".
      Note: if encoding is "System", "Always Add" doesn't work, because there
      is no API to know what the System encoding is.
      Task-number: QTCREATORBUG-1857
      Merge-request: 2180
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
  5. 22 Oct, 2010 1 commit
    • con's avatar
      Fix closing and restoring editors in presence of temporary editors. · 3b2614c6
      con authored
      * Editor manager should abort closing core, if there's a ICoreListener
      that aborts closing of a editor.
      * Don't save state of temporary editors, and don't save them as open in
        a splitter. So restoring the editor manager state won't try to reopen
        temporary editors.
      Task-number: QTCREATORBUG-2845
      Task-number: QTCREATORBUG-2841
      Reviewed-by: Tobias Hunger
  6. 20 Oct, 2010 1 commit
    • con's avatar
      Prevent crash when closing Qt Creator while cdb session is running. · 0d5211cc
      con authored
      The debugger plugin opens an editor in this case, leading to fakevim and
      cppeditor crashing.
      This commit doesn't fix the problem's source, but adds safeguards that
      are sensible anyhow: FakeVim should not register with editors during
      shutdown, and CppEditor should not unconditionally assume an existing
      editor manager in the destructor.
      Reviewed-by: Friedemann Kleint
  7. 11 Oct, 2010 2 commits
  8. 08 Oct, 2010 2 commits
    • Tobias Hunger's avatar
      Session: Fix ignoring of temporary files · f7ca63ae
      Tobias Hunger authored
      Fix ignoring temporary files when saving a session. This could crash
      when opening a session and saving it again if not all open editors
      were actually shown to the user.
    • Tobias Hunger's avatar
      Session: Do not save temporary editors · 72eaca26
      Tobias Hunger authored
      Do not save temporary editors in the session. Chances are high
      that files opened in those editors are not around when the
      session is reopened.
      Task-number: QTCREATORBUG-2422
  9. 23 Sep, 2010 1 commit
  10. 16 Sep, 2010 1 commit
    • Friedemann Kleint's avatar
      Further header cleanup. · bb13b69e
      Friedemann Kleint authored
      Introduce some more private classes for the coreplugin,
      use header include convention
      <QtModule/QClass>, de-qobjectify VariableManager.
  11. 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
  12. 10 Sep, 2010 1 commit
  13. 08 Sep, 2010 1 commit
  14. 07 Sep, 2010 1 commit
    • Leandro Melo's avatar
      Allow the user to save as files with different extensions. · bcb3bb0f
      Leandro Melo authored
      There is still an open issue in this fix since the new extension might be of a different mime type (and our editors are attached to it currently).
      More details documented in the code.
      Task-number: QTCREATORBUG-2094
      Reviewed-by: Thorbjorn Lindeijer
  15. 06 Sep, 2010 1 commit
    • dt's avatar
      Remove EditorManager::ensureEditorManagerVisible() · bde1ebaa
      dt authored
      The function always switched to Edit Mode, which was the cause for
      several bugs. Since openEditor() already does switch to the right mode,
      the function is not really needed.
      The following actions now respect the prefered mode of the editor:
      "f file"-locator
      The Open Documents list
      Editor history navigation
  16. 06 Aug, 2010 1 commit
  17. 30 Jul, 2010 1 commit
    • Alessandro Portale's avatar
      Pedantic cleanup of filename parameters for QIcon constructor · 3aa3c568
      Alessandro Portale authored
      Using more *::Constants::ICON_* where it makes sense and
      wrapping the file names into QLatin1String where they were
      The increased usage of the ICON constants needed a few more
      cross plugin includes of *constants.h, here and there.
      I think that it is OK, since the dependencies were alredy there
      icon resource wise.
  18. 12 Jul, 2010 1 commit
  19. 09 Jul, 2010 1 commit
  20. 06 Jul, 2010 1 commit
  21. 25 Jun, 2010 2 commits
  22. 11 Jun, 2010 1 commit
  23. 17 May, 2010 1 commit
  24. 21 Apr, 2010 1 commit
  25. 16 Apr, 2010 1 commit
  26. 12 Apr, 2010 1 commit
  27. 31 Mar, 2010 1 commit
  28. 30 Mar, 2010 1 commit
  29. 22 Mar, 2010 2 commits
  30. 19 Mar, 2010 1 commit
  31. 18 Mar, 2010 1 commit
    • mae's avatar
      Fix remove-all-splits · 62c41def
      mae authored
      Previously it was possible to end up with the wrong editor state
      (the one from a duplicate editor), i.e. the cursor position
      was wrong.