kdevelop:kdevelop.git
8 years agomerge r1014461: v3.9.95
Andreas Pakulat [Sat, 22 Aug 2009 22:20:03 +0000 (22:20 -0000)]
merge r1014461:
Increase version number for Beta5

8 years agoIncrease the Qt requirement for implicit raster-usage as apparently
Andreas Pakulat [Wed, 19 Aug 2009 13:55:45 +0000 (13:55 -0000)]
Increase the Qt requirement for implicit raster-usage as apparently
4.5.1 has issues with our tabbar when using raster.

8 years agoDisable PrivateImplementation generator for beta6 because an easy to hit bug that...
Ramon Zarazua [Tue, 18 Aug 2009 19:12:06 +0000 (19:12 -0000)]
Disable PrivateImplementation generator for beta6 because an easy to hit bug that does not update uses

8 years agoProperly apply changes to existing constructors and destructors, if they are declarat...
Ramon Zarazua [Tue, 18 Aug 2009 06:10:47 +0000 (06:10 -0000)]
Properly apply changes to existing constructors and destructors, if they are declaration+definition

8 years agoFix my last change. That wouldn't let the macros to work.
Aleix Pol Gonzalez [Mon, 17 Aug 2009 23:04:22 +0000 (23:04 -0000)]
Fix my last change. That wouldn't let the macros to work.

8 years agoDon't crash when there are unfinished constructions in the code.
Aleix Pol Gonzalez [Mon, 17 Aug 2009 21:08:36 +0000 (21:08 -0000)]
Don't crash when there are unfinished constructions in the code.

BUG: 204187

8 years agoMake the test work again. Now it was only working if we ran the tests one by one.
Aleix Pol Gonzalez [Mon, 17 Aug 2009 20:41:46 +0000 (20:41 -0000)]
Make the test work again. Now it was only working if we ran the tests one by one.

8 years agoDisable parsing emit as special token as it breaks using functions with
Andreas Pakulat [Mon, 17 Aug 2009 19:52:24 +0000 (19:52 -0000)]
Disable parsing emit as special token as it breaks using functions with
that name and Token_emit is not used anywhere.
BUG:204157

8 years agoAdapt to changes in the platform.
Aleix Pol Gonzalez [Mon, 17 Aug 2009 19:49:16 +0000 (19:49 -0000)]
Adapt to changes in the platform.
Small code cleanup.

8 years agoRemove deprecated DocumentChangeSet::addChange call
Ramon Zarazua [Mon, 17 Aug 2009 18:14:51 +0000 (18:14 -0000)]
Remove deprecated DocumentChangeSet::addChange call

8 years ago--warnings
Stefan Martin Valouch [Mon, 17 Aug 2009 11:11:27 +0000 (11:11 -0000)]
--warnings

My first commit :-)

8 years agoAdapt to changes in kdevplatform
Aleix Pol Gonzalez [Mon, 17 Aug 2009 03:37:20 +0000 (03:37 -0000)]
Adapt to changes in kdevplatform

8 years agoFix the method of applying the private pointer to uses.
Ramon Zarazua [Mon, 17 Aug 2009 03:33:34 +0000 (03:33 -0000)]
Fix the method of applying the private pointer to uses.
Add the correct initialization of the private pointer in the constructor.

8 years agoFix the docstring.
Andreas Pakulat [Sun, 16 Aug 2009 23:28:30 +0000 (23:28 -0000)]
Fix the docstring.

8 years agoMake sure everybody at least compiles tests.
Andreas Pakulat [Sun, 16 Aug 2009 23:28:26 +0000 (23:28 -0000)]
Make sure everybody at least compiles tests.

8 years agoremove useless call
Milian Wolff [Sat, 15 Aug 2009 20:37:00 +0000 (20:37 -0000)]
remove useless call

8 years agoFix a problem with typedeffed pointers.
David Nolden [Sat, 15 Aug 2009 09:28:22 +0000 (09:28 -0000)]
Fix a problem with typedeffed pointers.
This made basically all such typedefs not work properly, by only showing '*' instead of the actual thing.
Add tests.

8 years agoDon't manage the map when mapping is disabled, so the general duchain building is...
David Nolden [Sat, 15 Aug 2009 07:13:52 +0000 (07:13 -0000)]
Don't manage the map when mapping is disabled, so the general duchain building is not slowed down

8 years agoChanged AST -> DuChain declaration mapping, will now map multiple declarations in...
Ramon Zarazua [Sat, 15 Aug 2009 02:29:59 +0000 (02:29 -0000)]
Changed AST -> DuChain declaration mapping, will now map multiple declarations in a single SimpleDeclaration, and Function Parameters

Removed old tests from test_duchain.
Updated test in test_cppcodegen

8 years agoIn MakeImnplementationPrivate:
Ramon Zarazua [Sat, 15 Aug 2009 00:25:06 +0000 (00:25 -0000)]
In MakeImnplementationPrivate:
-Change method of removing declarations from the class, to moving declarations using the AST range
-Update tests

8 years agoAdded todos on the indent plugin:
Ramon Zarazua [Fri, 14 Aug 2009 18:33:51 +0000 (18:33 -0000)]
Added todos on the indent plugin:
- The contexts are removed incorrectly
- There is no error detection.

8 years agoAdd safety: Never create a negative column number
David Nolden [Fri, 14 Aug 2009 09:40:04 +0000 (09:40 -0000)]
Add safety: Never create a negative column number

8 years agoFixed bug for SourceCodeInsertion where if the context ended on the insertion line...
Ramon Zarazua [Fri, 14 Aug 2009 05:19:36 +0000 (05:19 -0000)]
Fixed bug for SourceCodeInsertion where if the context ended on the insertion line, the variable would be inserted outside the context

8 years agoaddition of i18n
Ramon Zarazua [Thu, 13 Aug 2009 20:30:22 +0000 (20:30 -0000)]
addition of i18n

8 years agoMove private implementation executer into refactoring manager
Ramon Zarazua [Wed, 12 Aug 2009 21:37:23 +0000 (21:37 -0000)]
Move private implementation executer into refactoring manager

8 years agoinstall icons in the kdevelop instead of the global icon namespace
Armin Berres [Wed, 12 Aug 2009 10:05:23 +0000 (10:05 -0000)]
install icons in the kdevelop instead of the global icon namespace

8 years agoNever use the result of a dynamic_cast without checking the result!
David Nolden [Wed, 12 Aug 2009 07:33:52 +0000 (07:33 -0000)]
Never use the result of a dynamic_cast without checking the result!
CCMAIL: killerfox512@gmail.com

8 years agoAdjust to API changes in kdevplatform
Andreas Pakulat [Wed, 12 Aug 2009 06:35:02 +0000 (06:35 -0000)]
Adjust to API changes in kdevplatform

8 years agoPrivate Implementation generator:
Ramon Zarazua [Wed, 12 Aug 2009 00:27:01 +0000 (00:27 -0000)]
Private Implementation generator:
-Added generation of the private structure in the implementation file
-Added generation of a destructor if one is not found
-Propperly lock/unlock the chain when needed

8 years agoProperly generate forward declarations of structs
Ramon Zarazua [Tue, 11 Aug 2009 22:44:19 +0000 (22:44 -0000)]
Properly generate forward declarations of structs

8 years agoMake the preprocessor aware of numbers in octal
Arno Rehn [Tue, 11 Aug 2009 22:16:14 +0000 (22:16 -0000)]
Make the preprocessor aware of numbers in octal
and hexadecimal format.

BUG: 197859

8 years agoAdjust class generation for added declarations that are not function overrides
Ramon Zarazua [Tue, 11 Aug 2009 22:03:51 +0000 (22:03 -0000)]
Adjust class generation for added declarations that are not function overrides

8 years agoDon't update locals when locals tree item is not expanded.
Niko Sams [Tue, 11 Aug 2009 17:10:39 +0000 (17:10 -0000)]
Don't update locals when locals tree item is not expanded.
This speeds up stepping when there is a large number of locals.

BUG: 201507

8 years agoIf when looking for the proper item folder to reload we find the project root, then...
Aleix Pol Gonzalez [Tue, 11 Aug 2009 03:05:51 +0000 (03:05 -0000)]
If when looking for the proper item folder to reload we find the project root, then reload the project.

BUG: 203330

8 years agomove stuff regarding included files from kdevelop/language/cpp to kdevplatform
Milian Wolff [Mon, 10 Aug 2009 18:51:10 +0000 (18:51 -0000)]
move stuff regarding included files from kdevelop/language/cpp to kdevplatform

8 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sat, 8 Aug 2009 11:41:23 +0000 (11:41 -0000)]
SVN_SILENT made messages (.desktop file)

8 years agogive the change to the item to be a folder himself.
Aleix Pol Gonzalez [Fri, 7 Aug 2009 22:32:13 +0000 (22:32 -0000)]
give the change to the item to be a folder himself.

8 years agoprevent endless recursion, I hope this is how the code was intended
Milian Wolff [Fri, 7 Aug 2009 20:49:19 +0000 (20:49 -0000)]
prevent endless recursion, I hope this is how the code was intended

CCMAIL: aleixpol@gmail.com

8 years agoTransform assertion into warning. This happens sometimes.
David Nolden [Fri, 7 Aug 2009 20:32:18 +0000 (20:32 -0000)]
Transform assertion into warning. This happens sometimes.

8 years agoFix cases where there are subdirectories like: add_subdirectory(a/b)
Aleix Pol Gonzalez [Fri, 7 Aug 2009 17:39:27 +0000 (17:39 -0000)]
Fix cases where there are subdirectories like: add_subdirectory(a/b)

8 years agoFix Krazy i18n calls issues
Daniel Calviño Sánchez [Wed, 5 Aug 2009 23:09:20 +0000 (23:09 -0000)]
Fix Krazy i18n calls issues

8 years agoPost the aborted-message before killing the process, for some reason
Andreas Pakulat [Wed, 5 Aug 2009 20:29:47 +0000 (20:29 -0000)]
Post the aborted-message before killing the process, for some reason
adding it in procError() doesn't work.

8 years ago--warnings
Andreas Pakulat [Wed, 5 Aug 2009 20:29:43 +0000 (20:29 -0000)]
--warnings

8 years ago--pedantic
Andreas Pakulat [Wed, 5 Aug 2009 20:29:40 +0000 (20:29 -0000)]
--pedantic

8 years agoIf there is no name on the first level, don't try to store it.
Aleix Pol Gonzalez [Wed, 5 Aug 2009 19:27:49 +0000 (19:27 -0000)]
If there is no name on the first level, don't try to store it.

BUG: 202638

8 years agoProgress on private implementation, and test
Ramon Zarazua [Tue, 4 Aug 2009 06:57:18 +0000 (06:57 -0000)]
Progress on private implementation, and test

8 years agoCorrect the method of finding includes that correspond to artificial code
Ramon Zarazua [Tue, 4 Aug 2009 06:55:28 +0000 (06:55 -0000)]
Correct the method of finding includes that correspond to artificial code

8 years agoFix compile with Qt 4.6
Christoph Feck [Mon, 3 Aug 2009 19:10:00 +0000 (19:10 -0000)]
Fix compile with Qt 4.6

Andreas, the implementation in Qt 4.6 is different, could you
please check if switching to 4.6 would break anything?

http://qt.gitorious.org/qt/qt/blobs/master/src/testlib/qtest.h#line150

CCMAIL: apaku@gmx.de

8 years agoHandle GDB/MI notification messages.
Vladimir Prus [Sat, 1 Aug 2009 16:41:19 +0000 (16:41 -0000)]
Handle GDB/MI notification messages.

8 years agoNever put assignments into a Q_ASSERT - or any other code that has
Andreas Pakulat [Sat, 1 Aug 2009 15:47:00 +0000 (15:47 -0000)]
Never put assignments into a Q_ASSERT - or any other code that has
side-effects that following code relies on. release builds _never_
execute whatever is put into the Q_ASSERT macro.
BUG:202151
CCMAIL:aleixpol@gmail.com

8 years agoAdded functionality to insert generated classes into already existing files
Ramon Zarazua [Fri, 31 Jul 2009 23:33:49 +0000 (23:33 -0000)]
Added functionality to insert generated classes into already existing files

8 years agoUnbreak the new-class wizard: Unlock the duchain lock before calling openDocument().
David Nolden [Thu, 30 Jul 2009 09:51:26 +0000 (09:51 -0000)]
Unbreak the new-class wizard: Unlock the duchain lock before calling openDocument().
This led to an immediate assertion.

Obviously, the new-class wizard was never tested after this change was done, grrrrrr
Every code has to be tested before going into svn!!!
CCMAIL: killerfox512@gmail.com

8 years agoUpdate to private implementation generator
Ramon Zarazua [Thu, 30 Jul 2009 06:57:26 +0000 (06:57 -0000)]
Update to private implementation generator
- Now enforces initialization in private structure if any member has a reference or a class without default constructor

8 years agoUses can now be gathered through all representations, not only dynamic.
Ramon Zarazua [Thu, 30 Jul 2009 06:00:31 +0000 (06:00 -0000)]
Uses can now be gathered through all representations, not only dynamic.

8 years agoAdd functionality to get ranged text from all code representations
Ramon Zarazua [Thu, 30 Jul 2009 05:14:48 +0000 (05:14 -0000)]
Add functionality to get ranged text from all code representations
Add tests

8 years agoUnbreak the assistant
David Nolden [Wed, 29 Jul 2009 22:20:32 +0000 (22:20 -0000)]
Unbreak the assistant

8 years ago- Do not print represent the 'const' of primitive types twice
David Nolden [Wed, 29 Jul 2009 22:09:25 +0000 (22:09 -0000)]
- Do not print represent the 'const' of primitive types twice
- Add test
BUG: 201943

8 years agoDon't crash when trying to build a project after the cmake project was once closed...
David Nolden [Wed, 29 Jul 2009 21:20:50 +0000 (21:20 -0000)]
Don't crash when trying to build a project after the cmake project was once closed + opened.
The builder plugin may have been unloaded and reloaded, while the cmake manager was not.

8 years agoUnbreak several aspects of C++ support, including code-highlighting after opening...
David Nolden [Wed, 29 Jul 2009 14:22:11 +0000 (14:22 -0000)]
Unbreak several aspects of C++ support, including code-highlighting after opening a document.

Don't commit code that does not work!!!

8 years agoUpdated codegen tests
Ramon Zarazua [Wed, 29 Jul 2009 05:07:40 +0000 (05:07 -0000)]
Updated codegen tests

8 years agoFix code representations being persistent throughout the tests
Ramon Zarazua [Wed, 29 Jul 2009 00:47:41 +0000 (00:47 -0000)]
Fix code representations being persistent throughout the tests

8 years agoArtificial code is now being tested and retrieved the correct way
Ramon Zarazua [Wed, 29 Jul 2009 00:47:11 +0000 (00:47 -0000)]
Artificial code is now being tested and retrieved the correct way

8 years agoUnbreak build.. once again
David Nolden [Tue, 28 Jul 2009 21:14:19 +0000 (21:14 -0000)]
Unbreak build.. once again

8 years agoChanged structure of Cpp Plugin:
Ramon Zarazua [Tue, 28 Jul 2009 20:24:50 +0000 (20:24 -0000)]
Changed structure of Cpp Plugin:
Removed a few helper functions from CppLanguageSupport in orderfor tests (codegen & codecompletion) to run without linking to cpplanguagesupport.

8 years agoIf variable's type changed, fetch new children list.
Vladimir Prus [Mon, 27 Jul 2009 18:47:23 +0000 (18:47 -0000)]
If variable's type changed, fetch new children list.

8 years agoRemove now-unused shared_library_loaded event type and clarify others.
Vladimir Prus [Mon, 27 Jul 2009 18:46:20 +0000 (18:46 -0000)]
Remove now-unused shared_library_loaded event type and clarify others.

8 years agoAdd missing emitResult.
Vladimir Prus [Mon, 27 Jul 2009 18:40:09 +0000 (18:40 -0000)]
Add missing emitResult.

8 years agoUpdate test
Vladimir Prus [Mon, 27 Jul 2009 18:39:01 +0000 (18:39 -0000)]
Update test

8 years agoRemove accidentally checked in hunk (though it might reappear later)
Vladimir Prus [Mon, 27 Jul 2009 18:04:18 +0000 (18:04 -0000)]
Remove accidentally checked in hunk (though it might reappear later)

8 years agoRemove unused member.
Vladimir Prus [Mon, 27 Jul 2009 17:49:35 +0000 (17:49 -0000)]
Remove unused member.

8 years agoUpdate the threads test.
Vladimir Prus [Mon, 27 Jul 2009 17:49:01 +0000 (17:49 -0000)]
Update the threads test.

8 years agoset mode of file open dialogs to directory. when selecting an include path you do...
Armin Berres [Mon, 27 Jul 2009 11:45:52 +0000 (11:45 -0000)]
set mode of file open dialogs to directory. when selecting an include path you do not want to select files.

8 years agoProperly pick the correct root directory when working with subprojects.
Aleix Pol Gonzalez [Mon, 27 Jul 2009 01:51:36 +0000 (01:51 -0000)]
Properly pick the correct root directory when working with subprojects.

8 years agomsvc has its own header+namespace for its hash_map (but same API). I hope this doesn...
Andreas Pakulat [Mon, 27 Jul 2009 00:36:48 +0000 (00:36 -0000)]
msvc has its own header+namespace for its hash_map (but same API). I hope this doesn't break the unix-build

8 years agoReally fix the usage of folderFromSelection
Andreas Pakulat [Sun, 26 Jul 2009 22:16:34 +0000 (22:16 -0000)]
Really fix the usage of folderFromSelection

8 years agoI don't see why the folderFromSelection should be a member function of
Andreas Pakulat [Sun, 26 Jul 2009 21:52:42 +0000 (21:52 -0000)]
I don't see why the folderFromSelection should be a member function of
the controller. Its currently only needed in this single place, so keep
it local.

8 years agoRevert r1002428: Neither codegentest, nor cppcodecompletiontest build with that chang...
David Nolden [Sun, 26 Jul 2009 10:56:06 +0000 (10:56 -0000)]
Revert r1002428: Neither codegentest, nor cppcodecompletiontest build with that change. Test your changes better, please.

8 years agoOnly re-run cmake with arguments if there's no CMakeCache.txt so we
Andreas Pakulat [Sun, 26 Jul 2009 01:15:35 +0000 (01:15 -0000)]
Only re-run cmake with arguments if there's no CMakeCache.txt so we
don't override things that the user changed externally or by editing the
cache.
BUG:200057

8 years agoAdd a group for run actions and put execute+debug into it.
Andreas Pakulat [Sun, 26 Jul 2009 00:28:34 +0000 (00:28 -0000)]
Add a group for run actions and put execute+debug into it.

8 years agoAdd two new groups to the main toolbar for build operations and run
Andreas Pakulat [Sun, 26 Jul 2009 00:19:50 +0000 (00:19 -0000)]
Add two new groups to the main toolbar for build operations and run
operations.

8 years agoChanged code assistant spawning method to not crash tests
Ramon Zarazua [Sat, 25 Jul 2009 23:35:37 +0000 (23:35 -0000)]
Changed code assistant spawning method to not crash tests

8 years agoFix storing of the "convert tabs to spaces" option.
Andreas Pakulat [Sat, 25 Jul 2009 22:31:00 +0000 (22:31 -0000)]
Fix storing of the "convert tabs to spaces" option.
BUG:193909

8 years agoProper action name with ellipsis as it opens a dialog
Andreas Pakulat [Sat, 25 Jul 2009 22:14:43 +0000 (22:14 -0000)]
Proper action name with ellipsis as it opens a dialog
BUG:191797

8 years agoUse the same icons as the tabbar in mainwindow.
Andreas Pakulat [Sat, 25 Jul 2009 20:16:29 +0000 (20:16 -0000)]
Use the same icons as the tabbar in mainwindow.
BUG:190201

8 years agoFix shortened output for compilation lines.
Andreas Pakulat [Sat, 25 Jul 2009 16:50:51 +0000 (16:50 -0000)]
Fix shortened output for compilation lines.
BUG:186166

8 years agoReplace '-' with '_' for the header guard as '-' is invalid
Andreas Pakulat [Sat, 25 Jul 2009 12:21:39 +0000 (12:21 -0000)]
Replace '-' with '_' for the header guard as '-' is invalid
BUG:178661

8 years agoShow message when application ended in OutputView just as execute does.
Niko Sams [Sat, 25 Jul 2009 10:53:13 +0000 (10:53 -0000)]
Show message when application ended in OutputView just as execute does.
Don't show MessageBox when application crashed. (it's shown now in OutputView
and GDB console)

8 years agoSet title for GdbJob, so it is shown correctly in OutputView
Niko Sams [Sat, 25 Jul 2009 10:52:56 +0000 (10:52 -0000)]
Set title for GdbJob, so it is shown correctly in OutputView

8 years agoRemove some temporary debug output
David Nolden [Sat, 25 Jul 2009 08:49:43 +0000 (08:49 -0000)]
Remove some temporary debug output

8 years agoRemove unused variables and outdated comment
Niko Sams [Sat, 25 Jul 2009 07:53:24 +0000 (07:53 -0000)]
Remove unused variables and outdated comment

8 years agoDon't pass systemEnvironment to gdb using individual -gdb-set environment
Niko Sams [Sat, 25 Jul 2009 07:53:18 +0000 (07:53 -0000)]
Don't pass systemEnvironment to gdb using individual -gdb-set environment
as it's inherited anyway and needs a lot of gdb commands to send.

CCMAIL: apaku@gmx.de

8 years agoReload breakpoints after any user command.
Niko Sams [Sat, 25 Jul 2009 07:21:07 +0000 (07:21 -0000)]
Reload breakpoints after any user command.

BUG: 118327

8 years ago- Fix one more parser problem with wrongly recognized template parameters, by general...
David Nolden [Fri, 24 Jul 2009 19:44:21 +0000 (19:44 -0000)]
- Fix one more parser problem with wrongly recognized template parameters, by generalizing the solution of the last fix.
Example: "if(s->a < q && a > c)"
- Add test

8 years agoCorrectly reset inheritance in the wizard
Ramon Zarazua [Fri, 24 Jul 2009 19:08:45 +0000 (19:08 -0000)]
Correctly reset inheritance in the wizard
Apply the correct scope to base classes in namespaces
CCBUG: 201369

8 years ago- Solve some problems in the parser where expressions were falsely recognized as...
David Nolden [Fri, 24 Jul 2009 17:38:35 +0000 (17:38 -0000)]
- Solve some problems in the parser where expressions were falsely recognized as template parameters when '<' and '>' operators had the template-like order.
Example: "if(a < b && c > d)"
- Add test
BUG: 170683

8 years agoMark "<" expressions that have been recognized as "not a template argument list"...
David Nolden [Fri, 24 Jul 2009 07:05:16 +0000 (07:05 -0000)]
Mark "<" expressions that have been recognized as "not a template argument list", so the test is done only once for each such token.
Fixes a potential exponential expansion in the parser, leading to a crash/hang.
BUG: 168175

8 years agoReimplemented IPartController from r1001565
Ramon Zarazua [Thu, 23 Jul 2009 23:45:08 +0000 (23:45 -0000)]
Reimplemented IPartController from r1001565

8 years agoPart of revert 1001617
Ramon Zarazua [Thu, 23 Jul 2009 21:25:50 +0000 (21:25 -0000)]
Part of revert 1001617

8 years agoAdjust to kdevplatform changes, partController is now our own class.
Andreas Pakulat [Thu, 23 Jul 2009 16:43:02 +0000 (16:43 -0000)]
Adjust to kdevplatform changes, partController is now our own class.

8 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 23 Jul 2009 10:26:34 +0000 (10:26 -0000)]
SVN_SILENT made messages (.desktop file)