kdevelop:devel-kdevplatform.git
7 years agoMerge branch 'master' into multilang multilang
Milian Wolff [Mon, 30 Aug 2010 23:21:51 +0000 (01:21 +0200)]
Merge branch 'master' into multilang

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 30 Aug 2010 07:36:39 +0000 (09:36 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoBuild git plugin with kdevplatform.
Andreas Pakulat [Sun, 29 Aug 2010 19:29:35 +0000 (21:29 +0200)]
Build git plugin with kdevplatform.

7 years agoMerge branch 'merge_git'
Andreas Pakulat [Sun, 29 Aug 2010 19:18:11 +0000 (21:18 +0200)]
Merge branch 'merge_git'

7 years agoPrepare for merging the plugin into kdevplatform
Andreas Pakulat [Sun, 29 Aug 2010 19:16:00 +0000 (21:16 +0200)]
Prepare for merging the plugin into kdevplatform

Move the plugin code to its final destination within the kdevplatform
source tree.

7 years agoFix crash when opening context menu without selected variable
Niko Sams [Sat, 28 Aug 2010 15:23:20 +0000 (17:23 +0200)]
Fix crash when opening context menu without selected variable

BUG: 249331

7 years agoMerge branch 'highlight-changed-values'
Niko Sams [Sat, 28 Aug 2010 14:38:56 +0000 (16:38 +0200)]
Merge branch 'highlight-changed-values'

7 years agoDon't set changed recursively
Niko Sams [Sat, 28 Aug 2010 10:46:58 +0000 (12:46 +0200)]
Don't set changed recursively

As the information of what excatly changed get's lost.

Also reset the changed status on a central place. (that needs to
be done recursively)

7 years agoMerge commit 'refs/merge-requests/21' of git://gitorious.org/kdevelop/kdevplatform...
Niko Sams [Sat, 28 Aug 2010 07:36:46 +0000 (09:36 +0200)]
Merge commit 'refs/merge-requests/21' of git://gitorious.org/kdevelop/kdevplatform into highlight-changed-values

7 years agoNo need to cast anymore in Project Model.
Aleix Pol [Fri, 27 Aug 2010 12:37:06 +0000 (14:37 +0200)]
No need to cast anymore in Project Model.

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
Aleix Pol [Thu, 26 Aug 2010 14:37:47 +0000 (16:37 +0200)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

7 years agoNo need to check if it's not null anymore (all elements in the model will be ProjectB...
Aleix Pol [Wed, 25 Aug 2010 19:28:59 +0000 (21:28 +0200)]
No need to check if it's not null anymore (all elements in the model will be ProjectBaseItems for sure).

7 years agoFixed highlighting issue with emitting dataChanged signal.
Konstantin Karganov [Wed, 25 Aug 2010 14:34:16 +0000 (18:34 +0400)]
Fixed highlighting issue with emitting dataChanged signal.

7 years agoadd pending lines when process finished
Niko Sams [Wed, 25 Aug 2010 06:45:52 +0000 (08:45 +0200)]
add pending lines when process finished

Fixes problem that no text was inserted

7 years agoMerge commit 'refs/merge-requests/21' of git://gitorious.org/kdevelop/kdevplatform...
Niko Sams [Tue, 24 Aug 2010 18:40:47 +0000 (20:40 +0200)]
Merge commit 'refs/merge-requests/21' of git://gitorious.org/kdevelop/kdevplatform into highlight-changed-values

7 years agoAsk to save files before trying to change branches.
Aleix Pol [Tue, 24 Aug 2010 17:07:36 +0000 (19:07 +0200)]
Ask to save files before trying to change branches.

7 years agoFix git pull when not providing a location.
Aleix Pol [Tue, 24 Aug 2010 16:56:25 +0000 (18:56 +0200)]
Fix git pull when not providing a location.
Merge stderr and stdout into stdout for push an pull, that way the user can get proper feedback.

7 years agoShow Silent DVcsJob's output if they went wrong.
Aleix Pol [Tue, 24 Aug 2010 16:47:55 +0000 (18:47 +0200)]
Show Silent DVcsJob's output if they went wrong.

7 years agoRemove more unused features.
Aleix Pol [Tue, 24 Aug 2010 16:44:32 +0000 (18:44 +0200)]
Remove more unused features.
Make silent some jobs where the user won't expect proper feedback.
Make Stash Manager dialog hig-compliant.

7 years agoUse the NewRequest job to fullfill the requests.
Aleix Pol [Tue, 24 Aug 2010 15:45:20 +0000 (17:45 +0200)]
Use the NewRequest job to fullfill the requests.

BUG: 248367

7 years agoSomehow I committed something that I shouldn't. Sorry guys.
Aleix Pol [Tue, 24 Aug 2010 04:28:25 +0000 (06:28 +0200)]
Somehow I committed something that I shouldn't. Sorry guys.

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
Aleix Pol [Tue, 24 Aug 2010 04:19:55 +0000 (06:19 +0200)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

7 years agoAsk to save the files before diffing/commiting.
Aleix Pol [Tue, 24 Aug 2010 03:49:06 +0000 (05:49 +0200)]
Ask to save the files before diffing/commiting.
Patch review won't work properly otherwise and it doesn't make sense not to save the files, it's more likely that the user forgot to save before triggering the action.

7 years agoAsk to save the files before diffing/commiting.
Aleix Pol [Tue, 24 Aug 2010 03:49:06 +0000 (05:49 +0200)]
Ask to save the files before diffing/commiting.
Patch review won't work properly otherwise and it doesn't make sense not to save the files, it's more likely that the user forgot to save before triggering the action.

7 years agoGet rid of unused and wrong code.
Aleix Pol [Tue, 24 Aug 2010 03:44:27 +0000 (05:44 +0200)]
Get rid of unused and wrong code.

7 years agoUse the project name to provide a meaningful checkout/clone directory in the Project...
Aleix Pol [Mon, 23 Aug 2010 19:35:06 +0000 (21:35 +0200)]
Use the project name to provide a meaningful checkout/clone directory in the Project source page inside the OpenProjectDialog.

7 years agoAdd APIDOCS for the whole widget.
Aleix Pol [Mon, 23 Aug 2010 19:32:43 +0000 (21:32 +0200)]
Add APIDOCS for the whole widget.
Add a projectName method to provide the VcsLocationWidget's project name.
Adapt the standard implementation to the last changes.

7 years agoNo need to have an abstract signal since it is a QObject already.
Aleix Pol [Mon, 23 Aug 2010 19:02:20 +0000 (21:02 +0200)]
No need to have an abstract signal since it is a QObject already.

7 years agoMade dvcsjobtest to pass.
Aleix Pol [Mon, 23 Aug 2010 18:47:42 +0000 (20:47 +0200)]
Made dvcsjobtest to pass.

7 years agoThat test was useless. (it was jus just running "hg root" and "bzr root" against...
Aleix Pol [Mon, 23 Aug 2010 18:36:24 +0000 (20:36 +0200)]
That test was useless. (it was jus just running "hg root" and "bzr root" against the tmp directory)

7 years agoRemoved idistributedversioncontrol::reset method.
Aleix Pol [Mon, 23 Aug 2010 17:49:48 +0000 (19:49 +0200)]
Removed idistributedversioncontrol::reset method.

Reasons: args argument is broken and we already have revert which should do exactly that if the VcsRevision HEAD is provided.

7 years agoMake the startModel() a Qt::QueuedConnection otherwise we have the same problem as...
Aleix Pol [Mon, 23 Aug 2010 17:38:36 +0000 (19:38 +0200)]
Make the startModel() a Qt::QueuedConnection otherwise we have the same problem as before.
Use OutputModel in DVcsJob instead of QStandardItemModel, looks better and makes use of several optimizations.

7 years agoMake VcsJob output model initialization delayed and dependent on if it's a verbose...
Aleix Pol [Mon, 23 Aug 2010 17:07:43 +0000 (19:07 +0200)]
Make VcsJob output model initialization delayed and dependent on if it's a verbose output job.

CCMAIL: apaku@gmx.de

7 years agoDon't need to control argument relativeness in the job, it should be up to the specif...
Aleix Pol [Mon, 23 Aug 2010 17:03:54 +0000 (19:03 +0200)]
Don't need to control argument relativeness in the job, it should be up to the specific plugin (e.g. git supports absolute arguments perfectly fine).

7 years agoUse the .git directory as the 'git status' base directory.
Aleix Pol [Mon, 23 Aug 2010 16:53:35 +0000 (18:53 +0200)]
Use the .git directory as the 'git status' base directory.

7 years agoFix compilation.
Aleix Pol [Mon, 23 Aug 2010 04:06:42 +0000 (06:06 +0200)]
Fix compilation.
Make git status a silent job.

7 years agoDon't crash if we don't have a model (like in NoGUI mode).
Aleix Pol [Sun, 22 Aug 2010 19:07:56 +0000 (21:07 +0200)]
Don't crash if we don't have a model (like in NoGUI mode).

7 years agoDon't provide the RC file because it was not working, we were not using it and it...
Aleix Pol [Sun, 22 Aug 2010 18:13:02 +0000 (20:13 +0200)]
Don't provide the RC file because it was not working, we were not using it and it made impossible to test the plugin.

7 years agoMore code cleanup.
Aleix Pol [Sun, 22 Aug 2010 18:12:27 +0000 (20:12 +0200)]
More code cleanup.
Make the test not to crash anymore (and to pass).

7 years agoCode repetition cleanup
Aleix Pol [Sun, 22 Aug 2010 17:37:31 +0000 (19:37 +0200)]
Code repetition cleanup

7 years agoFix dvcsjob.cpp compilation.
Aleix Pol [Sun, 22 Aug 2010 16:48:40 +0000 (18:48 +0200)]
Fix dvcsjob.cpp compilation.

CCMAIL: apaku@gmx.de

7 years agoDon't assert if we can fail gracefully.
Andreas Pakulat [Sat, 21 Aug 2010 22:11:40 +0000 (00:11 +0200)]
Don't assert if we can fail gracefully.

Assert means its going to crash in debug builds, which is bad, especially
since this is just normal error-condition which we can report and then
abort the job-execution.

CCMAIL: aleixpol@kde.org

7 years agoMake the tests build.
Andreas Pakulat [Sat, 21 Aug 2010 12:01:59 +0000 (14:01 +0200)]
Make the tests build.

7 years agoEnforce building of tests (they currently don't build).
Andreas Pakulat [Sat, 21 Aug 2010 11:59:06 +0000 (13:59 +0200)]
Enforce building of tests (they currently don't build).

7 years agoMerge branch 'master' into multilang
Milian Wolff [Fri, 20 Aug 2010 18:50:32 +0000 (20:50 +0200)]
Merge branch 'master' into multilang

Conflicts:
language/codecompletion/codecompletion.cpp

7 years agoMerge commit 'refs/merge-requests/23' of gitorious.org:kdevelop/kdevplatform into...
Milian Wolff [Fri, 20 Aug 2010 17:31:27 +0000 (19:31 +0200)]
Merge commit 'refs/merge-requests/23' of gitorious.org:kdevelop/kdevplatform into merge-request-23

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 20 Aug 2010 07:36:30 +0000 (09:36 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 20 Aug 2010 07:35:40 +0000 (09:35 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoDon't put an empty parameter when we're not specifying where to push.
Aleix Pol [Fri, 20 Aug 2010 02:46:11 +0000 (04:46 +0200)]
Don't put an empty parameter when we're not specifying where to push.
Fixes pushing.

7 years agoUse the same nomenclature everywhere so that slot&signal connections are not messed up.
Aleix Pol [Fri, 20 Aug 2010 02:44:58 +0000 (04:44 +0200)]
Use the same nomenclature everywhere so that slot&signal connections are not messed up.
Fixes commiting to actually work.

7 years agoTry not to build puzzles with UI strings.
Aleix Pol [Fri, 20 Aug 2010 02:44:11 +0000 (04:44 +0200)]
Try not to build puzzles with UI strings.

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
Aleix Pol [Fri, 20 Aug 2010 00:30:36 +0000 (02:30 +0200)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

7 years agoMake it possible to add items to the VCS menu from within the plugin implementation.
Aleix Pol [Thu, 19 Aug 2010 23:56:43 +0000 (01:56 +0200)]
Make it possible to add items to the VCS menu from within the plugin implementation.

7 years agoPrint when stderr is received.
Aleix Pol [Thu, 19 Aug 2010 23:54:23 +0000 (01:54 +0200)]
Print when stderr is received.
Put KDevelop:: on the signal signature so that it can be compared as the same type when connecting to a slot that doesn't have it.

7 years agoAsk to stash when checking out another branch and we have pending changes.
Aleix Pol [Thu, 19 Aug 2010 19:50:42 +0000 (21:50 +0200)]
Ask to stash when checking out another branch and we have pending changes.

CCMAIL: mail@milianw.de

7 years agoAdded a stash management facility for git support.
Aleix Pol [Thu, 19 Aug 2010 18:54:03 +0000 (20:54 +0200)]
Added a stash management facility for git support.
Solved some minor issues.

7 years agoMerge branch '1.0'
Andreas Pakulat [Thu, 19 Aug 2010 17:21:42 +0000 (19:21 +0200)]
Merge branch '1.0'

7 years agoHelp people find the movingranges branch
Andreas Pakulat [Thu, 19 Aug 2010 17:20:41 +0000 (19:20 +0200)]
Help people find the movingranges branch

Provide the repo-website url which has the branch

7 years agoSome polishment to take it to actually work.
Aleix Pol [Thu, 19 Aug 2010 04:05:30 +0000 (06:05 +0200)]
Some polishment to take it to actually work.

7 years agoChange the default ::log call.
Aleix Pol [Thu, 19 Aug 2010 03:39:45 +0000 (05:39 +0200)]
Change the default ::log call.
It makes it possible to run logs against a local git repository and fits svn log default BASE:1.

7 years agoAdapt to changes in kdevplatform
Aleix Pol [Thu, 19 Aug 2010 02:52:48 +0000 (04:52 +0200)]
Adapt to changes in kdevplatform

7 years agoSet a good object name for the job, so that it can be identified in the future.
Aleix Pol [Thu, 19 Aug 2010 02:49:15 +0000 (04:49 +0200)]
Set a good object name for the job, so that it can be identified in the future.

7 years agoPass the directory in the DVcsJob constructor instead of expecting it to be magically...
Aleix Pol [Thu, 19 Aug 2010 02:33:48 +0000 (04:33 +0200)]
Pass the directory in the DVcsJob constructor instead of expecting it to be magically provided in the future and forcing the user to use DVcsPlugin::prepareJob which doesn't exist anymore.
Move DVcsJob into KDevelop namespace since it is an installed header.

7 years agoDon't leak jobs when commiting.
Aleix Pol [Wed, 18 Aug 2010 19:37:39 +0000 (21:37 +0200)]
Don't leak jobs when commiting.

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
Aleix Pol [Wed, 18 Aug 2010 19:34:04 +0000 (21:34 +0200)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

7 years agoAdapt to changes on the API.
Aleix Pol [Wed, 18 Aug 2010 19:22:55 +0000 (21:22 +0200)]
Adapt to changes on the API.

7 years agoPass args to the ls-files job.
Aleix Pol [Wed, 18 Aug 2010 18:18:14 +0000 (20:18 +0200)]
Pass args to the ls-files job.

7 years agoUse QScopedPointer to prevent job leakages.
Aleix Pol [Wed, 18 Aug 2010 18:16:26 +0000 (20:16 +0200)]
Use QScopedPointer to prevent job leakages.
Assert on some unresolved job results.

7 years agoAdapted to changes in dvcs.
Aleix Pol [Wed, 18 Aug 2010 18:02:10 +0000 (20:02 +0200)]
Adapted to changes in dvcs.
Don't call VcsCommitDialog if we're not going to use anything but it's initialization. Makes the code path cleaner (and VcsCommitDialog deprecated).

7 years agoAdapted DVcsJob API to Qt like naming (removing get* stuff)
Aleix Pol [Wed, 18 Aug 2010 18:01:16 +0000 (20:01 +0200)]
Adapted DVcsJob API to Qt like naming (removing get* stuff)

7 years agoRemove unused API.
Aleix Pol [Wed, 18 Aug 2010 17:51:35 +0000 (19:51 +0200)]
Remove unused API.

::clear could lead to troublesome code (think undisconnected signals).
::setStandardInput was not used and already possible through ::getChildProc.

7 years agoUpdated API documentation.
Aleix Pol [Wed, 18 Aug 2010 17:49:20 +0000 (19:49 +0200)]
Updated API documentation.

7 years agoRemove server property in the VcsJob as it's not being used.
Aleix Pol [Wed, 18 Aug 2010 17:36:27 +0000 (19:36 +0200)]
Remove server property in the VcsJob as it's not being used.

7 years agoLet horses eat whatever they wish.
Aleix Pol [Wed, 18 Aug 2010 17:33:31 +0000 (19:33 +0200)]
Let horses eat whatever they wish.

7 years agoShow the current directory before the command is prompted when displaying a dvcsjob...
Aleix Pol [Wed, 18 Aug 2010 16:07:55 +0000 (18:07 +0200)]
Show the current directory before the command is prompted when displaying a dvcsjob output.

7 years agosync defaults with rest of code
Milian Wolff [Wed, 18 Aug 2010 14:12:08 +0000 (16:12 +0200)]
sync defaults with rest of code

7 years agoRemoved more code that is not used anymore.
Aleix Pol [Wed, 18 Aug 2010 14:06:53 +0000 (16:06 +0200)]
Removed more code that is not used anymore.

7 years agoWe still wish a nice day to translators :D, just not on the code.
Aleix Pol [Wed, 18 Aug 2010 13:40:25 +0000 (15:40 +0200)]
We still wish a nice day to translators :D, just not on the code.

7 years agoRemove warning
Aleix Pol [Wed, 18 Aug 2010 13:40:09 +0000 (15:40 +0200)]
Remove warning

7 years agoAdd all needed features for git log on intervals.
Aleix Pol [Wed, 18 Aug 2010 13:37:39 +0000 (15:37 +0200)]
Add all needed features for git log on intervals.

7 years agoproperly add both, fetch and open/import project actions to context menu
Milian Wolff [Wed, 18 Aug 2010 13:32:06 +0000 (15:32 +0200)]
properly add both, fetch and open/import project actions to context menu

7 years agoDon't be condescendent with DVCS plugins and make them implement all log interfaces.
Aleix Pol [Wed, 18 Aug 2010 13:09:01 +0000 (15:09 +0200)]
Don't be condescendent with DVCS plugins and make them implement all log interfaces.

Make CommitLog model lazy loaded so that we don't break UI that much.

7 years agoAdapt to changes in KDevPlatform
Aleix Pol [Wed, 18 Aug 2010 13:10:27 +0000 (15:10 +0200)]
Adapt to changes in KDevPlatform

7 years agoCode cleanup.
Aleix Pol [Wed, 18 Aug 2010 12:19:42 +0000 (14:19 +0200)]
Code cleanup.

After checkout it's up to the project manager to decide if it has to be reloaded or what. I think it is good that VCS notifies this kind of stuff but we have to do it better and it was not being used anyway so we'll get there. Also implementation was wrong (was closing and opening the project instead of using ::reloadModel).

7 years agofix compile
Milian Wolff [Wed, 18 Aug 2010 12:14:29 +0000 (14:14 +0200)]
fix compile

7 years agoUse the run controller to register jobs.
Aleix Pol [Wed, 18 Aug 2010 12:05:45 +0000 (14:05 +0200)]
Use the run controller to register jobs.

7 years agoRemove some interface that shouldn't be exported.
Aleix Pol [Wed, 18 Aug 2010 12:03:16 +0000 (14:03 +0200)]
Remove some interface that shouldn't be exported.

7 years agoCode style fixes.
Aleix Pol [Wed, 18 Aug 2010 12:03:00 +0000 (14:03 +0200)]
Code style fixes.

7 years agoFix building with make -j3.
Andreas Pakulat [Wed, 18 Aug 2010 05:02:17 +0000 (07:02 +0200)]
Fix building with make -j3.

The test also used the .cpp file which uses the generated ui-header, but
there was no dependency onto the .ui file. This fixes that (the other
option would've been adding a dependency onto kdevreviewboard, but I
don't like that).

7 years agoMake git status support to provide up to date status's again
Aleix Pol [Tue, 17 Aug 2010 21:18:22 +0000 (23:18 +0200)]
Make git status support to provide up to date status's again

7 years agoChange DVCS interface to a more convenient one and don't duplicate commands into...
Aleix Pol [Tue, 17 Aug 2010 20:43:53 +0000 (22:43 +0200)]
Change DVCS interface to a more convenient one and don't duplicate commands into DVCS and KProcess.

7 years agoMake it possible to have non-recursive commands for git.
Aleix Pol [Tue, 17 Aug 2010 13:49:23 +0000 (15:49 +0200)]
Make it possible to have non-recursive commands for git.

7 years agoadd @brief
Milian Wolff [Tue, 17 Aug 2010 12:40:26 +0000 (14:40 +0200)]
add @brief

7 years agocleanup api by doing some abi incompatible changes
Milian Wolff [Tue, 17 Aug 2010 12:38:15 +0000 (14:38 +0200)]
cleanup api by doing some abi incompatible changes

7 years agomake HighlighingInstance::typeForDeclaration virtual
Milian Wolff [Tue, 17 Aug 2010 12:26:21 +0000 (14:26 +0200)]
make HighlighingInstance::typeForDeclaration virtual

7 years agoRemoved unneeded code for git diff
Aleix Pol [Tue, 17 Aug 2010 11:52:42 +0000 (13:52 +0200)]
Removed unneeded code for git diff

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
Aleix Pol [Tue, 17 Aug 2010 10:40:52 +0000 (12:40 +0200)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

7 years agoImplement some missing interfaces.
Aleix Pol [Tue, 17 Aug 2010 10:39:59 +0000 (12:39 +0200)]
Implement some missing interfaces.

7 years agoUse git blame --porcelain because older implementation was not working and --porcelai...
Aleix Pol [Tue, 17 Aug 2010 09:29:47 +0000 (11:29 +0200)]
Use git blame --porcelain because older implementation was not working and --porcelain is the way to go for machine reading git blame.

7 years agoMerge branch '1.0'
Andreas Pakulat [Tue, 17 Aug 2010 08:43:52 +0000 (10:43 +0200)]
Merge branch '1.0'