kdevelop:devel-kdevplatform.git
7 years agotabs -> spaces variable-autos
Niko Sams [Fri, 12 Nov 2010 20:19:50 +0000 (21:19 +0100)]
tabs -> spaces

7 years agodon't introduce a new method when it can be done with the previous one as well
Niko Sams [Fri, 12 Nov 2010 20:16:58 +0000 (21:16 +0100)]
don't introduce a new method when it can be done with the previous one as well

7 years agoadapt to changed API
Niko Sams [Fri, 12 Nov 2010 20:00:20 +0000 (21:00 +0100)]
adapt to changed API

7 years agoMerge commit 'refs/merge-requests/22' of git://gitorious.org/kdevelop/kdevplatform...
Niko Sams [Fri, 12 Nov 2010 06:30:20 +0000 (07:30 +0100)]
Merge commit 'refs/merge-requests/22' of git://gitorious.org/kdevelop/kdevplatform into variable-autos

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 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

7 years agoprevent pesty warning: "QFSFileEngine::map: Mapping a file beyond its size is not...
Milian Wolff [Sun, 7 Nov 2010 23:53:34 +0000 (00:53 +0100)]
prevent pesty warning: "QFSFileEngine::map: Mapping a file beyond its size is not portable"

the reason is that when initing an item repo it was exactly BucketStartOffset bites big.
Hence: m_file->size() - BucketStartOffset == 0 and m_file->map(some offset, size = 0)
would not make any sense. So just don't do it at all.

7 years agodon't access workingset controller in no-ui mode
Milian Wolff [Sun, 7 Nov 2010 21:07:50 +0000 (22:07 +0100)]
don't access workingset controller in no-ui mode

7 years agouse KTextEditor in snippet editor
Milian Wolff [Sun, 7 Nov 2010 18:31:20 +0000 (19:31 +0100)]
use KTextEditor in snippet editor

7 years agooptimize: delete ranges on aboutToRemoveText when removed range spans multiple lines
Milian Wolff [Sun, 7 Nov 2010 15:37:40 +0000 (16:37 +0100)]
optimize: delete ranges on aboutToRemoveText when removed range spans multiple lines

makes it much faster to remove chunks of code, esp. the worst case: ctrl + a ; del

7 years agoclear highlighting for document when moving interface content is about to invalidate
Milian Wolff [Sun, 7 Nov 2010 14:06:27 +0000 (15:06 +0100)]
clear highlighting for document when moving interface content is about to invalidate

I'll also commit a change to Kate to emit this signal on setText calls,
making 'reformat source' as fast as possible

BUG: 215200

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

7 years agoexpose more information through the LockSessionState (lockfile, pid, app, hostname)
Milian Wolff [Thu, 4 Nov 2010 13:33:03 +0000 (14:33 +0100)]
expose more information through the LockSessionState (lockfile, pid, app, hostname)

7 years agoadd new MainWindow::ensureVisible method that is exposed to DBUS
Milian Wolff [Thu, 4 Nov 2010 13:32:38 +0000 (14:32 +0100)]
add new MainWindow::ensureVisible method that is exposed to DBUS

7 years agoImprove contentContextFromProxyContext so that it never returns the wrong content...
David Nolden [Wed, 3 Nov 2010 13:21:59 +0000 (14:21 +0100)]
Improve contentContextFromProxyContext so that it never returns the wrong content-context, better return zero.

7 years agoAdd an environment variable DONT_CLEAR_DUCHAIN_DIR which turns off the automatic...
David Nolden [Wed, 3 Nov 2010 13:21:03 +0000 (14:21 +0100)]
Add an environment variable DONT_CLEAR_DUCHAIN_DIR which turns off the automatic clearing of the duchain directory, so that crashy duchain problems can be debugged.

7 years agoMerge branch '1.1'
Milian Wolff [Tue, 2 Nov 2010 11:48:54 +0000 (12:48 +0100)]
Merge branch '1.1'

7 years agoset a proper minimum width when initializing the launch config dialog
Milian Wolff [Tue, 2 Nov 2010 11:48:47 +0000 (12:48 +0100)]
set a proper minimum width when initializing the launch config dialog

7 years agomake sure all projects are readable in launch config dialog
Milian Wolff [Tue, 2 Nov 2010 11:48:26 +0000 (12:48 +0100)]
make sure all projects are readable in launch config dialog

7 years ago--debug
Milian Wolff [Tue, 2 Nov 2010 10:41:12 +0000 (11:41 +0100)]
--debug

7 years agoMerge branch '1.1'
Milian Wolff [Tue, 2 Nov 2010 10:17:10 +0000 (11:17 +0100)]
Merge branch '1.1'

7 years agoinitialize CodeHighlightingColors after we initialized the required member vars,...
Milian Wolff [Tue, 2 Nov 2010 10:17:00 +0000 (11:17 +0100)]
initialize CodeHighlightingColors after we initialized the required member vars, add test to run valgrind easily

7 years agoinitialize CodeHighlightingColors after we initialized the required member vars,...
Milian Wolff [Tue, 2 Nov 2010 10:15:35 +0000 (11:15 +0100)]
initialize CodeHighlightingColors after we initialized the required member vars, add test to run valgrind easily

7 years agofix indent
Milian Wolff [Tue, 2 Nov 2010 09:54:52 +0000 (10:54 +0100)]
fix indent

7 years agoremove obsolete, unimplemented function
Milian Wolff [Tue, 2 Nov 2010 09:54:43 +0000 (10:54 +0100)]
remove obsolete, unimplemented function

7 years agoextend warning message for non-function type assigned to function declaration
Milian Wolff [Mon, 1 Nov 2010 12:04:40 +0000 (13:04 +0100)]
extend warning message for non-function type assigned to function declaration

hide it by default for type aliases which are probably 99.9% of the cases which used to trigger this warning
instead I'll write a proper unit test later. Seems like another bug due to missing support for function pointers
like
typedef bool (*EventFilter)(void *message, long *result);
in qcoreapplication.h:172

7 years agomake warning more understandible, for me it's mostly type aliases that trigger the...
Milian Wolff [Mon, 1 Nov 2010 11:28:28 +0000 (12:28 +0100)]
make warning more understandible, for me it's mostly type aliases that trigger the warning, they should maybe be hidden.

7 years agoshow proper error message when no KTextEditor::Factory could be found
Milian Wolff [Sun, 31 Oct 2010 13:30:27 +0000 (14:30 +0100)]
show proper error message when no KTextEditor::Factory could be found

CCBUG: 255737

7 years agoMake sure the find widget is just as big as really needed.
Mantia Andras [Sun, 31 Oct 2010 10:05:36 +0000 (12:05 +0200)]
Make sure the find widget is just as big as really needed.

7 years agoMerge branch '1.1'
Milian Wolff [Sun, 31 Oct 2010 10:27:56 +0000 (11:27 +0100)]
Merge branch '1.1'

7 years agoFix lib APU find in FindSubversionLibrary.cmake
Lambert CLARA [Fri, 29 Oct 2010 20:41:33 +0000 (22:41 +0200)]
Fix lib APU find in FindSubversionLibrary.cmake

7 years agoMerge branch '1.1'
Milian Wolff [Sun, 31 Oct 2010 10:24:57 +0000 (11:24 +0100)]
Merge branch '1.1'

7 years agopreserve remote parts of url of active document for 'open file' dialog
Milian Wolff [Sun, 31 Oct 2010 10:24:24 +0000 (11:24 +0100)]
preserve remote parts of url of active document for 'open file' dialog

BUG: 245540

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 29 Oct 2010 09:30:48 +0000 (11:30 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
Olivier JG [Fri, 29 Oct 2010 02:52:23 +0000 (10:52 +0800)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

7 years agoMerge branch '1.1'
Aleix Pol [Thu, 28 Oct 2010 20:29:03 +0000 (22:29 +0200)]
Merge branch '1.1'

7 years agoCopy the current directory instead of doing silly references.
Aleix Pol [Thu, 28 Oct 2010 20:27:07 +0000 (22:27 +0200)]
Copy the current directory instead of doing silly references.

BUG: 253229

7 years agoMerge branch '1.1'
Milian Wolff [Thu, 28 Oct 2010 15:10:52 +0000 (17:10 +0200)]
Merge branch '1.1'

7 years agoadd some icons in the launch config dialog
Milian Wolff [Thu, 28 Oct 2010 15:10:42 +0000 (17:10 +0200)]
add some icons in the launch config dialog

folder for Global item
folder-development for projects
tools-report-bug for DebugMode
office-chart-area for ProfileMode

7 years agoMerge branch '1.1'
Milian Wolff [Thu, 28 Oct 2010 14:51:13 +0000 (16:51 +0200)]
Merge branch '1.1'

Conflicts:
shell/launchconfigurationdialog.cpp

7 years agofix resize-to-column width algorithm and make launch config dialog have a sane size...
Milian Wolff [Thu, 28 Oct 2010 14:50:38 +0000 (16:50 +0200)]
fix resize-to-column width algorithm and make launch config dialog have a sane size by default

note: the leaf in the tree to the left is not the widest element, esp. not if the parent has an icon and a long project name

7 years agoadd tooltips to add/remove launch config buttons
Milian Wolff [Thu, 28 Oct 2010 14:48:35 +0000 (16:48 +0200)]
add tooltips to add/remove launch config buttons

7 years agoMerge branch '1.1'
Milian Wolff [Thu, 28 Oct 2010 14:14:26 +0000 (16:14 +0200)]
Merge branch '1.1'

Conflicts:
plugins/execute/nativeappconfig.ui

7 years agodisable target combobox when using custom executable
Milian Wolff [Thu, 28 Oct 2010 14:11:04 +0000 (16:11 +0200)]
disable target combobox when using custom executable

7 years agoMerge branch '1.1'
Milian Wolff [Thu, 28 Oct 2010 12:06:46 +0000 (14:06 +0200)]
Merge branch '1.1'

7 years agotry to fix crash in KDevelop::ConfigurableHighlightingColors::getAttribute
Milian Wolff [Thu, 28 Oct 2010 12:05:12 +0000 (14:05 +0200)]
try to fix crash in KDevelop::ConfigurableHighlightingColors::getAttribute

- make sure m_defaultColors is always initialized
- add assertion in getter

This is just a shot in the dark but it might be the right one, see
esp. the queued connection in update() which might have lead to periods
without an initialized m_defaultColors member.

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 28 Oct 2010 08:39:35 +0000 (10:39 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agofix up delegate deletion, prevents crash in generic manager test cases (was deleted...
Milian Wolff [Wed, 27 Oct 2010 18:33:54 +0000 (20:33 +0200)]
fix up delegate deletion, prevents crash in generic manager test cases (was deleted but the static var in the getter function was not reset)

7 years agoMerge commit '551bb3d8330fb7f0886e9d3ffc35144a0bc9138e'
Milian Wolff [Wed, 27 Oct 2010 18:31:45 +0000 (20:31 +0200)]
Merge commit '551bb3d8330fb7f0886e9d3ffc35144a0bc9138e'

7 years agoMerge branch '1.1'
Milian Wolff [Wed, 27 Oct 2010 18:30:18 +0000 (20:30 +0200)]
Merge branch '1.1'

Conflicts:
.gitignore

7 years agobackport from master: only append subdirs to actual parent list jobs, fixes random...
Milian Wolff [Wed, 27 Oct 2010 18:20:12 +0000 (20:20 +0200)]
backport from master: only append subdirs to actual parent list jobs, fixes random crashes

before we used sig/slot (for no reason?) and that way each dir was appended to *all* running import jobs
this lead to the jobs filtering and deleting their items and leading to various crashes

BUG: 254261

7 years agoAllow PersistantMovingRange to expand
Olivier JG [Wed, 27 Oct 2010 08:48:10 +0000 (16:48 +0800)]
Allow PersistantMovingRange to expand

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Wed, 27 Oct 2010 02:57:03 +0000 (04:57 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agouse QThread* instead of Qt::HANDLE as the documentation warns about using the latter:
Milian Wolff [Tue, 26 Oct 2010 10:38:16 +0000 (12:38 +0200)]
use QThread* instead of Qt::HANDLE as the documentation warns about using the latter:

Qt::HANDLE: Warning: Using this type is not portable.
currentThreadId(): Warning: The handle returned by this function is used for internal purposes and should not be used in any application code.

7 years agoExpose QMenu's instead of lists of actions from the configuration types. Makes it...
Aleix Pol [Sun, 24 Oct 2010 23:12:52 +0000 (01:12 +0200)]
Expose QMenu's instead of lists of actions from the configuration types. Makes it possible to add some hierarchy into the lauchers suggestion list.

7 years agoadd getter for project watcher
Milian Wolff [Sun, 24 Oct 2010 15:09:22 +0000 (17:09 +0200)]
add getter for project watcher

7 years ago--debug
Milian Wolff [Sun, 24 Oct 2010 13:41:52 +0000 (15:41 +0200)]
--debug

7 years agoenable/disable processing instead of resume/suspend when enabling/disabling the backg...
Milian Wolff [Sun, 24 Oct 2010 02:33:44 +0000 (04:33 +0200)]
enable/disable processing instead of resume/suspend when enabling/disabling the background parser

also make sure there is no progress bar shown when there is no job being processed

7 years agomake background parser settings per-session (though keep backwards compatibility)
Milian Wolff [Sun, 24 Oct 2010 02:06:22 +0000 (04:06 +0200)]
make background parser settings per-session (though keep backwards compatibility)

7 years agocleanup code and fix pesky 'no such signal QObject::patchChanged
Milian Wolff [Sun, 24 Oct 2010 01:17:32 +0000 (03:17 +0200)]
cleanup code and fix pesky 'no such signal QObject::patchChanged

during shutdown the raw pointer got invalidated and the meta object system didn't work anymore

7 years agoAdd 'build' to .gitignore.
Nicolás Alvarez [Tue, 19 Oct 2010 02:33:46 +0000 (23:33 -0300)]
Add 'build' to .gitignore.

7 years agoAdd proper whitespace in the tooltips for VCS annotate.
Nicolás Alvarez [Fri, 22 Oct 2010 21:31:11 +0000 (18:31 -0300)]
Add proper whitespace in the tooltips for VCS annotate.

7 years agoGenerate the suggestionActions every time we open the launches configuration dialog
Aleix Pol [Fri, 22 Oct 2010 13:24:29 +0000 (15:24 +0200)]
Generate the suggestionActions every time we open the launches configuration dialog

7 years agouse virtual inheritance to overcome the diamond-shaped inheritance chain for IBuildSy...
Milian Wolff [Fri, 22 Oct 2010 12:04:57 +0000 (14:04 +0200)]
use virtual inheritance to overcome the diamond-shaped inheritance chain for IBuildSystemManager and IProjectFileManager

now a IBuildSystemManager is a IProjectFileManager again

7 years agoonly append subdirs to actual parent list jobs, fixes random crashes
Milian Wolff [Fri, 22 Oct 2010 02:57:15 +0000 (04:57 +0200)]
only append subdirs to actual parent list jobs, fixes random crashes

before we used sig/slot (for no reason?) and that way each dir was appended to *all* running import jobs
this lead to the jobs filtering and deleting their items and leading to various crashes

BUG: 254261

TODO: backport fix to 4.1

7 years agofix build
Milian Wolff [Fri, 22 Oct 2010 02:49:45 +0000 (04:49 +0200)]
fix build

7 years agoFix typo.
Aleix Pol [Fri, 22 Oct 2010 01:54:01 +0000 (03:54 +0200)]
Fix typo.

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevplatform
Aleix Pol [Fri, 22 Oct 2010 01:51:45 +0000 (03:51 +0200)]
Merge branch 'master' of gitorious.org:kdevelop/kdevplatform

7 years agoMake it possible to add pre-configured launch configurations. Hopefully this will...
Aleix Pol [Fri, 22 Oct 2010 01:51:24 +0000 (03:51 +0200)]
Make it possible to add pre-configured launch configurations. Hopefully this will be the definitive twist of that dialog so that it finally makes everyone happy :).

7 years agoask user whether to overwrite existing project file
Milian Wolff [Fri, 22 Oct 2010 01:38:43 +0000 (03:38 +0200)]
ask user whether to overwrite existing project file

7 years agoMerge branch '1.1'
Milian Wolff [Fri, 22 Oct 2010 01:03:46 +0000 (03:03 +0200)]
Merge branch '1.1'

7 years agomake project url canonical before inserting into m_currentlyOpening
Milian Wolff [Fri, 22 Oct 2010 01:03:39 +0000 (03:03 +0200)]
make project url canonical before inserting into m_currentlyOpening

symlinked projects could not be reopened a second time otherwise

7 years agofix sig/slot connection... /me bangs head for sucky fully-qualified-id-requirement...
Milian Wolff [Fri, 22 Oct 2010 00:50:31 +0000 (02:50 +0200)]
fix sig/slot connection... /me bangs head for sucky fully-qualified-id-requirement-in-sig-slots...

7 years agoMerge branch '1.1'
Milian Wolff [Fri, 22 Oct 2010 00:06:46 +0000 (02:06 +0200)]
Merge branch '1.1'

Conflicts:
CMakeLists.txt

7 years agodon't leak temporary files
Milian Wolff [Fri, 22 Oct 2010 00:06:10 +0000 (02:06 +0200)]
don't leak temporary files

7 years agodon't inherit from IProjectFileManager in IBuildSystemManager
Milian Wolff [Thu, 21 Oct 2010 21:01:37 +0000 (23:01 +0200)]
don't inherit from IProjectFileManager in IBuildSystemManager

this makes it possible to inherit from AbstractFileManagerPlugin and add the IBuildSystemManager on top of that

7 years agomake public signals use fully qualified identifiers
Milian Wolff [Thu, 21 Oct 2010 21:00:01 +0000 (23:00 +0200)]
make public signals use fully qualified identifiers

7 years agoalways skip dot and dotdot folders from entries to prevent infinite recursion
Milian Wolff [Thu, 21 Oct 2010 20:07:28 +0000 (22:07 +0200)]
always skip dot and dotdot folders from entries to prevent infinite recursion

7 years agoclearCurrentPosition when state changes.
Niko Sams [Thu, 21 Oct 2010 20:06:35 +0000 (22:06 +0200)]
clearCurrentPosition when state changes.

With that we don't have to care about doing that in the plugin

7 years agoadd addr to signal to avoid an custom signal in gdb plugin
Niko Sams [Thu, 21 Oct 2010 19:48:19 +0000 (21:48 +0200)]
add addr to signal to avoid an custom signal in gdb plugin

7 years agoturn file into a KUrl, as it's always a url and we might want to support other protoc...
Niko Sams [Thu, 21 Oct 2010 19:45:10 +0000 (21:45 +0200)]
turn file into a KUrl, as it's always a url and we might want to support other protocols too

7 years agomake vars private
Niko Sams [Thu, 21 Oct 2010 19:37:49 +0000 (21:37 +0200)]
make vars private

7 years agoimprove code style
Niko Sams [Thu, 21 Oct 2010 19:34:25 +0000 (21:34 +0200)]
improve code style

7 years agoremove unused forward decl (what should this be anyways?)
Milian Wolff [Thu, 21 Oct 2010 19:20:13 +0000 (21:20 +0200)]
remove unused forward decl (what should this be anyways?)

7 years agofileitems will always have a parent
Milian Wolff [Thu, 21 Oct 2010 18:48:23 +0000 (20:48 +0200)]
fileitems will always have a parent

7 years agoprovide AbstractFileManagerPlugin, code is from GenericManager (which now reuses...
Milian Wolff [Wed, 20 Oct 2010 17:28:36 +0000 (19:28 +0200)]
provide AbstractFileManagerPlugin, code is from GenericManager (which now reuses that)

this should be used in CustomMake, Qmake etc. pp. eventually

The IGenericManager got removed in favor of the above.

7 years agoadd myself to copyright, remove obsolete fixme
Milian Wolff [Wed, 20 Oct 2010 15:48:52 +0000 (17:48 +0200)]
add myself to copyright, remove obsolete fixme