kdevelop:kdevelop.git
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 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.

8 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

8 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

8 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

8 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

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

8 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

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

8 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

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

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

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

8 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

8 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

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

8 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

8 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

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

8 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

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

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

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

8 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

8 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

8 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

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

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

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

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

8 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

8 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

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

8 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

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

8 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

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

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

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

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

8 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

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

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

8 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

8 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

8 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

8 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

8 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

8 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;"

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

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

8 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

8 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

8 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

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

8 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

8 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

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

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

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

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

8 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

8 years agoRevert "Increase gdb version check to >= 7.1.0"
Niko Sams [Mon, 30 Aug 2010 17:18:11 +0000 (19:18 +0200)]
Revert "Increase gdb version check to >= 7.1.0"

This reverts commit 6fa7873977bc7b74927518902c9d43f383497bf7.

8 years agoPartially Revert "Updated the support of changed variables highlighting."
Niko Sams [Mon, 30 Aug 2010 17:14:37 +0000 (19:14 +0200)]
Partially Revert "Updated the support of changed variables highlighting."

This partially reverts commit 5fc70bf4e0e1700911c9ee7c48fbeba61702893e.
(only the changes related to -stack-list-variables)

8 years agoPrevent crash while renaming.
Aleix Pol [Mon, 30 Aug 2010 14:14:38 +0000 (16:14 +0200)]
Prevent crash while renaming.

BUG: 242680

8 years agoCheck when a project has been removed from the FS and close it, prevents a crash.
Aleix Pol [Mon, 30 Aug 2010 12:40:46 +0000 (14:40 +0200)]
Check when a project has been removed from the FS and close it, prevents a crash.

It closes some bug but I can't find it.

8 years agoOops!
Aleix Pol [Sun, 29 Aug 2010 22:16:11 +0000 (00:16 +0200)]
Oops!

8 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevelop
Aleix Pol [Sun, 29 Aug 2010 22:15:52 +0000 (00:15 +0200)]
Merge branch 'master' of gitorious.org:kdevelop/kdevelop

8 years agoFix compilation.
Aleix Pol [Sun, 29 Aug 2010 21:59:15 +0000 (23:59 +0200)]
Fix compilation.

8 years agoFix compilation.
Aleix Pol [Sun, 29 Aug 2010 21:59:15 +0000 (23:59 +0200)]
Fix compilation.

8 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevelop
Aleix Pol [Sun, 29 Aug 2010 21:51:43 +0000 (23:51 +0200)]
Merge branch 'master' of gitorious.org:kdevelop/kdevelop

8 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 29 Aug 2010 07:24:20 +0000 (07:24 -0000)]
SVN_SILENT made messages (.desktop file)

8 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 29 Aug 2010 07:19:58 +0000 (09:19 +0200)]
SVN_SILENT made messages (.desktop file)

8 years agofix test
Niko Sams [Sat, 28 Aug 2010 14:58:57 +0000 (16:58 +0200)]
fix test

Due to the usage of -list-variables argv/c come before locals.
So adjust the test to this change.

8 years agoIncrease gdb version check to >= 7.1.0
Niko Sams [Sat, 28 Aug 2010 07:58:51 +0000 (09:58 +0200)]
Increase gdb version check to >= 7.1.0

since last changes (-list-variables) depend on gdb 7.1

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

8 years agoMerge commit 'refs/merge-requests/25' of git://gitorious.org/kdevelop/kdevelop
Niko Sams [Sat, 28 Aug 2010 07:31:41 +0000 (09:31 +0200)]
Merge commit 'refs/merge-requests/25' of git://gitorious.org/kdevelop/kdevelop

8 years agoDon't try to modify the CMakeLists.txt file when there's none.
Aleix Pol [Thu, 26 Aug 2010 16:09:25 +0000 (18:09 +0200)]
Don't try to modify the CMakeLists.txt file when there's none.

8 years agoProperly add pending elements in the project tree.
Aleix Pol [Thu, 26 Aug 2010 15:31:08 +0000 (17:31 +0200)]
Properly add pending elements in the project tree.

Makes it work for statements like: "add_subdirectory( a/b )"

8 years agoLoad the folder items recursively, to show everything, not just empty folders.
Aleix Pol [Thu, 26 Aug 2010 14:57:52 +0000 (16:57 +0200)]
Load the folder items recursively, to show everything, not just empty folders.

8 years agoSome code refactoring to simplify the code for project reloading.
Aleix Pol [Thu, 26 Aug 2010 14:56:59 +0000 (16:56 +0200)]
Some code refactoring to simplify the code for project reloading.

8 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 26 Aug 2010 08:33:24 +0000 (08:33 -0000)]
SVN_SILENT made messages (.desktop file)

8 years agoUpdated the support of changed variables highlighting.
Konstantin Karganov [Wed, 25 Aug 2010 14:39:38 +0000 (18:39 +0400)]
Updated the support of changed variables highlighting.

Switched to use -stack-list-variables (available in GDB 7.1)
Added better handling of changed variables values.