kdevelop:devel-kdevplatform.git
7 years agoBump version for Beta8. v0.9.98
Andreas Pakulat [Wed, 10 Feb 2010 19:26:12 +0000 (19:26 -0000)]
Bump version for Beta8.

7 years agoFix the build with KDE 4.3.x, x >60.
Andreas Pakulat [Wed, 10 Feb 2010 19:26:09 +0000 (19:26 -0000)]
Fix the build with KDE 4.3.x, x >60.

The highlight interface was renamed for the 4.4.0 tag only, so lets fall
back to KDE 4.3 code for anything earlier.

7 years agoMake the body of the tooltip have a more tooltip-like color, after all it still is...
David Nolden [Wed, 10 Feb 2010 14:16:03 +0000 (14:16 -0000)]
Make the body of the tooltip have a more tooltip-like color, after all it still is a tooltip.

7 years agoOnly change the text of the outline-line if it doesn't have the focus.
David Nolden [Wed, 10 Feb 2010 14:08:23 +0000 (14:08 -0000)]
Only change the text of the outline-line if it doesn't have the focus.
This should fix a problem where sometimes the function-name was added into the outline view after a document-reparse, while the user was typing something into the line.

7 years agoSVN_SILENT compile
Christoph Feck [Wed, 10 Feb 2010 07:43:32 +0000 (07:43 -0000)]
SVN_SILENT compile

See commit r1087777 by Dirk Müller

CCMAIL: mail@milianw.de

7 years agodon't crash when a project's folder gets deleted/moved
Milian Wolff [Tue, 9 Feb 2010 17:06:31 +0000 (17:06 -0000)]
don't crash when a project's folder gets deleted/moved

7 years agoadapt 'create snippet from selection' action to KDevelop's ContextMenuExtension system
Milian Wolff [Mon, 8 Feb 2010 14:31:52 +0000 (14:31 -0000)]
adapt 'create snippet from selection' action to KDevelop's ContextMenuExtension system

7 years agorevert r1084506: not clearing the menu leads to lots of doubled actions under certain...
Milian Wolff [Mon, 8 Feb 2010 13:39:55 +0000 (13:39 -0000)]
revert r1084506: not clearing the menu leads to lots of doubled actions under certain circumstances. We/I have to look into it and see what the correct solution to that problem is. Clearing it though, might remove actions from other KTextEditor Plugins - a no-go imo.

BUG: 225864

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sat, 6 Feb 2010 09:59:13 +0000 (09:59 -0000)]
SVN_SILENT made messages (.desktop file)

7 years agoDrop the now unneeded kdev_starter utility.
Andreas Pakulat [Sat, 6 Feb 2010 07:29:17 +0000 (07:29 -0000)]
Drop the now unneeded kdev_starter utility.

7 years agoFix NoUi mode, with this duchainify works again - this time with executing parse...
Niko Sams [Thu, 4 Feb 2010 17:36:49 +0000 (17:36 -0000)]
Fix NoUi mode, with this duchainify works again - this time with executing parse jobs.

7 years agoInline some of the static sessioncontroller functions.
Andreas Pakulat [Thu, 4 Feb 2010 00:56:57 +0000 (00:56 -0000)]
Inline some of the static sessioncontroller functions.

The idea is to have these available without linking to shell, so we
can create a minimal KDE app that can find a proper session id (and list
all sessions) and then starts the real app with the needed envvar set.

7 years agoMake static functions usable without shell
Andreas Pakulat [Thu, 4 Feb 2010 00:56:51 +0000 (00:56 -0000)]
Make static functions usable without shell

Make static function availableSessions and defaultSessionId usable
without having to link against shell or other kdevplatform libraries.
Need this so we can have a wrapper-app that sets up the envvar for
kdevelop and doesn't need to exit to release duchain-data.

7 years agoDon't maintain two lists of sessions.
Niko Sams [Wed, 3 Feb 2010 21:23:09 +0000 (21:23 -0000)]
Don't maintain two lists of sessions.
In NoUI mode put 0 into the QHash instead.

7 years agoAdd some more NoUI ifs.
Niko Sams [Wed, 3 Feb 2010 20:47:26 +0000 (20:47 -0000)]
Add some more NoUI ifs.
Store sessions additionally in a QList as in NoUI mode creating KActions is not possible.
Fixes at least gdbtest and duchainify.

7 years agomake repos checkable and use that to decide whether the contained snippets should...
Milian Wolff [Wed, 3 Feb 2010 14:50:55 +0000 (14:50 -0000)]
make repos checkable and use that to decide whether the contained snippets should be shown during code completion or not

7 years agodon't allow items of the snippet model to get an empty name via F2 renaming
Milian Wolff [Wed, 3 Feb 2010 09:24:10 +0000 (09:24 -0000)]
don't allow items of the snippet model to get an empty name via F2 renaming

7 years agomake the snippet model editable and save repos after editing them
Milian Wolff [Wed, 3 Feb 2010 09:24:08 +0000 (09:24 -0000)]
make the snippet model editable and save repos after editing them

7 years agodon't create repos with a slash in their name
Milian Wolff [Wed, 3 Feb 2010 09:24:06 +0000 (09:24 -0000)]
don't create repos with a slash in their name

7 years agodefault to current user name as author for new snippets
Milian Wolff [Wed, 3 Feb 2010 09:24:04 +0000 (09:24 -0000)]
default to current user name as author for new snippets

7 years agorename getRepoForName -> createRepoFromName
Milian Wolff [Wed, 3 Feb 2010 09:24:01 +0000 (09:24 -0000)]
rename getRepoForName -> createRepoFromName

7 years agominor cleanup
Milian Wolff [Wed, 3 Feb 2010 09:23:59 +0000 (09:23 -0000)]
minor cleanup

7 years agominor cleanup
Milian Wolff [Wed, 3 Feb 2010 09:23:56 +0000 (09:23 -0000)]
minor cleanup

7 years agoactivate new repos directly after creation
Milian Wolff [Wed, 3 Feb 2010 09:23:54 +0000 (09:23 -0000)]
activate new repos directly after creation

7 years agoadd missing rc file
Milian Wolff [Wed, 3 Feb 2010 09:23:52 +0000 (09:23 -0000)]
add missing rc file

7 years agodon't clear the menu in a slot connected to the KTextEditor::View's contextMenuAboutT...
Milian Wolff [Wed, 3 Feb 2010 09:23:50 +0000 (09:23 -0000)]
don't clear the menu in a slot connected to the KTextEditor::View's contextMenuAboutToShow - this will remove every action e.g. a KTextEditor plugin might have added that gets called before this slot. Also, I don't see any reason for it.
CCMAIL: apaku@gmx.de

7 years agomake it possible to quickly create a snippet from the selected text
Milian Wolff [Wed, 3 Feb 2010 09:23:47 +0000 (09:23 -0000)]
make it possible to quickly create a snippet from the selected text

7 years agofix icon for edit repo, set some default for the toggle action
Milian Wolff [Wed, 3 Feb 2010 09:23:45 +0000 (09:23 -0000)]
fix icon for edit repo, set some default for the toggle action

7 years agofix editing of system-wide repo files, now when one gets edited, a copy gets saved...
Milian Wolff [Wed, 3 Feb 2010 09:23:43 +0000 (09:23 -0000)]
fix editing of system-wide repo files, now when one gets edited, a copy gets saved in the users' dir and the system-wide file will not be loaded anymore

7 years agouse a lineedit to show the selected modes
Milian Wolff [Wed, 3 Feb 2010 09:23:41 +0000 (09:23 -0000)]
use a lineedit to show the selected modes
TODO: make it editable and validate + complete properly

7 years agorename: plugin_ -> m_plugin, self_ -> m_self
Milian Wolff [Wed, 3 Feb 2010 09:23:39 +0000 (09:23 -0000)]
rename: plugin_ -> m_plugin, self_ -> m_self

7 years agono wanna spaghetti i18n
Milian Wolff [Wed, 3 Feb 2010 09:23:36 +0000 (09:23 -0000)]
no wanna spaghetti i18n

7 years agorename: plugin_ -> m_plugin, proxy_ -> m_proxy
Milian Wolff [Wed, 3 Feb 2010 09:23:34 +0000 (09:23 -0000)]
rename: plugin_ -> m_plugin, proxy_ -> m_proxy

7 years agocleanup context menu code
Milian Wolff [Wed, 3 Feb 2010 09:23:32 +0000 (09:23 -0000)]
cleanup context menu code

7 years agomake it possible to activate/deactivate snippet repositories, esp. useful to disable...
Milian Wolff [Wed, 3 Feb 2010 09:23:30 +0000 (09:23 -0000)]
make it possible to activate/deactivate snippet repositories, esp. useful to disable the systemwide dummy test-repos

7 years agoadd tooltips: show filetypes for repos and contents for snippets
Milian Wolff [Wed, 3 Feb 2010 09:23:27 +0000 (09:23 -0000)]
add tooltips: show filetypes for repos and contents for snippets

7 years agofilter as you type, no need for an extra button here imo
Milian Wolff [Wed, 3 Feb 2010 09:23:25 +0000 (09:23 -0000)]
filter as you type, no need for an extra button here imo

7 years agothe SnippetStore is deleted in the unload method of the plugin
Milian Wolff [Wed, 3 Feb 2010 09:23:22 +0000 (09:23 -0000)]
the SnippetStore is deleted in the unload method of the plugin

7 years agomake edit dialogs have at least a width of 500
Milian Wolff [Wed, 3 Feb 2010 09:23:20 +0000 (09:23 -0000)]
make edit dialogs have at least a width of 500

7 years agofocus name linedits in edit dialogs
Milian Wolff [Wed, 3 Feb 2010 09:23:18 +0000 (09:23 -0000)]
focus name linedits in edit dialogs

7 years agoremove sinppet repo from model instead of deleteLater - this works properly (no empty...
Milian Wolff [Wed, 3 Feb 2010 09:23:16 +0000 (09:23 -0000)]
remove sinppet repo from model instead of deleteLater - this works properly (no empty item is left over)

7 years agomake sure there is an activeView in updateColorsFromDocument. I think I should make...
Milian Wolff [Wed, 3 Feb 2010 09:23:14 +0000 (09:23 -0000)]
make sure there is an activeView in updateColorsFromDocument. I think I should make the HighlightInterface a View interface... lets see whether I can still do that so late in the release cycle...

7 years agoadd toolbar with common add/edit/remove actions for both, snippets and repos. activat...
Milian Wolff [Wed, 3 Feb 2010 09:23:11 +0000 (09:23 -0000)]
add toolbar with common add/edit/remove actions for both, snippets and repos. activate them depending on the selected item

7 years agofix compile warning
Milian Wolff [Wed, 3 Feb 2010 09:23:09 +0000 (09:23 -0000)]
fix compile warning

7 years agoadd some icons
Milian Wolff [Wed, 3 Feb 2010 09:23:07 +0000 (09:23 -0000)]
add some icons

7 years agofilter snippets by filetype during code-completion
Milian Wolff [Wed, 3 Feb 2010 09:23:05 +0000 (09:23 -0000)]
filter snippets by filetype during code-completion

7 years agopush the check for a changed parent to setParent in the projectbaseitem
Milian Wolff [Wed, 3 Feb 2010 09:23:02 +0000 (09:23 -0000)]
push the check for a changed parent to setParent in the projectbaseitem

7 years agomake sure the file we get the deleted() signal for is really deleted on-disk... dunno...
Milian Wolff [Wed, 3 Feb 2010 09:23:00 +0000 (09:23 -0000)]
make sure the file we get the deleted() signal for is really deleted on-disk... dunno where this strange signals comes from, probably from the stopDirScan which is a royal PITA imo... and I'm sure this once worked as-is for me...

7 years agosupport prefix, postfix and arguments for snippet completion items
Milian Wolff [Wed, 3 Feb 2010 09:22:58 +0000 (09:22 -0000)]
support prefix, postfix and arguments for snippet completion items

7 years agodon't re-add items that already exist in the created() signal, seems to happen after...
Milian Wolff [Wed, 3 Feb 2010 09:22:55 +0000 (09:22 -0000)]
don't re-add items that already exist in the created() signal, seems to happen after we restart the dirscan... funny - I thought this worked as-is at some point...
CCBUG: 224751

7 years agodon't setParent when it hasn't changed, removes ghost-item
Milian Wolff [Wed, 3 Feb 2010 09:22:53 +0000 (09:22 -0000)]
don't setParent when it hasn't changed, removes ghost-item
BUG: 224751

7 years agofix 'add repo', validate on startup, get a proper filename
Milian Wolff [Wed, 3 Feb 2010 09:22:51 +0000 (09:22 -0000)]
fix 'add repo', validate on startup, get a proper filename

7 years agoupdate window title in edit-dialogs on save
Milian Wolff [Wed, 3 Feb 2010 09:22:48 +0000 (09:22 -0000)]
update window title in edit-dialogs on save

7 years agosnippets must have a name and some contents
Milian Wolff [Wed, 3 Feb 2010 09:22:46 +0000 (09:22 -0000)]
snippets must have a name and some contents

7 years agovalidate snippet dialog on startup
Milian Wolff [Wed, 3 Feb 2010 09:22:44 +0000 (09:22 -0000)]
validate snippet dialog on startup

7 years agoshow confirmation dialog when user requests removal of a snippet, save repo afterwards
Milian Wolff [Wed, 3 Feb 2010 09:22:42 +0000 (09:22 -0000)]
show confirmation dialog when user requests removal of a snippet, save repo afterwards

7 years agorefactor^Wwrite much of the snippet plugin:
Milian Wolff [Wed, 3 Feb 2010 09:22:28 +0000 (09:22 -0000)]
refactor^Wwrite much of the snippet plugin:
- use the kate snippets (snippets_tng plugin)
- change gui to adapt new requirements
- cleanup here and there while we are at it
TODO: show additional snippet values during code completion
TODO: filter valid/current snippets by mode
TODO: improve situation when one edits system-wide snippets (have to talk with jowenn about this, maybe we should skip them alltogether and just provide defaults via GHNS)
TODO: add GHNS support
TODO: add toolview toolbar with buttons for add/edit/remove snippet/repo
TODO: add some icons here and there
TODO: merge with snippets_tng. I have to say that my current implementation pretty easy is, lets see whether we can improve it further and also make it the default for KDE 4.5

7 years agoAlso clear Threads when entering EndedState or NotStartedState
Niko Sams [Sun, 31 Jan 2010 19:34:58 +0000 (19:34 -0000)]
Also clear Threads when entering EndedState or NotStartedState

7 years agoRemove locals in NotStartedState.
Niko Sams [Sun, 31 Jan 2010 19:34:54 +0000 (19:34 -0000)]
Remove locals in NotStartedState.
XDebug uses NotStartedState when one connection finished.

7 years agoFix icon
Niko Sams [Sun, 31 Jan 2010 16:10:34 +0000 (16:10 -0000)]
Fix icon

7 years agocorrectly clear execution point when entering NotStartedState.
Niko Sams [Sun, 31 Jan 2010 15:17:11 +0000 (15:17 -0000)]
correctly clear execution point when entering NotStartedState.
Xdebug sets NotStartedState when debugging multiple script runs instead
of EndedState

7 years agoFix build with Qt 4.5.
Niko Sams [Sun, 31 Jan 2010 14:59:10 +0000 (14:59 -0000)]
Fix build with Qt 4.5.
QWeakPointer(QObject*) constructor got added in 4.6

CCMAIL: vkrevs@serena.com

7 years agodon't crash when no frames are empty
Niko Sams [Sun, 31 Jan 2010 13:44:47 +0000 (13:44 -0000)]
don't crash when no frames are empty

7 years agofix include
Niko Sams [Sun, 31 Jan 2010 13:44:40 +0000 (13:44 -0000)]
fix include

7 years agodisable the kross plugin macro as we don't support kross plugins
Andreas Pakulat [Sun, 31 Jan 2010 12:52:03 +0000 (12:52 -0000)]
disable the kross plugin macro as we don't support kross plugins

The macro is flawed as it installs too much (.svn for example), so needs
a workover.

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 31 Jan 2010 10:59:04 +0000 (10:59 -0000)]
SVN_SILENT made messages (.desktop file)

7 years agoAppend output to OutputModel only when it is still alive.
Niko Sams [Sat, 30 Jan 2010 22:21:53 +0000 (22:21 -0000)]
Append output to OutputModel only when it is still alive.
BUG: 222317

7 years agoUse QWeakPointer for outputModel, as it can get deleted by OutputData.
Niko Sams [Sat, 30 Jan 2010 22:21:46 +0000 (22:21 -0000)]
Use QWeakPointer for outputModel, as it can get deleted by OutputData.
CCBUG: 222317

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sat, 30 Jan 2010 10:47:45 +0000 (10:47 -0000)]
SVN_SILENT made messages (.desktop file)

7 years agoremove compiler warning
Niko Sams [Sat, 30 Jan 2010 10:28:20 +0000 (10:28 -0000)]
remove compiler warning

7 years agoadjust kross manually to the changed API. Forgot to build after the changes.
Andreas Pakulat [Fri, 29 Jan 2010 22:07:59 +0000 (22:07 -0000)]
adjust kross manually to the changed API. Forgot to build after the changes.

7 years agoDrop the environment() function. Dunno who had the idea to add this, but
Andreas Pakulat [Fri, 29 Jan 2010 20:40:36 +0000 (20:40 -0000)]
Drop the environment() function. Dunno who had the idea to add this, but
it doesn't make the slightest sense to have environment variables
defined for project items. They should be definable for the actual
buildsystem tool.

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 29 Jan 2010 10:18:27 +0000 (10:18 -0000)]
SVN_SILENT made messages (.desktop file)

7 years agoproperly remove deleted folders (we don't know whether they are files or folders...
Milian Wolff [Thu, 28 Jan 2010 17:10:47 +0000 (17:10 -0000)]
properly remove deleted folders (we don't know whether they are files or folders at that point, so just check every item with that url and remove it)

7 years agorecurse into existing folders when reloading a given folder
Milian Wolff [Thu, 28 Jan 2010 17:07:01 +0000 (17:07 -0000)]
recurse into existing folders when reloading a given folder
note: reload is incremental, hence you don't see such a big difference as e.g. in the cmake manager where everything is removed and added again
CCBUG: 224337

7 years agorefactor parts of the generic manager
Milian Wolff [Thu, 28 Jan 2010 16:51:53 +0000 (16:51 -0000)]
refactor parts of the generic manager

7 years agoremove obsolete api (the signals are defined in the interface), mark an arg as unused
Milian Wolff [Thu, 28 Jan 2010 02:40:39 +0000 (02:40 -0000)]
remove obsolete api (the signals are defined in the interface), mark an arg as unused

7 years agofix lookup for removed projects, could lead to improper removals and even crashes...
Milian Wolff [Thu, 28 Jan 2010 02:40:34 +0000 (02:40 -0000)]
fix lookup for removed projects, could lead to improper removals and even crashes due to then invalidated items
please report if you get another one of these crashes
BUG: 214569

7 years agoonly trigger a reload for the top-most selected folders, fixes crash in generic manag...
Milian Wolff [Thu, 28 Jan 2010 00:56:46 +0000 (00:56 -0000)]
only trigger a reload for the top-most selected folders, fixes crash in generic manager when a nested directories where selected and a reload was requested
CCBUG: 224337

7 years ago- Do not close the currently running session on "Start New Session"
David Nolden [Thu, 28 Jan 2010 00:03:14 +0000 (00:03 -0000)]
- Do not close the currently running session on "Start New Session"
- Forward the --graphicssystem and --style arguments to kdevelop instances started for additional sessions (list to be extended)

7 years agoonly show the 'create file' and 'create folder' actions when a single folder/target...
Milian Wolff [Wed, 27 Jan 2010 23:54:52 +0000 (23:54 -0000)]
only show the 'create file' and 'create folder' actions when a single folder/target was selected. imo it doesn't make much sense to show that when multiple folders where selected (usecase??)

7 years agoMake the documentActivated connection non-queued, as the document might already be...
David Nolden [Wed, 27 Jan 2010 23:44:45 +0000 (23:44 -0000)]
Make the documentActivated connection non-queued, as the document might already be deleted when the signal is delivered.
Instead, just delay the updating of the colors.
This should fix a crash.
BUG: 224155

7 years agoExplicity clear the modification-revision cache when doing changes through CodeRepres...
David Nolden [Wed, 27 Jan 2010 23:22:25 +0000 (23:22 -0000)]
Explicity clear the modification-revision cache when doing changes through CodeRepresentation

7 years agochange api: make IProjectFileManager::reload() accept a ProjectFolderItem
Milian Wolff [Wed, 27 Jan 2010 22:18:48 +0000 (22:18 -0000)]
change api: make IProjectFileManager::reload() accept a ProjectFolderItem

7 years agoadd a static getter of all available sessions, to be used in KDevelop for the --sessi...
Milian Wolff [Wed, 27 Jan 2010 17:46:38 +0000 (17:46 -0000)]
add a static getter of all available sessions, to be used in KDevelop for the --sessions switch

7 years agoOnly setfocus on dock widgets that have a focusPolicy or have a valid focusProxy
Olivier Jean de Gaalon [Wed, 27 Jan 2010 06:36:45 +0000 (06:36 -0000)]
Only setfocus on dock widgets that have a focusPolicy or have a valid focusProxy
BUG:222712

7 years agoremove unused API
Milian Wolff [Tue, 26 Jan 2010 18:10:12 +0000 (18:10 -0000)]
remove unused API

7 years agoreload the selected folder, not the whole project
Milian Wolff [Tue, 26 Jan 2010 18:06:50 +0000 (18:06 -0000)]
reload the selected folder, not the whole project
CCBUG: 224337

7 years agoRemove Restart action.
Niko Sams [Mon, 25 Jan 2010 23:17:24 +0000 (23:17 -0000)]
Remove Restart action.
It will probably come back, so comment it only out.
BUG: 223150

7 years agoFix Locals updating when Variables View is hidden at debug session start.
Niko Sams [Mon, 25 Jan 2010 23:17:21 +0000 (23:17 -0000)]
Fix Locals updating when Variables View is hidden at debug session start.
BUG: 223160

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 25 Jan 2010 10:41:17 +0000 (10:41 -0000)]
SVN_SILENT made messages (.desktop file)

7 years agoOnly allow dirs to be selected in the projects urlrequester.
Andreas Pakulat [Sun, 24 Jan 2010 23:22:02 +0000 (23:22 -0000)]
Only allow dirs to be selected in the projects urlrequester.
Suggestion by vestnik@ngs.ru

7 years agoremove "mist" :D
Niko Sams [Sun, 24 Jan 2010 12:21:57 +0000 (12:21 -0000)]
remove "mist" :D

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sat, 23 Jan 2010 10:57:09 +0000 (10:57 -0000)]
SVN_SILENT made messages (.desktop file)

7 years agoUse Qt::UserRole+1 instead of magic number.
Niko Sams [Sat, 23 Jan 2010 10:42:27 +0000 (10:42 -0000)]
Use Qt::UserRole+1 instead of magic number.

7 years agoDisable apply button when changes are discarded.
Olivier Jean de Gaalon [Sat, 23 Jan 2010 07:57:48 +0000 (07:57 -0000)]
Disable apply button when changes are discarded.
BUG:203752

7 years agobuild fix
Patrick Spendrin [Fri, 22 Jan 2010 15:23:47 +0000 (15:23 -0000)]
build fix

7 years agomake sure there are pending jobs before starting the next one.
Milian Wolff [Fri, 22 Jan 2010 15:22:02 +0000 (15:22 -0000)]
make sure there are pending jobs before starting the next one.
I suspect that the signal-detour could potentially lead to cases
where there is no job left?

BUG: 223797

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 22 Jan 2010 10:57:28 +0000 (10:57 -0000)]
SVN_SILENT made messages (.desktop file)

7 years agoAdd a virtual url() to the baseitem so we can make use of OO and simply
Andreas Pakulat [Thu, 21 Jan 2010 20:48:55 +0000 (20:48 -0000)]
Add a virtual url() to the baseitem so we can make use of OO and simply
rely on inheritance for getting a proper url back.