kdevelop:kdevelop.git
7 years agoset version to 4.1.0, require kdevplatform 1.1.0 v4.1.0
Milian Wolff [Mon, 18 Oct 2010 16:42:34 +0000 (18:42 +0200)]
set version to 4.1.0, require kdevplatform 1.1.0

7 years agofix custommake manager crashes when deleting, renaming folders
Milian Wolff [Sat, 16 Oct 2010 14:16:11 +0000 (16:16 +0200)]
fix custommake manager crashes when deleting, renaming folders

the internal map stored sometimes paths with trailing slash, sometimes without making the lookup
fail randomly leading to dangling pointers and crashes in the worst case

BUG: 253829

7 years agooptimize: no need to call moveBehindComment if we found a last #include, just put...
Milian Wolff [Thu, 14 Oct 2010 13:28:40 +0000 (15:28 +0200)]
optimize: no need to call moveBehindComment if we found a last #include, just put include after that

7 years agofinally fix the missing include item placement...
Milian Wolff [Thu, 14 Oct 2010 13:21:32 +0000 (15:21 +0200)]
finally fix the missing include item placement...

CCBUG: 254104

7 years agoplace includes/forward declarations after defines or comments if no empty line is...
Milian Wolff [Thu, 14 Oct 2010 13:06:21 +0000 (15:06 +0200)]
place includes/forward declarations after defines or comments if no empty line is found

7 years agoproperly add include/forward definition at start of document when
Milian Wolff [Thu, 14 Oct 2010 12:55:25 +0000 (14:55 +0200)]
properly add include/forward definition at start of document when
we don't find a position after that

BUG: 254104

7 years agoCheck cached variables from conditionals too.
Aleix Pol [Wed, 13 Oct 2010 19:05:57 +0000 (21:05 +0200)]
Check cached variables from conditionals too.

7 years agoMake it possible to reload CMakeFolders that don't have a cmakelists.txt (because...
Aleix Pol [Wed, 13 Oct 2010 12:38:14 +0000 (14:38 +0200)]
Make it possible to reload CMakeFolders that don't have a cmakelists.txt (because it has been removed).
Improve responsibity on file removal.
Reload project branch when a CMakeLists.txt file was removed.

7 years agouse system colors instead of hardcoded colors in GDB command line toolview
Milian Wolff [Wed, 13 Oct 2010 11:35:12 +0000 (13:35 +0200)]
use system colors instead of hardcoded colors in GDB command line toolview

7 years agoset focus on filter lineedit by default in 'attach to process' dialog
Milian Wolff [Wed, 13 Oct 2010 09:41:36 +0000 (11:41 +0200)]
set focus on filter lineedit by default in 'attach to process' dialog

7 years agoproperly read debugger state when adding output widget after debug process was started
Milian Wolff [Wed, 13 Oct 2010 09:37:57 +0000 (11:37 +0200)]
properly read debugger state when adding output widget after debug process was started

7 years agoTest the option command works properly with the cache.
Aleix Pol [Wed, 13 Oct 2010 00:19:56 +0000 (02:19 +0200)]
Test the option command works properly with the cache.

7 years agoUse correct api.
Aleix Pol [Tue, 12 Oct 2010 21:14:45 +0000 (23:14 +0200)]
Use correct api.

7 years agoFix project reloading when the cache is dirty.
Aleix Pol [Tue, 12 Oct 2010 21:14:13 +0000 (23:14 +0200)]
Fix project reloading when the cache is dirty.

7 years agoDon't set the variable in case it's already specified on the cache.
Aleix Pol [Tue, 12 Oct 2010 15:01:26 +0000 (17:01 +0200)]
Don't set the variable in case it's already specified on the cache.

BUG: 253807

7 years agoFix wrong slot name.
Aleix Pol [Tue, 12 Oct 2010 12:03:41 +0000 (14:03 +0200)]
Fix wrong slot name.

7 years agoReload the project whenever the CMakeCache is modified.
Aleix Pol [Mon, 11 Oct 2010 16:11:24 +0000 (18:11 +0200)]
Reload the project whenever the CMakeCache is modified.

BUG: 253808

7 years agoMerge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1
Aleix Pol [Mon, 11 Oct 2010 15:34:04 +0000 (17:34 +0200)]
Merge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1

7 years agolet view take ownership of widgets, prevents leakage and crashes
Milian Wolff [Sat, 9 Oct 2010 13:45:11 +0000 (15:45 +0200)]
let view take ownership of widgets, prevents leakage and crashes

BUG: 250890

7 years agoCMake support: avoid infinite loop on foreach(RANGE) that never runs.
Nicolás Alvarez [Fri, 8 Oct 2010 19:07:11 +0000 (16:07 -0300)]
CMake support: avoid infinite loop on foreach(RANGE) that never runs.

foreach(i RANGE 10 1) never runs because start > end. The project visitor
was returning an incorrect 'lines' value when handling those, making walk()
jump *backwards* to near beginning of file, instead of forwards to the
matching endforeach. This would probably cause an infinite loop, since it
would process the same loop again.

This commit makes the project visitor handle empty RANGE loops the same as
empty normal foreach loops, skipping to the matching endforeach. It also
adds a new test for this problem.

BUG:253513

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 8 Oct 2010 02:59:30 +0000 (04:59 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoset version to 4.0.90 for RC1 v4.0.90
Milian Wolff [Mon, 4 Oct 2010 18:45:44 +0000 (20:45 +0200)]
set version to 4.0.90 for RC1

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 4 Oct 2010 02:48:25 +0000 (04:48 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agofix: don't confuse the parser by comments after ambiguous declarations or expressions
Milian Wolff [Sat, 2 Oct 2010 08:48:54 +0000 (10:48 +0200)]
fix: don't confuse the parser by comments after ambiguous declarations or expressions

BUG: 241793

7 years agosupport NULL macro as alias for 0
Milian Wolff [Thu, 30 Sep 2010 15:24:27 +0000 (17:24 +0200)]
support NULL macro as alias for 0
BUG: 252883

7 years agoMerge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1
Aleix Pol [Thu, 30 Sep 2010 15:03:36 +0000 (17:03 +0200)]
Merge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1

7 years agoMake it possible to parse properly projects with empty CMakeLists.txt files.
Aleix Pol [Thu, 30 Sep 2010 14:16:33 +0000 (16:16 +0200)]
Make it possible to parse properly projects with empty CMakeLists.txt files.
Don't add the cmake project root directory two times to the watcher.

7 years agoFix comment typos in CMake parser code.
Nicolás Alvarez [Fri, 24 Sep 2010 17:30:05 +0000 (14:30 -0300)]
Fix comment typos in CMake parser code.

7 years agoSmall coding style changes.
Aleix Pol [Wed, 29 Sep 2010 02:57:41 +0000 (04:57 +0200)]
Small coding style changes.

7 years agoAlways create a new instance of the QRegExp so that it keeps working when calling...
Aleix Pol [Wed, 29 Sep 2010 02:43:18 +0000 (04:43 +0200)]
Always create a new instance of the QRegExp so that it keeps working when calling the ast parser in parallel.

Thanks Milian for pointing that out :).

CCMAIL: mail@milianw.de

7 years agoFix bug interpreting CMake conditions with -NOTFOUND variables.
Nicolás Alvarez [Mon, 27 Sep 2010 18:07:14 +0000 (15:07 -0300)]
Fix bug interpreting CMake conditions with -NOTFOUND variables.

Fixes an infinite-ish loop loading KOffice, and probably other projects.
(it affected HandleImportedTargetsInCMakeRequiredLibraries.cmake)

7 years agobackport CLI api cleanup from master without i18n changes and deprecating commands
Milian Wolff [Mon, 27 Sep 2010 13:48:27 +0000 (15:48 +0200)]
backport CLI api cleanup from master without i18n changes and deprecating commands

7 years agodon't try to execute empty command
Milian Wolff [Mon, 27 Sep 2010 12:46:07 +0000 (14:46 +0200)]
don't try to execute empty command

BUG: 243424

7 years agoproperly set parent of GDB QObjects, afaik these where leaked before
Milian Wolff [Mon, 27 Sep 2010 12:30:18 +0000 (14:30 +0200)]
properly set parent of GDB QObjects, afaik these where leaked before

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 27 Sep 2010 02:51:19 +0000 (04:51 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 24 Sep 2010 02:40:39 +0000 (04:40 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoPrevent some crashes when creating a new folder from the UI to a cmake project.
Aleix Pol [Wed, 22 Sep 2010 16:36:50 +0000 (18:36 +0200)]
Prevent some crashes when creating a new folder from the UI to a cmake project.

7 years agoDon't add non-cmake folders that contain ".kdev_ignore" file.
Aleix Pol [Wed, 22 Sep 2010 16:11:41 +0000 (18:11 +0200)]
Don't add non-cmake folders that contain ".kdev_ignore" file.

BUG: 252058

7 years agoMerge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1
Aleix Pol [Wed, 22 Sep 2010 01:21:30 +0000 (03:21 +0200)]
Merge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1

7 years agoThis folder shouldn't ever have been here.
Aleix Pol [Wed, 22 Sep 2010 01:20:53 +0000 (03:20 +0200)]
This folder shouldn't ever have been here.

7 years agoset version to 4.0.82 v4.0.82
Milian Wolff [Tue, 21 Sep 2010 12:28:11 +0000 (14:28 +0200)]
set version to 4.0.82

7 years agoMerge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1
Aleix Pol [Mon, 20 Sep 2010 16:47:08 +0000 (18:47 +0200)]
Merge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1

7 years agobackport from master:
David nolden [Sun, 19 Sep 2010 10:22:14 +0000 (12:22 +0200)]
backport from master:

- Fix the preprocessor-test so that it exposes the problem shown in bug 242925
- Fix handle_include so that it can deal with training whitespaces within the paren, like "#include <stdio.h >". The preprocessor adds such a whitespace as a separator in that place, thus this fixes the bug.
CCBUG: 242925

7 years agobackport from master: Make whitespaces in #included headers work properly.
David nolden [Sun, 19 Sep 2010 11:27:04 +0000 (13:27 +0200)]
backport from master: Make whitespaces in #included headers work properly.
CCBUG: 242925

7 years agobackport from master: Add some successful tests for macros in include-directives...
David nolden [Sun, 19 Sep 2010 10:11:07 +0000 (12:11 +0200)]
backport from master: Add some successful tests for macros in include-directives aka "#include MY_MACRO"

7 years agobackport from master: Include the macro in the current line when preprocessing text...
David nolden [Sun, 19 Sep 2010 08:43:22 +0000 (10:43 +0200)]
backport from master: Include the macro in the current line when preprocessing text for the code tooltip

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 20 Sep 2010 02:44:55 +0000 (04:44 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoMerge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1
Aleix Pol [Sun, 19 Sep 2010 22:56:59 +0000 (00:56 +0200)]
Merge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 19 Sep 2010 02:44:02 +0000 (04:44 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sat, 18 Sep 2010 02:35:09 +0000 (04:35 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 17 Sep 2010 02:43:30 +0000 (04:43 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoMerge commit 'refs/merge-requests/29' of git://gitorious.org/kdevelop/kdevelop into...
Aleix Pol [Fri, 17 Sep 2010 00:52:40 +0000 (02:52 +0200)]
Merge commit 'refs/merge-requests/29' of git://gitorious.org/kdevelop/kdevelop into integration

7 years agoProperly provide the build directory for items the parents of which are not build...
Aleix Pol [Fri, 17 Sep 2010 00:41:49 +0000 (02:41 +0200)]
Properly provide the build directory for items the parents of which are not build folders.

BUG: 242351

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 16 Sep 2010 03:05:30 +0000 (05:05 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoMerge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1
David nolden [Wed, 15 Sep 2010 10:57:26 +0000 (12:57 +0200)]
Merge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1

7 years agoHopefully, finally fix a possible due to read over the end of the document.
David nolden [Wed, 15 Sep 2010 10:47:43 +0000 (12:47 +0200)]
Hopefully, finally fix a possible due to read over the end of the document.
BUG: 250383

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

7 years agoShow correct line numbers in "deprecated CMake command" problems. 29
Nicolás Alvarez [Tue, 14 Sep 2010 02:30:38 +0000 (23:30 -0300)]
Show correct line numbers in "deprecated CMake command" problems.

BUG:235406

7 years agoRemove obsolete casts.
Aleix Pol [Tue, 14 Sep 2010 21:15:13 +0000 (23:15 +0200)]
Remove obsolete casts.

7 years agoprevent crashes (assertions) whenever a faulty/unnamed target is defined.
Aleix Pol [Tue, 14 Sep 2010 20:18:28 +0000 (22:18 +0200)]
prevent crashes (assertions) whenever a faulty/unnamed target is defined.

7 years agoSimplify code.
Aleix Pol [Tue, 14 Sep 2010 20:18:10 +0000 (22:18 +0200)]
Simplify code.

7 years agoDelay actual file removal until files have been removed from the project by the user.
Aleix Pol [Tue, 14 Sep 2010 14:06:27 +0000 (16:06 +0200)]
Delay actual file removal until files have been removed from the project by the user.
Let project refresh infrastructure to care about item removal.

BUG: 233855

7 years agoDon't create an empty property when an empty one is read.
Aleix Pol [Mon, 13 Sep 2010 23:57:45 +0000 (01:57 +0200)]
Don't create an empty property when an empty one is read.

BUG: 224342

7 years agoadd (failing) test for typedeffed func ptrs
Milian Wolff [Mon, 13 Sep 2010 11:33:31 +0000 (13:33 +0200)]
add (failing) test for typedeffed func ptrs

the problem is that the AST is incorrect and not handled properly, it contains two declarators, leading to two declarations in the typedef

CCBUG: 244895

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 13 Sep 2010 02:34:58 +0000 (04:34 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sat, 11 Sep 2010 02:35:33 +0000 (04:35 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 10 Sep 2010 02:41:55 +0000 (04:41 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 9 Sep 2010 02:43:40 +0000 (04:43 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agosupport thread_local in parser
Milian Wolff [Wed, 8 Sep 2010 16:36:00 +0000 (18:36 +0200)]
support thread_local in parser

BUG: 242857

7 years agofix "keep one line statements" and "keep one line blocks" settings dialog
Milian Wolff [Wed, 8 Sep 2010 15:58:50 +0000 (17:58 +0200)]
fix "keep one line statements" and "keep one line blocks" settings dialog

BUG: 235323

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Wed, 8 Sep 2010 03:20:28 +0000 (05:20 +0200)]
SVN_SILENT made messages (.desktop file)

7 years agoRevert "The make interface wasn't used anywhere so we don't needed. IProjectBuilder...
Aleix Pol [Tue, 7 Sep 2010 14:22:15 +0000 (16:22 +0200)]
Revert "The make interface wasn't used anywhere so we don't needed. IProjectBuilder interface should be enough for all cases for the moment."

This reverts commit 379a3c5c5f5fd8d8bd1154260bb73601a08b6931.

CCMAIL: apaku@gmx.de

7 years agoRevert "There are no files to look for so we don't need a finder."
Aleix Pol [Tue, 7 Sep 2010 14:21:27 +0000 (16:21 +0200)]
Revert "There are no files to look for so we don't need a finder."

This reverts commit 9e9869a8ba4137bbaaa21b4bca80f662ff5b9017.

7 years agoMerge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1
Aleix Pol [Mon, 6 Sep 2010 22:38:09 +0000 (00:38 +0200)]
Merge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1

7 years agoThere are no files to look for so we don't need a finder.
Aleix Pol [Mon, 6 Sep 2010 22:36:16 +0000 (00:36 +0200)]
There are no files to look for so we don't need a finder.
All plugins should be targeting KDevPlatform.

7 years agoThe make interface wasn't used anywhere so we don't needed. IProjectBuilder interface...
Aleix Pol [Mon, 6 Sep 2010 22:32:28 +0000 (00:32 +0200)]
The make interface wasn't used anywhere so we don't needed. IProjectBuilder interface should be enough for all cases for the moment.
Additionally, that removes the need to install any header from within KDevelop.

7 years agoGet rid of the cmake builder interface. It was just used for lookup so it's fine...
Aleix Pol [Mon, 6 Sep 2010 21:20:44 +0000 (23:20 +0200)]
Get rid of the cmake builder interface. It was just used for lookup so it's fine to use the plugin name.

7 years agobackport from master: Reset the location-table when re-processing a header with its...
David Nolden [Mon, 6 Sep 2010 16:06:09 +0000 (18:06 +0200)]
backport from master: Reset the location-table when re-processing a header with its header-guards disabled.

This fixes an occassional very annoying code-highlighting problem, where the highlighted ranges were completely messed up.

7 years agoMerge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1
Aleix Pol [Mon, 6 Sep 2010 16:36:51 +0000 (18:36 +0200)]
Merge branch '4.1' of gitorious.org:kdevelop/kdevelop into 4.1

7 years agoDon't show the folders that doesn't exist on the project tree.
Aleix Pol [Mon, 6 Sep 2010 16:35:26 +0000 (18:35 +0200)]
Don't show the folders that doesn't exist on the project tree.

Fixes some crash on project reloading.

7 years agoRemove unused variable.
Aleix Pol [Mon, 6 Sep 2010 16:31:36 +0000 (18:31 +0200)]
Remove unused variable.

7 years agocheck for context before accessing it, prevents crash in "rename" and "show uses"
Milian Wolff [Mon, 6 Sep 2010 14:35:13 +0000 (16:35 +0200)]
check for context before accessing it, prevents crash in "rename" and "show uses"

BUG: 241392

7 years agoDon't crash if reload is clicked while reloading
Aleix Pol [Mon, 6 Sep 2010 12:44:49 +0000 (14:44 +0200)]
Don't crash if reload is clicked while reloading

7 years agouse new KDevelop icon in splash
Milian Wolff [Sun, 5 Sep 2010 18:17:48 +0000 (20:17 +0200)]
use new KDevelop icon in splash

7 years agoupgrade splash screen to version 4.1
Milian Wolff [Fri, 3 Sep 2010 13:52:07 +0000 (15:52 +0200)]
upgrade splash screen to version 4.1

7 years agofix compile, sorry I didn't do that yesterday :-S
Milian Wolff [Fri, 3 Sep 2010 11:30:32 +0000 (13:30 +0200)]
fix compile, sorry I didn't do that yesterday :-S

7 years agoBackport from movingranges: Also build uses for the scope part in definitions of...
David Nolden [Thu, 2 Sep 2010 14:31:52 +0000 (16:31 +0200)]
Backport from movingranges: Also build uses for the scope part in definitions of static member-variables, like the "Class" in "int Class::value = 5;"

7 years agoincrease version v4.0.80
Milian Wolff [Wed, 1 Sep 2010 11:17:03 +0000 (13:17 +0200)]
increase version

7 years agoMerge branch '4.0'
Milian Wolff [Tue, 31 Aug 2010 16:25:34 +0000 (18:25 +0200)]
Merge branch '4.0'

7 years agodon't crash when renaming a file in custom make manager
Milian Wolff [Tue, 31 Aug 2010 16:25:24 +0000 (18:25 +0200)]
don't crash when renaming a file in custom make manager

BUG: 233824

7 years agobasic support for auto keyword
Milian Wolff [Tue, 31 Aug 2010 15:34:55 +0000 (17:34 +0200)]
basic support for auto keyword

Initializer lists are not yet supported, but otherwise it seems to work quite well

I'm not sure about the rewind for "auto" in the parser, david please take a look,
I hope you have an idea to do that in a cleaner way?

BUG: 192381

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

7 years agoConsider the files reload a project reloading, so it takes the lock and everything.
Aleix Pol [Tue, 31 Aug 2010 00:04:43 +0000 (02:04 +0200)]
Consider the files reload a project reloading, so it takes the lock and everything.

7 years agoUpdate recursively the url on items which it's parent's url has been updated.
Aleix Pol [Tue, 31 Aug 2010 00:01:39 +0000 (02:01 +0200)]
Update recursively the url on items which it's parent's url has been updated.

BUG: 232837

7 years agoFix crash on renaming and make sure that folder renaming works.
Aleix Pol [Mon, 30 Aug 2010 23:01:54 +0000 (01:01 +0200)]
Fix crash on renaming and make sure that folder renaming works.

BUG: 232137

7 years agoAdjust okteta version to match the master branch.
Andreas Pakulat [Mon, 30 Aug 2010 18:36:43 +0000 (20:36 +0200)]
Adjust okteta version to match the master branch.

7 years agoMerge remote branch 'origin/master'
Andreas Pakulat [Mon, 30 Aug 2010 18:17:52 +0000 (20:17 +0200)]
Merge remote branch 'origin/master'

7 years agoProperly integrate okteta plugin.
Andreas Pakulat [Mon, 30 Aug 2010 17:38:27 +0000 (19:38 +0200)]
Properly integrate okteta plugin.

7 years agoMerge branch 'merge_okteta'
Andreas Pakulat [Mon, 30 Aug 2010 17:30:07 +0000 (19:30 +0200)]
Merge branch 'merge_okteta'

7 years agoMove code into a subdir suitable for inclusion in kdevelop
Andreas Pakulat [Mon, 30 Aug 2010 17:27:43 +0000 (19:27 +0200)]
Move code into a subdir suitable for inclusion in kdevelop