Commit Graph

56 Commits

Author SHA1 Message Date
Eike Ziller
d66acb51d0 Rename IFile->IDocument and FileManager->DocumentManager
And adapt the other API respectively.

Change-Id: I1e04e555409be09242db6890f9e013396f83aeed
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-02-20 13:32:49 +01:00
Erik Verbruggen
3fa55b7ab9 Removed module names from #include directives.
Getting the #include directives ready for Qt5. This includes the
new-project wizards.

Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-02-15 16:24:46 +01:00
hjk
2931a499e6 Long live the king!
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-26 19:55:36 +01:00
hjk
21c0cdee40 Core::Filemanager: make some methods static
This follows suit to the ICore changes.

Change-Id: Iba2de1b1e3f2574fd1459892eae702e6af1cc7dc
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-25 19:23:11 +01:00
hjk
4a21f0c3c8 Use new static ICore interface.
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-24 18:48:47 +01:00
Friedemann Kleint
2892f13b8c CorePlugin: Compile with QT_NO_CAST_FROM_ASCII.
- Wrap literals in QLatin1String()/QLatin1Char().
- Extract some string constants avoiding repeated
  QString construction.
- Fix repeated invocation of Container.end() in loops.

Change-Id: If737735507aaf82e53063adda53f54c46418f42f
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-12-22 14:47:29 +01:00
Eike Ziller
85cf2b661e Merge remote-tracking branch 'origin/2.4'
Conflicts:
	src/libs/qmljs/qmljsinterpreter.cpp
	src/libs/qmljs/qmljsinterpreter.h
	src/plugins/debugger/qml/scriptconsole.cpp
	src/plugins/git/gitplugin.cpp
	src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas.cpp
	src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas_p.h

Change-Id: Iad59c8d87c72a21c79c047e374c0ab689998af39
2011-11-11 09:46:25 +01:00
hjk
31600758de all: s/info@qt.nokia.com/qt-info@nokia.com/
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-11-03 10:33:19 +01:00
hjk
29279ab8c7 more style fixes of string literal access
Change-Id: I60b0c53681c6a0cc38231e805479deb614aa0096
Reviewed-by: hjk <qthjk@ovi.com>
2011-11-02 18:20:19 +01:00
Eike Ziller
bbfa7e0020 Merge app_version.h and ide_version.h
Change-Id: I703d4704a3bdf88bd567c92512ee27db6aea043c
Reviewed-on: http://codereview.qt.nokia.com/3918
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-08-31 13:48:00 +02:00
Friedemann Kleint
2f92eae7bc Utils/Coreplugin: Clean headers.
Change-Id: I1e0d432127651622d40ff990e1866eac9fac46a0
Reviewed-on: http://codereview.qt.nokia.com/3091
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-17 12:58:38 +02:00
Eike Ziller
47f6cb398a Fix translation of external tools.
Change-Id: I21541c579f3be75537763ad65b63f6804c329e50
Reviewed-on: http://codereview.qt.nokia.com/2951
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2011-08-15 16:37:14 +02:00
Orgad Shaneh
4be9299f89 * External Tools: Added shortcut for menu entry
Merge-request: 342
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>

Change-Id: Ib765053e69f3917356ad30d70306165cfa19effa
2011-06-09 14:41:58 +02:00
Tobias Hunger
aa2acec14c Fix/add copyright headers
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Oswald Buddenhagen
45c9cf7a12 add/unify i/o error handling
lots of use of Utils::FileSaver and Utils::FileReader

Task-number: QTCREATORBUG-1619
2011-04-18 14:10:14 +02:00
Oswald Buddenhagen
dc3c156cac Merge branch '2.2'
Conflicts:
	src/plugins/debugger/gdb/pythongdbengine.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
	src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
	src/plugins/qt4projectmanager/qt4target.cpp
	src/plugins/qt4projectmanager/qt4target.h
	src/plugins/qt4projectmanager/qtoptionspage.h
	src/plugins/qt4projectmanager/qtversionmanager.cpp
	src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
Friedemann Kleint
422f4f688a Fix compiler warnings. 2011-04-13 08:50:56 +02:00
con
1a65809008 Add error reporting if executable is not found for external tool. 2011-03-22 15:06:55 +01:00
Friedemann Kleint
fcd4c9e194 L10n: tr()-Fixes. 2011-03-02 12:01:34 +01:00
Oswald Buddenhagen
d9cebcf280 simplify the "starting external tool" message
no need for a separate message, especially one that would overquote the
arguments.
2011-02-28 17:49:48 +01:00
Oswald Buddenhagen
bfa2df79d7 use the correct function for expanding macros in shell arguments
Task-number: QTCREATORBUG-3887
2011-02-28 17:49:48 +01:00
con
a8928ba191 Uncategorized tools would no longer be configurable after first run.
Avoid writing empty string prefixed arrays into settings, and some
isNull vs isEmpty confusion (xml reader seems to read null instead of
empty strings in some cases).
2011-02-28 12:47:08 +01:00
Friedemann Kleint
88f333267f Fix Krazy code scanning tool warnings (QString, loops, spelling). 2011-02-25 15:28:01 +01:00
con
53985dbf58 License update. 2011-02-21 14:58:21 +01:00
con
3b707461da Add a configure item to the external tools menu. 2011-02-21 14:58:20 +01:00
con
845e9d513e Save custom ordering of tools.
This overrides ordering of *all* tools. Which is suboptimal.
2011-02-18 17:15:41 +01:00
con
c422786b02 Save category changes for custom tools in their xml. 2011-02-18 17:15:41 +01:00
con
0849cfb406 Rewrite the preference page's tree, using its own model.
Because otherwise implementing drag&drop is impossible.
2011-02-18 17:15:40 +01:00
con
8cda869a15 Make adding user tools possible.
Adding new categories is not there yet though, neither is moving tools
through the categories.
2011-02-18 17:15:40 +01:00
con
8cb7e30a15 Implement reverting of changed preset tools. 2011-02-18 17:15:40 +01:00
con
b21ca68c3c Save modified external tools in user resource location. 2011-02-18 17:15:39 +01:00
con
4334309ea4 Add more editing of tools. Doesn't save yet. 2011-02-18 17:15:39 +01:00
con
0c1d21fb5b Make "modifies current document" its own property. Add some tool tips. 2011-02-18 17:15:39 +01:00
con
eaea867e53 Implement renaming of tools and categories.
Not possible to reset them yet.
Saves the change in the settings instead of writing new tools xml files.
This probably needs to be adapted for tools that are "local" from the
beginning.
2011-02-18 17:15:39 +01:00
con
d768008d60 Add a tools settings page and show the tools there.
No editing possible yet.
2011-02-18 17:15:38 +01:00
con
b9f9cf3d79 Also look for tools in user's resource path 2011-02-18 17:15:38 +01:00
con
dd87e96472 Sort external tools by "order" property. 2011-02-18 17:15:38 +01:00
con
74c38389ca Use QtcProcess directly, so external tools will start on windows too. 2011-02-18 17:15:38 +01:00
con
fc32ba5184 Sort external tool category menu items alphabetically. 2011-02-18 17:15:38 +01:00
con
4429a8de86 Make tools menu look better on Linux/Win 2011-02-18 17:15:37 +01:00
con
1eeefa1bef Split argument list correctly. Makes "Edit in vi" work on Linux.
It now follows quoting rules.
2011-02-18 17:15:37 +01:00
con
2a4bfc8dec Remove some TODOs 2011-02-18 17:15:37 +01:00
con
702e995660 Ask for saving modified document if external tool works on it. 2011-02-18 17:15:37 +01:00
con
770fc594f0 Don't ask for reload if external tool claims to change current document
Take it as an expected file change.
2011-02-18 17:15:37 +01:00
con
1d1a5a70c1 Continue on fancy open-vi-in-Terminal AppleScript. 2011-02-18 17:15:36 +01:00
con
a22a30cf60 Implement ReplaceSelection output handling.
External 'sort' now works as it should.
2011-02-18 17:15:36 +01:00
con
10b6b2936b Make the "sort selection" tool do something.
* Handle <input> tag.
* Pass input to running process.
* Search for executable in path.
* Add "CurrentSelection" variable.

Remaining issue: ReplaceSelection output handling.
2011-02-18 17:15:36 +01:00
con
6c69638711 Separate std out and std err handling. 2011-02-18 17:15:36 +01:00
con
49a3193731 Run external tools.
Most of the output handling, error handling etc is missing atm.
2011-02-18 17:15:35 +01:00