Skip to content
Snippets Groups Projects
  1. Sep 24, 2010
  2. Sep 14, 2010
    • 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
  3. Jun 25, 2010
  4. May 21, 2010
  5. May 12, 2010
    • dt's avatar
      File renaming · 9bc9fe73
      dt authored
      Reviewed-By: con
      Reviewed-By: Friedemann Kleint
      
      We now support renaming files. The version control system tries first to
      rename, if that doesn't support or can't rename the file we do a normal
      rename. (Note: git, hg, perforce > 2009.02 support renaming, cvs not.
      (perforce untested)). We correctly notify all editors of the renamed
      file and tell the project manager to rename the file in the project.
      
      Note: Only the qt4projectmanager knows how to rename files.
      
      Note: renaming folders, moving files to different folders, renaming
      .pro/.pri files is not supported. Those things can be later added after
      this has proven to work correctly in the simple case.
      
      Also we don't do any actions based on the renaming like renaming
      classes, changing include guards or #include lines.
      9bc9fe73
  6. Apr 07, 2010
  7. Mar 16, 2010
    • Friedemann Kleint's avatar
      Design mode: Give IEditor a 'preferred mode'. · 2edcc7ef
      Friedemann Kleint authored
      ... and switch to it in EditorManager::activateEditor.
      There no longer is a need for special currentEditorChanged()
      handling in the editor that use a special mode.
      
      QmlDesigner receives an additional setting specifying the
      desired edit mode. QmlJSEditor detects whether QmlDesigner
      is present by checking the registered mimetypes of the
      Design mode and retrieves the settings via keys.
      
      Remove some obsolete code and clean up includes
      on qmldesignerconstants.h
      
      Reviewed-by: con
      2edcc7ef
  8. Mar 12, 2010
  9. Mar 10, 2010
  10. Mar 09, 2010
    • Friedemann Kleint's avatar
      Design mode/Qt Designer clean-up, part III: Resources. · c7e3e6ad
      Friedemann Kleint authored
      Move resource code to new ResourceHandler class and
      instantiate it on the form window.
      c7e3e6ad
    • Friedemann Kleint's avatar
      Design mode/Qt Designer: clean-up Part II: Fix undo. · 1c78e200
      Friedemann Kleint authored
      Re-introduce FormEditorFile that delegates dirty handling to the form
      window. Change DesignerXmlEditable to be an IEditor that embeds
      TextEditable so that the PlainTextEditor can work with it, but delegates
      relevant functionality to FormEditorFile.
      Centralize all form window creation code that was scattered around
      in FormEditorW::createEditor() and have that return a struct Editor
      data, which is passed to FormEditorStack.
      Update the text editor only on open/createNew/switch away from design
      mode.
      1c78e200
    • Friedemann Kleint's avatar
      Design mode/Qt Designer: Clean up the widget part of it. · 1b86bc50
      Friedemann Kleint authored
      - Remove shared subwindow reparenting from EditorWidget, make EditorWidget
        inherit FancyMainWindow. and use just once instance of it instead of
        per-editor ones.
      - Embedded FormEditorStack into EditorWidget as a centralwidget.
      - Changed FormWindowEditor's base class from IEditor to SharedTools::FormWindowHost
        (Widget) to be embedded into FormEditorStack (no need to be an IEditor),
        Remove Designer::Internal::FormWindowHost which had little functionality.
      - Add Design Mode widget to FormEditorW which has FakeToolBar and EditorWidget
        (single instance) in a vertical layout.
      - Removed ProxyAction class handling dock view toggle actions of several EditorWidgets
        (no longer necessary since there is just once instance). Moved "View menu" to bottom.
      - Started to make FakeToolBar work as a single instance listening on changing
        xml editors
      - Include-file/slot connection clean-up.
      1b86bc50
  11. Mar 05, 2010
  12. Mar 02, 2010
  13. Feb 26, 2010
  14. Feb 02, 2010
  15. Jan 29, 2010
  16. Jan 11, 2010
  17. Jan 07, 2010
    • Tobias Hunger's avatar
      Make method naming more consistent. · a6ad7737
      Tobias Hunger authored
        * Use id() for methods returning a string used to represent
          some type of object.
        * Use displayName() for strings that are meant to be user
          visible.
        * Quieten some warnings while touching the files anyway.
        * Move Factories to their products in the plugins where that
          was not done before.
      
      Reviewed-by: dt
      a6ad7737
  18. Dec 02, 2009
  19. Oct 05, 2009
  20. Oct 01, 2009
  21. Sep 25, 2009
    • Friedemann Kleint's avatar
      Rename IRunConfigurationRunner -> IRunControlFactory... · 978cf4bd
      Friedemann Kleint authored
      and ApplicationRunConfiguration to LocalApplicationRunConfiguration,
      preparing remote debugging. Change the interface canRun() to be const,
      run() to create() (since it does not run anything), use references
      to the QSharedPointer<Foo>. Introduce d-Pointer and remove
      unneeded headers from ProjectExplorerPlugin and add missing includes
      everywhere.
      978cf4bd
  22. Aug 14, 2009
  23. Aug 11, 2009
  24. Jul 16, 2009
  25. Jun 16, 2009
    • con's avatar
      Cherry-pick: Update license headers and sales contact details. · 2919c210
      con authored
      Reviewed-by: Trust Me
      
      Conflicts:
      
      	src/libs/cplusplus/CppBindings.cpp
      	src/libs/cplusplus/CppBindings.h
      	src/libs/cplusplus/FastPreprocessor.cpp
      	src/libs/cplusplus/FastPreprocessor.h
      	src/plugins/cpptools/cppcurrentdocumentfilter.cpp
      	src/plugins/cpptools/cppcurrentdocumentfilter.h
      	src/plugins/cpptools/cppsemanticsearch.cpp
      	src/plugins/cpptools/cppsemanticsearch.h
      	src/plugins/duieditor/parser/qmljs.g
      	src/plugins/duieditor/parser/qmljsast.cpp
      	src/plugins/duieditor/parser/qmljsast_p.h
      	src/plugins/duieditor/parser/qmljsastfwd_p.h
      	src/plugins/duieditor/parser/qmljsastvisitor.cpp
      	src/plugins/duieditor/parser/qmljsastvisitor_p.h
      	src/plugins/duieditor/parser/qmljsengine_p.cpp
      	src/plugins/duieditor/parser/qmljsengine_p.h
      	src/plugins/duieditor/parser/qmljsgrammar.cpp
      	src/plugins/duieditor/parser/qmljsgrammar_p.h
      	src/plugins/duieditor/parser/qmljslexer.cpp
      	src/plugins/duieditor/parser/qmljslexer_p.h
      	src/plugins/duieditor/parser/qmljsmemorypool_p.h
      	src/plugins/duieditor/parser/qmljsnodepool_p.h
      	src/plugins/duieditor/parser/qmljsparser.cpp
      	src/plugins/duieditor/parser/qmljsparser_p.h
      	src/plugins/duieditor/parser/qmljsprettypretty.cpp
      	src/plugins/duieditor/parser/qmljsprettypretty_p.h
      	src/plugins/duieditor/rewriter/rewriter.cpp
      	src/plugins/duieditor/rewriter/rewriter_p.h
      	src/plugins/duieditor/rewriter/textwriter.cpp
      	src/plugins/duieditor/rewriter/textwriter_p.h
      	src/shared/cplusplus/ASTClone.cpp
      	tests/manual/cplusplus/main.cpp
      2919c210
    • Jason McDonald's avatar
      Update license headers and sales contact details. · 884b7af7
      Jason McDonald authored
      Reviewed-by: Trust Me
      884b7af7
  26. May 13, 2009
  27. May 12, 2009
  28. Feb 25, 2009
  29. Feb 18, 2009
  30. Feb 13, 2009
  31. Feb 04, 2009
  32. Jan 27, 2009
Loading