kdevelop:kdevplatform.git
7 years agofix close all tabs / close other tabs actions by using a QueuedConnection
Milian Wolff [Mon, 22 Nov 2010 12:58:27 +0000 (13:58 +0100)]
fix close all tabs / close other tabs actions by using a QueuedConnection

7 years agodon't crash when we don't find an area for a view
Milian Wolff [Mon, 22 Nov 2010 12:34:32 +0000 (13:34 +0100)]
don't crash when we don't find an area for a view

BUG: 257580

7 years agointroduce getter for current document path/url
Milian Wolff [Sun, 21 Nov 2010 18:42:34 +0000 (19:42 +0100)]
introduce getter for current document path/url

7 years agoMerge branch '1.1'
Aleix Pol [Mon, 22 Nov 2010 02:59:04 +0000 (03:59 +0100)]
Merge branch '1.1'

Conflicts:
plugins/git/gitplugin.cpp

7 years agoWhen removing a file or directory, check if it has git versioned stuff. In that case... 1.1
Aleix Pol [Mon, 22 Nov 2010 02:57:37 +0000 (03:57 +0100)]
When removing a file or directory, check if it has git versioned stuff. In that case ask Git to remove it, otherwise trash it.

7 years agoFix comment typos in iplugin.h.
Nicolás Alvarez [Sun, 21 Nov 2010 23:10:28 +0000 (20:10 -0300)]
Fix comment typos in iplugin.h.

7 years agoRemove obsolete todo
David nolden [Sun, 21 Nov 2010 17:20:40 +0000 (18:20 +0100)]
Remove obsolete todo

7 years agoAdd useful assertion
David nolden [Sun, 21 Nov 2010 17:20:05 +0000 (18:20 +0100)]
Add useful assertion

7 years agoShow the "clear" button in the filter view.
David nolden [Sun, 21 Nov 2010 17:18:27 +0000 (18:18 +0100)]
Show the "clear" button in the filter view.

7 years agoprovide QDebug operator<< for RangeInRevision and CursorInRevision
Milian Wolff [Sun, 21 Nov 2010 16:50:14 +0000 (17:50 +0100)]
provide QDebug operator<< for RangeInRevision and CursorInRevision

7 years agoput filter line edit into the dockwidget's toolbar
Milian Wolff [Sun, 21 Nov 2010 16:22:56 +0000 (17:22 +0100)]
put filter line edit into the dockwidget's toolbar

7 years agoProblem Reporter: make column resizing work without user interference.
Dmitry Risenberg [Wed, 17 Nov 2010 21:05:29 +0000 (00:05 +0300)]
Problem Reporter: make column resizing work without user interference.

7 years agoProblem Reporter: rebuild problem list on timer.
Dmitry Risenberg [Wed, 17 Nov 2010 20:42:10 +0000 (23:42 +0300)]
Problem Reporter: rebuild problem list on timer.

When a parsing job finishes, start a timer. If another job finishes before the timer expires, resart the timer.

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
David nolden [Sun, 21 Nov 2010 14:47:42 +0000 (15:47 +0100)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

7 years agoFix the problem that the "Document has changes, do you want to save?" dialog wasn...
David nolden [Sun, 21 Nov 2010 14:47:20 +0000 (15:47 +0100)]
Fix the problem that the "Document has changes, do you want to save?" dialog wasn't triggered in time when the view was part of a working set which was attached to multiple areas.

7 years agofixuifiles
Frederik Schwarzer [Sun, 21 Nov 2010 13:13:29 +0000 (14:13 +0100)]
fixuifiles

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 21 Nov 2010 09:29:37 +0000 (10:29 +0100)]
SVN_SILENT made messages (.desktop file)

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 21 Nov 2010 03:51:35 +0000 (04:51 +0100)]
SVN_SILENT made messages (.desktop file)

7 years agoadd apidox
Milian Wolff [Sat, 20 Nov 2010 23:00:02 +0000 (00:00 +0100)]
add apidox

7 years agomake it possible to configure the environment from inside the configure launches...
Milian Wolff [Sat, 20 Nov 2010 22:58:14 +0000 (23:58 +0100)]
make it possible to configure the environment from inside the configure launches dialog

7 years agotooltips for project view filter, toolview toggle buttons and toolview button bar
Milian Wolff [Sat, 20 Nov 2010 20:49:03 +0000 (21:49 +0100)]
tooltips for project view filter, toolview toggle buttons and toolview button bar

7 years agoadd tooltip to outline and quickopen toolbar lineedits
Milian Wolff [Sat, 20 Nov 2010 20:35:05 +0000 (21:35 +0100)]
add tooltip to outline and quickopen toolbar lineedits

7 years agoadd tooltips to outline buttons
Milian Wolff [Sat, 20 Nov 2010 20:30:12 +0000 (21:30 +0100)]
add tooltips to outline buttons

7 years agoshow find-in-files results expanded by default
Milian Wolff [Sat, 20 Nov 2010 20:05:16 +0000 (21:05 +0100)]
show find-in-files results expanded by default

7 years agochange layout of the Project configure dialog page
Frederik Schwarzer [Sat, 20 Nov 2010 19:14:38 +0000 (20:14 +0100)]
change layout of the Project configure dialog page

Having the labels left of the checkboxes was different from the other
pages so this gives it a more unified look.

7 years agodon't try to update invalid url (i.e. when we have no active document and change...
Milian Wolff [Sat, 20 Nov 2010 19:07:31 +0000 (20:07 +0100)]
don't try to update invalid url (i.e. when we have no active document and change the settings)

7 years agomissing colon
Frederik Schwarzer [Sat, 20 Nov 2010 17:08:55 +0000 (18:08 +0100)]
missing colon

7 years agoMerge branch '1.1'
Milian Wolff [Sat, 20 Nov 2010 16:39:01 +0000 (17:39 +0100)]
Merge branch '1.1'

Conflicts:
language/duchain/dumpchain.cpp

7 years agocode cleanup and return early when we don't have to filter anything
Milian Wolff [Sat, 20 Nov 2010 16:26:58 +0000 (17:26 +0100)]
code cleanup and return early when we don't have to filter anything

7 years agoset click message on new filter lineedit
Milian Wolff [Sat, 20 Nov 2010 16:21:51 +0000 (17:21 +0100)]
set click message on new filter lineedit

7 years agoset dynamic sort filter, don't do that customly
Milian Wolff [Sat, 20 Nov 2010 16:16:12 +0000 (17:16 +0100)]
set dynamic sort filter, don't do that customly

7 years ago--debug
Milian Wolff [Sat, 20 Nov 2010 16:13:50 +0000 (17:13 +0100)]
--debug

7 years agoMerge commit 'refs/merge-requests/40' of gitorious.org:kdevelop/kdevplatform into...
Milian Wolff [Sat, 20 Nov 2010 16:08:23 +0000 (17:08 +0100)]
Merge commit 'refs/merge-requests/40' of gitorious.org:kdevelop/kdevplatform into merge-request-40

7 years agofix parens... doh
Milian Wolff [Sat, 20 Nov 2010 16:01:00 +0000 (17:01 +0100)]
fix parens... doh

7 years agoinit data to 0, prevent valgrind warnings
Milian Wolff [Sat, 20 Nov 2010 16:00:29 +0000 (17:00 +0100)]
init data to 0, prevent valgrind warnings

CCBUG: 257242

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
Olivier JG [Sat, 20 Nov 2010 01:37:53 +0000 (09:37 +0800)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

7 years agoAssistantPopup: add some spacing and give it the tooltip palette.
Olivier JG [Sat, 20 Nov 2010 01:36:08 +0000 (09:36 +0800)]
AssistantPopup: add some spacing and give it the tooltip palette.

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
Aleix Pol [Fri, 19 Nov 2010 13:53:31 +0000 (14:53 +0100)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

Conflicts:
plugins/problemreporter/problemwidget.cpp

7 years agoDon't crash if the documentLoaded signal was emitted multiple times. Apparently,...
David nolden [Thu, 18 Nov 2010 09:10:53 +0000 (10:10 +0100)]
Don't crash if the documentLoaded signal was emitted multiple times. Apparently, TextDocument does this after a file was renamed using "Save As".

7 years agoCorrectly connect the signal and slot. This should fix a possible crash, because...
David nolden [Wed, 17 Nov 2010 13:53:29 +0000 (14:53 +0100)]
Correctly connect the signal and slot. This should fix a possible crash, because teh breakpoint-model didnt notice when the moving interface content was deleted.

7 years agoMerge branch '1.1' of git://gitorious.org/kdevelop/kdevplatform into 1.1
ben2367 [Wed, 17 Nov 2010 13:41:00 +0000 (14:41 +0100)]
Merge branch '1.1' of git://gitorious.org/kdevelop/kdevplatform into 1.1

7 years agoCorrect FileManager contextMenu
ben2367 [Wed, 17 Nov 2010 13:38:59 +0000 (14:38 +0100)]
Correct FileManager contextMenu

Remove old action (from the previous context menu call)

7 years agoAdapt to changes in RecoveryInterface
David nolden [Wed, 17 Nov 2010 11:54:37 +0000 (12:54 +0100)]
Adapt to changes in RecoveryInterface

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
David nolden [Wed, 17 Nov 2010 11:51:08 +0000 (12:51 +0100)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

7 years agoChange Colorizer to take QFlags for italic/bold instead of separate bools.
Nicolás Alvarez [Wed, 17 Nov 2010 01:04:44 +0000 (22:04 -0300)]
Change Colorizer to take QFlags for italic/bold instead of separate bools.

Callers are much more readable now.

7 years agoAdd i18n comments to strings in codeutils plugin.
Nicolás Alvarez [Wed, 17 Nov 2010 00:52:06 +0000 (21:52 -0300)]
Add i18n comments to strings in codeutils plugin.

Note they are comments, not context, so this is string-freeze-safe.

7 years agorename method (doucmentation to documentation)
ben2367 [Wed, 17 Nov 2010 00:33:29 +0000 (01:33 +0100)]
rename method (doucmentation to documentation)

7 years agoDumpChain: code cleanup.
Nicolás Alvarez [Mon, 15 Nov 2010 18:14:12 +0000 (15:14 -0300)]
DumpChain: code cleanup.

Remove the local ContextType enum, use DUContext::ContextType instead.
Use braces for single-statement loops.
Cleanup indentation and whitespace at EOL.

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 16 Nov 2010 11:50:49 +0000 (12:50 +0100)]
SVN_SILENT made messages (.desktop file)

7 years agoProject Manager View inclusive filter 40
Eugene Agafonov [Tue, 16 Nov 2010 09:33:50 +0000 (12:33 +0300)]
Project Manager View inclusive filter

- Added KLineEdit on Project<Manager form (above project  tree)
- Implement filtering in ProjectProxyModel controlled by string (space-separated wildcard expressions)

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 16 Nov 2010 04:52:17 +0000 (05:52 +0100)]
SVN_SILENT made messages (.desktop file)

7 years agoMake sure to always remove the highlighting before deleting the model-list, just...
David nolden [Mon, 15 Nov 2010 12:24:13 +0000 (13:24 +0100)]
Make sure to always remove the highlighting before deleting the model-list, just to make sure that there never is a highlighter which references an already-deleted model.
_might_ fix a hardly reproducible crash.

7 years agoMerge branch '1.1'
Milian Wolff [Sun, 14 Nov 2010 16:09:42 +0000 (17:09 +0100)]
Merge branch '1.1'

Conflicts:
plugins/codeutils/kdevcodeutils.desktop

7 years agofix: don't crash when changing shortcuts without having an active document
Milian Wolff [Sun, 14 Nov 2010 16:08:17 +0000 (17:08 +0100)]
fix: don't crash when changing shortcuts without having an active document

BUG: 256868

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
Olivier JG [Sun, 14 Nov 2010 05:33:34 +0000 (13:33 +0800)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

7 years agoA bit of cleanup for the assistant interface and popup.
Olivier JG [Sun, 14 Nov 2010 05:30:41 +0000 (13:30 +0800)]
A bit of cleanup for the assistant interface and popup.

7 years agofix compile: onyl look for recovery interface starting with kde 4.6 betas
Milian Wolff [Sat, 13 Nov 2010 20:29:13 +0000 (21:29 +0100)]
fix compile: onyl look for recovery interface starting with kde 4.6 betas

7 years agoremove obsolete version check
Milian Wolff [Sat, 13 Nov 2010 20:27:02 +0000 (21:27 +0100)]
remove obsolete version check

7 years agofix regression: don't hide the progress bar when there are jobs left
Milian Wolff [Sat, 13 Nov 2010 19:45:26 +0000 (20:45 +0100)]
fix regression: don't hide the progress bar when there are jobs left

only take the weaver queue into account when we disabled processing

7 years ago- Never do "Simplified" update, as that is no full duchain processing.
David nolden [Sat, 13 Nov 2010 18:55:09 +0000 (19:55 +0100)]
- Never do "Simplified" update, as that is no full duchain processing.
- When only one document is select, force a full recursive update. That was the basic idea of the button: To allow fixing duchain problems, even if they happened in some imports.

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
David nolden [Sat, 13 Nov 2010 18:28:44 +0000 (19:28 +0100)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

7 years agoRemove helper functions, they are implemented somewhere else now (more efficiently)
David nolden [Sat, 13 Nov 2010 16:53:16 +0000 (17:53 +0100)]
Remove helper functions, they are implemented somewhere else now (more efficiently)

7 years agoremove more obsolete kde version checks
Milian Wolff [Sat, 13 Nov 2010 16:20:49 +0000 (17:20 +0100)]
remove more obsolete kde version checks

7 years agodon't exctract messages from reviewboardtest
Milian Wolff [Sat, 13 Nov 2010 16:20:36 +0000 (17:20 +0100)]
don't exctract messages from reviewboardtest

7 years agoremove defines, we depend on kde 4.5 anyways
Milian Wolff [Sat, 13 Nov 2010 16:07:35 +0000 (17:07 +0100)]
remove defines, we depend on kde 4.5 anyways

7 years agomove scripts editor to 'edit snippet' dialog and use a KTextEditor for it, make docum...
Milian Wolff [Sat, 13 Nov 2010 15:43:46 +0000 (16:43 +0100)]
move scripts editor to 'edit snippet' dialog and use a KTextEditor for it, make documentation more accessible

7 years agortrim
Milian Wolff [Sat, 13 Nov 2010 14:32:13 +0000 (15:32 +0100)]
rtrim

7 years agodon't highlight TODO problems nor show a tooltip for them
Milian Wolff [Sat, 13 Nov 2010 14:31:58 +0000 (15:31 +0100)]
don't highlight TODO problems nor show a tooltip for them

7 years agoNicely play together with the kate swap-file recovery, using the new KTextEditor...
David nolden [Sat, 13 Nov 2010 13:41:04 +0000 (14:41 +0100)]
Nicely play together with the kate swap-file recovery, using the new KTextEditor::RecoveryInterface.

7 years agoRevert "unbreak API-breakage introduced by 700a8aabed34f83365643db4ab4e7878261fc6f6"
Milian Wolff [Sat, 13 Nov 2010 13:29:38 +0000 (14:29 +0100)]
Revert "unbreak API-breakage introduced by 700a8aabed34f83365643db4ab4e7878261fc6f6"

as we cannot lock for write while holding a readlock we'll have to use DUChainPointers
anyways, lets hope we can improve this eventually. For now, revert this again.

This reverts commit daaf505c94ff0a9ad9f1a9f72115064bb41e88f9.

7 years agoRevert stringhelpers.cpp part of "Necessities for finding TODOs in comments."
Milian Wolff [Sat, 13 Nov 2010 12:42:39 +0000 (13:42 +0100)]
Revert stringhelpers.cpp part of "Necessities for finding TODOs in comments."

Instead just return the number of stripped chars without changing behavior
and introducing regressions

This reverts parts of commit ff07feda38d706c9fd88b7c9f2ce7fbae903ac74.

Conflicts:

language/duchain/stringhelpers.cpp
language/duchain/stringhelpers.h

7 years agoremove UpdateOptionsDialog that was nowhere used
Milian Wolff [Sat, 13 Nov 2010 11:25:16 +0000 (12:25 +0100)]
remove UpdateOptionsDialog that was nowhere used

7 years agoRevert "only require readlock in newUse that takes a Declaration*, to stay compatibl...
Milian Wolff [Fri, 12 Nov 2010 23:33:40 +0000 (00:33 +0100)]
Revert "only require readlock in newUse that takes a  Declaration*, to stay compatible with old code"

Seems like this code is currently not valid:

DUChainReadLock lockRead;
/* do something only requiring read lock */

DUChainWriteLock writeLock;
/* lock for write as well now */

Will have to ask david about it.

This reverts commit 83023bf239a7fae6721cba5c45eb4bb62c41fa05.

7 years agoonly require readlock in newUse that takes a Declaration*, to stay compatible with...
Milian Wolff [Fri, 12 Nov 2010 23:30:36 +0000 (00:30 +0100)]
only require readlock in newUse that takes a  Declaration*, to stay compatible with old code

7 years agounbreak API-breakage introduced by 700a8aabed34f83365643db4ab4e7878261fc6f6
Milian Wolff [Fri, 12 Nov 2010 23:10:28 +0000 (00:10 +0100)]
unbreak API-breakage introduced by 700a8aabed34f83365643db4ab4e7878261fc6f6

re-introduce the methods that take a plain pointer but ENSURE_DUCHAIN_LOCKED in them

7 years agodocument return value of new strip functions
Milian Wolff [Fri, 12 Nov 2010 22:37:36 +0000 (23:37 +0100)]
document return value of new strip functions

7 years agodon't delay KActionMenu display
Milian Wolff [Fri, 12 Nov 2010 22:31:22 +0000 (23:31 +0100)]
don't delay KActionMenu display

7 years agoMerge commit 'refs/merge-requests/39' of gitorious.org:kdevelop/kdevplatform into...
Milian Wolff [Fri, 12 Nov 2010 22:06:49 +0000 (23:06 +0100)]
Merge commit 'refs/merge-requests/39' of gitorious.org:kdevelop/kdevplatform into merge-request-39

7 years agodon't crash when pressing show when a patch is already shown
Milian Wolff [Fri, 12 Nov 2010 21:33:12 +0000 (22:33 +0100)]
don't crash when pressing show when a patch is already shown

BUG: 256614

7 years agoconstify
Milian Wolff [Fri, 12 Nov 2010 14:48:51 +0000 (15:48 +0100)]
constify

7 years agoRemove repeated connect.
Aleix Pol [Thu, 11 Nov 2010 01:16:51 +0000 (02:16 +0100)]
Remove repeated connect.

7 years agoMake Use method to get the declaration const. Doesn't modify anything (just calls...
Aleix Pol [Thu, 11 Nov 2010 01:14:39 +0000 (02:14 +0100)]
Make Use method to get the declaration const. Doesn't modify anything (just calls a const method), should be fine.

7 years agoFix a possible random crash
David Nolden [Wed, 10 Nov 2010 19:22:37 +0000 (20:22 +0100)]
Fix a possible random crash

7 years agoUse DUChainPointer to reach uses to newUse, as the duchain is not locked beforehand...
David Nolden [Wed, 10 Nov 2010 19:03:25 +0000 (20:03 +0100)]
Use DUChainPointer to reach uses to newUse, as the duchain is not locked beforehand, and the declaration might get deleted in the meantime.
This may fix random crashes, if the builders are adapted accordingly (never reference declerations from a different top-context through Declaration* when the duchain isn't locked)

7 years agoFix several working-set actions that led to a crash when the current working-set...
David Nolden [Wed, 10 Nov 2010 18:53:23 +0000 (19:53 +0100)]
Fix several working-set actions that led to a crash when the current working-set was empty, especially the "Add All" action, by using an empmty working set object.
When you do a refactoring, cannot you at least try each of the 5 buttons whether it leads to an instant crash?!

7 years ago- Fix a bad regression from the refactoring: When the current working-set was empty...
David Nolden [Wed, 10 Nov 2010 17:51:54 +0000 (18:51 +0100)]
- Fix a bad regression from the refactoring: When the current working-set was empty, using the file-buttons in tooltips from other working-sets led to an instant crash.
- Leave tooltips open after the current working-set was closed: This way a user can close and delete a working-set in one go.

7 years agoMake it actually possible to create launch configurations outside its UI.
Aleix Pol [Wed, 10 Nov 2010 00:29:16 +0000 (01:29 +0100)]
Make it actually possible to create launch configurations outside its UI.

Fixes a crash when adding the targets.

7 years agoRemove unused file.
Aleix Pol [Tue, 9 Nov 2010 23:38:35 +0000 (00:38 +0100)]
Remove unused file.

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 9 Nov 2010 11:29:42 +0000 (12:29 +0100)]
SVN_SILENT made messages (.desktop file)

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 9 Nov 2010 04:20:10 +0000 (05:20 +0100)]
SVN_SILENT made messages (.desktop file)

7 years agoProblem Reporter: do less parsing on full update && fix full update tooltip.
Dmitry Risenberg [Sun, 7 Nov 2010 20:57:44 +0000 (23:57 +0300)]
Problem Reporter: do less parsing on full update && fix full update tooltip.

7 years agoProblem Reporter: make list of todo markers in comments configurable.
Dmitry Risenberg [Sun, 7 Nov 2010 18:22:47 +0000 (21:22 +0300)]
Problem Reporter: make list of todo markers in comments configurable.

7 years agoSelect the first entry in the documentation ComboBox
ben2367 [Mon, 8 Nov 2010 00:40:44 +0000 (01:40 +0100)]
Select the first entry in the documentation ComboBox

7 years agoRemove indentation changes
ben2367 [Wed, 27 Oct 2010 03:00:53 +0000 (05:00 +0200)]
Remove indentation changes

7 years agoClear documentation history when documentation providers changed
ben2367 [Mon, 25 Oct 2010 17:20:36 +0000 (19:20 +0200)]
Clear documentation history when documentation providers changed

7 years agoLoad and unload documentation provider-provider
ben2367 [Mon, 25 Oct 2010 17:18:56 +0000 (19:18 +0200)]
Load and unload documentation provider-provider

7 years agoReload documentation providers at runtime
ben2367 [Wed, 20 Oct 2010 22:33:42 +0000 (00:33 +0200)]
Reload documentation providers at runtime

7 years agoLoad documentation providers from documentation provider-provider
ben2367 [Fri, 15 Oct 2010 13:18:27 +0000 (15:18 +0200)]
Load documentation providers from documentation provider-provider

7 years agoAdd documentation provider provider interface
ben2367 [Fri, 15 Oct 2010 13:12:41 +0000 (15:12 +0200)]
Add documentation provider provider interface

7 years agoprevent warning: kdevelop/kdeui (kdelibs): No such XML file .../.kde/share/apps/kdeve...
Milian Wolff [Mon, 8 Nov 2010 00:05:46 +0000 (01:05 +0100)]
prevent warning: kdevelop/kdeui (kdelibs): No such XML file .../.kde/share/apps/kdevelop/katepartui.rc

by copying the global file to the local file if the latter does not exist