kdevelop:kdevelop.git
7 years agos/CPP_LEXERCACHE_DEBUG/CPP_DEBUG_LEXERCACHE to ensure that CPP options are grouped...
Kovarththanan Rajaratnam [Thu, 20 May 2010 06:17:59 +0000 (08:17 +0200)]
s/CPP_LEXERCACHE_DEBUG/CPP_DEBUG_LEXERCACHE to ensure that CPP options are grouped properly

7 years agos/CPP_EXTRA_DEBUG/CPP_DEBUG_EXTRA to ensure that CPP options are grouped properly
Kovarththanan Rajaratnam [Thu, 20 May 2010 06:17:17 +0000 (08:17 +0200)]
s/CPP_EXTRA_DEBUG/CPP_DEBUG_EXTRA to ensure that CPP options are grouped properly

7 years agoMerge remote branch 'nicolas/cmake_ast' into merge_cmake_ast
Andreas Pakulat [Wed, 19 May 2010 20:06:38 +0000 (22:06 +0200)]
Merge remote branch 'nicolas/cmake_ast' into merge_cmake_ast

7 years agoChange code style in initialization list
Nicolás Alvarez [Wed, 19 May 2010 19:31:11 +0000 (16:31 -0300)]
Change code style in initialization list
according to apaku's comments in the merge request.

7 years agoMerge remote branch 'origin/master' into cmake_ast
Nicolás Alvarez [Wed, 19 May 2010 19:26:12 +0000 (16:26 -0300)]
Merge remote branch 'origin/master' into cmake_ast

7 years agoMerge remote branch 'tokoe/master'
Andreas Pakulat [Wed, 19 May 2010 19:18:56 +0000 (21:18 +0200)]
Merge remote branch 'tokoe/master'

7 years agoMerge remote branch 'krj/config_h_bot'
Andreas Pakulat [Wed, 19 May 2010 19:17:40 +0000 (21:17 +0200)]
Merge remote branch 'krj/config_h_bot'

7 years agoexpect fail when run together with the other tests
Milian Wolff [Tue, 18 May 2010 14:37:13 +0000 (16:37 +0200)]
expect fail when run together with the other tests

7 years agoremove dummy overloads
Milian Wolff [Tue, 18 May 2010 14:27:36 +0000 (16:27 +0200)]
remove dummy overloads

if we really need them eventually, we can readd them. but it simply consfuses me when using outline
to find overloads that don't do anything

7 years agoproperly reset function parameters in ExpressionVisitor::visitFunctionCall
Milian Wolff [Tue, 18 May 2010 13:20:44 +0000 (15:20 +0200)]
properly reset function parameters in ExpressionVisitor::visitFunctionCall

Before a call to a default ctor in a function call would mess up the parameters
of the outer function call.

Add test which in itself shows interesting behavior, David please take a look:
When the patch (that looks perfectly fine) is run alone it works like a charm.
When run together with the other tests in the DUChain Test Suite it fails. If
one compares the output of the AST Dump one sees that it's completely different
in the two cases... A severe bug somewhere?

Thanks to Tobias König for the patch

CCMAIL: david.nolden.kdevelop@art-master.de

7 years agoalways offer a few default methods for implementation in the class wizard:
Milian Wolff [Tue, 18 May 2010 12:14:15 +0000 (14:14 +0200)]
always offer a few default methods for implementation in the class wizard:

Foo();
Foo(const &Foo other);
~Foo();
Foo& operator=(const &Foo other);
bool operator==(const Foo& other) const;

7 years agomake implementation helper better: don't create recursive calls
Milian Wolff [Tue, 18 May 2010 12:13:17 +0000 (14:13 +0200)]
make implementation helper better: don't create recursive calls
return this or *this where the returntype would return the type of the parent class

7 years agonever add return or calls to parent inside constructor definitions
Milian Wolff [Tue, 18 May 2010 11:32:29 +0000 (13:32 +0200)]
never add return or calls to parent inside constructor definitions

7 years agoMerge branch 'master' of gitorious.org:~tokoe/kdevelop/tokoes-kdevelop
Tobias Koenig [Tue, 18 May 2010 11:03:39 +0000 (13:03 +0200)]
Merge branch 'master' of gitorious.org:~tokoe/kdevelop/tokoes-kdevelop

7 years agoCheck for an empty hash before calling contains() 1
Tobias Koenig [Tue, 18 May 2010 10:57:12 +0000 (12:57 +0200)]
Check for an empty hash before calling contains()

7 years agoImplement support for specifying additional cmake arguments.
Andreas Pakulat [Mon, 17 May 2010 23:20:36 +0000 (01:20 +0200)]
Implement support for specifying additional cmake arguments.

This adds a new lineedit that can be used to give non-standard arguments
to the cmake invocation so one can specify things like CMAKE_PREFIX_PATH
or other variables sometimes necessary to make cmake find stuff.

BUG: 224739

7 years agoAdd support for parsing of Q_PROPERTY macro
Tobias Koenig [Thu, 6 May 2010 11:33:08 +0000 (13:33 +0200)]
Add support for parsing of Q_PROPERTY macro

7 years agoRemove obsolete config.h.bot 15
Kovarththanan Rajaratnam [Mon, 17 May 2010 04:58:46 +0000 (06:58 +0200)]
Remove obsolete config.h.bot

7 years agoMerge branch '4.0'
Andreas Pakulat [Sun, 16 May 2010 15:36:58 +0000 (17:36 +0200)]
Merge branch '4.0'

7 years agoLower case CMake commands for consistency 14
Kovarththanan Rajaratnam [Sun, 16 May 2010 06:56:46 +0000 (08:56 +0200)]
Lower case CMake commands for consistency

7 years agoMark KDEVELOP_INCLUDE_DIR as advanced
Kovarththanan Rajaratnam [Fri, 14 May 2010 05:50:53 +0000 (07:50 +0200)]
Mark KDEVELOP_INCLUDE_DIR as advanced

7 years agofind_path() already does proper caching of the input variable
Kovarththanan Rajaratnam [Fri, 14 May 2010 05:49:48 +0000 (07:49 +0200)]
find_path() already does proper caching of the input variable

7 years agoRemove idempotent set() statement
Kovarththanan Rajaratnam [Fri, 14 May 2010 05:48:03 +0000 (07:48 +0200)]
Remove idempotent set() statement

7 years agoUse PATH_SUFFIXES to avoid shadowing KDEVELOP_INCLUDE_DIR
Kovarththanan Rajaratnam [Fri, 14 May 2010 05:45:19 +0000 (07:45 +0200)]
Use PATH_SUFFIXES to avoid shadowing KDEVELOP_INCLUDE_DIR

7 years agoUse config mode as fallback if no module is found, and set package_DIR in all cases...
Esben Mose Hansen [Sat, 15 May 2010 12:18:37 +0000 (14:18 +0200)]
Use config mode as fallback if no module is found, and set package_DIR in all cases where a module was not found

7 years agoAllow the user to get more argument-hints by executing the "X more overloads of Y...
David nolden [Sat, 15 May 2010 11:50:43 +0000 (13:50 +0200)]
Allow the user to get more argument-hints by executing the "X more overloads of Y" completion item, and increase the default number of shown overloads to 8.
BUG: 215206

7 years agoTurn an assertion into a warning
David nolden [Sat, 15 May 2010 10:21:46 +0000 (12:21 +0200)]
Turn an assertion into a warning
BUG: 236411

7 years agoTurn an assertion into a warning
David nolden [Sat, 15 May 2010 10:21:46 +0000 (12:21 +0200)]
Turn an assertion into a warning
BUG: 236411

7 years agoRemove support for building the whole extragear/sdk.
Niko Sams [Sat, 15 May 2010 05:14:54 +0000 (07:14 +0200)]
Remove support for building the whole extragear/sdk.

It's not possible anymore since the move to git

7 years agoMerge branch '4.0'
Andreas Pakulat [Fri, 14 May 2010 19:43:56 +0000 (21:43 +0200)]
Merge branch '4.0'

7 years agoMerge branch 'integrate_cmakecachefix' into 4.0
Andreas Pakulat [Fri, 14 May 2010 19:37:07 +0000 (21:37 +0200)]
Merge branch 'integrate_cmakecachefix' into 4.0

7 years agoadapt to increased plugin version
Niko Sams [Fri, 14 May 2010 19:32:42 +0000 (21:32 +0200)]
adapt to increased plugin version

7 years agoMerge remote branch 'krj/cmakeast_cleanup'
Andreas Pakulat [Fri, 14 May 2010 19:28:58 +0000 (21:28 +0200)]
Merge remote branch 'krj/cmakeast_cleanup'

7 years agoFind build directory even in root CMakeLists.txt
Esben Mose Hansen [Fri, 14 May 2010 14:34:02 +0000 (16:34 +0200)]
Find build directory even in root CMakeLists.txt

7 years agoUndef private CMake AST macros after we're done with them 7
Kovarththanan Rajaratnam [Fri, 14 May 2010 08:23:02 +0000 (10:23 +0200)]
Undef private CMake AST macros after we're done with them

7 years agoUndef CMAKE_REGISTER_AST() after we're done with it
Kovarththanan Rajaratnam [Fri, 14 May 2010 07:34:22 +0000 (09:34 +0200)]
Undef CMAKE_REGISTER_AST() after we're done with it

7 years agoMove CMAKE_REGISTER_AST() to implementation file
Kovarththanan Rajaratnam [Fri, 14 May 2010 07:30:06 +0000 (09:30 +0200)]
Move CMAKE_REGISTER_AST() to implementation file

7 years agoRemove FindCppUnit.cmake now that the CppUnit plugin no longer exists
Kovarththanan Rajaratnam [Thu, 13 May 2010 05:26:04 +0000 (07:26 +0200)]
Remove FindCppUnit.cmake now that the CppUnit plugin no longer exists

7 years agoRemove FindCheck.cmake now that the Check plugin no longer exists
Kovarththanan Rajaratnam [Thu, 13 May 2010 05:35:39 +0000 (07:35 +0200)]
Remove FindCheck.cmake now that the Check plugin no longer exists

7 years agoUse find_package_handle_standard_args() in FindKDevelop.cmake 5
Kovarththanan Rajaratnam [Thu, 13 May 2010 06:44:38 +0000 (08:44 +0200)]
Use find_package_handle_standard_args() in FindKDevelop.cmake

7 years agoRemove stray tabs
Kovarththanan Rajaratnam [Thu, 13 May 2010 06:24:30 +0000 (08:24 +0200)]
Remove stray tabs

7 years agoIncrease version number
Andreas Pakulat [Wed, 12 May 2010 19:54:55 +0000 (21:54 +0200)]
Increase version number

This should always be set to the "next" version number after releasing
something. So do that now and increase for 4.0.1

7 years agoSquashed commit of the following:
Esben Mose Hansen [Tue, 11 May 2010 20:08:06 +0000 (22:08 +0200)]
Squashed commit of the following:

    Fix isTrue to behave like CMake 2.8.0+, so that e.g. IF(ON) works.

7 years agoAdd CMAKE_MARK_AS_DEPRECATED to all CMake commands deprecated in 2.6.
Nicolás Alvarez [Sat, 8 May 2010 02:13:02 +0000 (23:13 -0300)]
Add CMAKE_MARK_AS_DEPRECATED to all CMake commands deprecated in 2.6.

7 years agoMinor cleanup in cmakeast.h (whitespace, comments, etc).
Nicolás Alvarez [Sat, 8 May 2010 02:09:41 +0000 (23:09 -0300)]
Minor cleanup in cmakeast.h (whitespace, comments, etc).

7 years agoAdd unit tests for CMake EXPORT command parser.
Nicolás Alvarez [Sat, 8 May 2010 00:29:46 +0000 (21:29 -0300)]
Add unit tests for CMake EXPORT command parser.

Fixed two bugs exposed by these tests:
- Lacking a FILE should fail, but it was succeeding
- Having no targets should succeed (tested in CMake 2.8.1),
  but it was failing.

I suspect there are more bugs, but I'd have to check the contents of
the ExportAst object for that.

7 years agoAdd tests for parsing the MATH CMake command.
Nicolás Alvarez [Fri, 7 May 2010 22:21:11 +0000 (19:21 -0300)]
Add tests for parsing the MATH CMake command.

7 years agoInitialize wrongVersionIsFatal member of cmake_minimum_required AST.
Nicolás Alvarez [Fri, 7 May 2010 21:50:39 +0000 (18:50 -0300)]
Initialize wrongVersionIsFatal member of cmake_minimum_required AST.

If the command had no FATAL_ERROR, the member was left with
random junk from the heap instead of 'false'.

7 years agoAdd unit tests for cmake_minimum_required AST creation.
Nicolás Alvarez [Fri, 7 May 2010 20:54:28 +0000 (17:54 -0300)]
Add unit tests for cmake_minimum_required AST creation.

It makes sure the AST contents are actually filled properly, instead of
only checking if it accepts valid code and rejects invalid code. Also added
a test for a three-component version number.

This test exposes an actual bug in the AST creation, so I marked a QCOMPARE
as expected fail.

7 years agoFix target_link_libraries AST creation.
Nicolás Alvarez [Fri, 7 May 2010 03:11:03 +0000 (00:11 -0300)]
Fix target_link_libraries AST creation.

It wasn't setting the 'target' variable.

Also added a new test to make sure the AST structure is filled properly.
It's not an exhausive test, just enough to show this particular bug.

7 years agoMerge branch '4.0'
Andreas Pakulat [Mon, 10 May 2010 13:51:54 +0000 (15:51 +0200)]
Merge branch '4.0'

7 years agoQuote variable expressions correctly.
Niko Sams [Sat, 8 May 2010 13:18:22 +0000 (15:18 +0200)]
Quote variable expressions correctly.

This fixes expressions containing spaces.

Thanks to Valentyn Pavliuchenko for the patch.
http://reviewboard.kde.org/r/3935
BUG: 235759

7 years agoMerge branch 'master' of gitorious.org:kdevelop/kdevelop
Hamish Rodda [Fri, 7 May 2010 00:27:49 +0000 (10:27 +1000)]
Merge branch 'master' of gitorious.org:kdevelop/kdevelop

7 years agoimplement new binaryPath
Milian Wolff [Fri, 7 May 2010 00:16:34 +0000 (02:16 +0200)]
implement new binaryPath

7 years agoset invalid range on final location of problem when include path resolver found more...
Milian Wolff [Thu, 6 May 2010 22:33:39 +0000 (00:33 +0200)]
set invalid range on final location of problem when include path resolver found more paths than the build manager

the 'did not return a build dir' error does the same

note: imo we should remove this problem I'm changing here alltogether though - it shows a limitation in the cmake
plugin that is only interesting to developers, not the user

7 years agoFix kdevelop app icon for windows.
Andreas Pakulat [Thu, 6 May 2010 15:29:08 +0000 (17:29 +0200)]
Fix kdevelop app icon for windows.

The split of main.cpp produced this, I overlooked the use of the SRCS
variable in kde4_add_app_icon.

Thanks to Krzysztof Nowicki for the patch.
BUG:236545

7 years agoUse a mutex to prevent setupStandardMacros() and setupStandardIncludePaths() from...
David nolden [Thu, 6 May 2010 10:12:15 +0000 (12:12 +0200)]
Use a mutex to prevent setupStandardMacros() and setupStandardIncludePaths() from being called multiple times at the same time, preventing a crash.
    BUG: 236434

7 years agoAdded TODO in parser.cpp (for typename-eating)
Jonathan Schmidt-Dominé [Thu, 6 May 2010 12:17:36 +0000 (14:17 +0200)]
Added TODO in parser.cpp (for typename-eating)

7 years agoAdd support for parsing of Q_PROPERTY macro
Tobias Koenig [Thu, 6 May 2010 11:33:08 +0000 (13:33 +0200)]
Add support for parsing of Q_PROPERTY macro

7 years agoEat typename (see http://reviewboard.kde.org/r/3845/)
Jonathan Schmidt-Dominé [Thu, 6 May 2010 11:24:38 +0000 (13:24 +0200)]
Eat typename (see reviewboard.kde.org/r/3845/)
TODO: Handle typename correctly, only in templates or something like that, see C++-language-specification

7 years agoUse a mutex to prevent setupStandardMacros() and setupStandardIncludePaths() from...
David nolden [Thu, 6 May 2010 10:12:15 +0000 (12:12 +0200)]
Use a mutex to prevent setupStandardMacros() and setupStandardIncludePaths() from being called multiple times at the same time, preventing a crash.
    BUG: 236434

7 years agoRemove constructors from the completion list when a variable is accessed with the...
Hamish Rodda [Wed, 5 May 2010 23:18:08 +0000 (09:18 +1000)]
Remove constructors from the completion list when a variable is accessed with the "." and "->" member access operators.  It is not valid c++ to call/reference a constructor in this way.  Adjust test to check for this.

BUG:203950

7 years agoFix compile warnings related to deprecated hash_map
Bertjan Broeksema [Wed, 5 May 2010 09:49:55 +0000 (11:49 +0200)]
Fix compile warnings related to deprecated hash_map

g++ >= 4.3 has the unordered_map header/class as replacement for the now
deprecated hash_map header. This commit takes that in account to fix a
bunch of compile warnings related to this. I made sure this still works
for g++ < 4.3 and did *not* change anything related to MSVC builds. The
latter might (still) have a similar warning.

When LTS for g++ < 4.3 has ended, the include should be changed to
<unordered_map> and the equally named type should be used directly.

NOTE: The hash_map was profiled by David Noden to be better performing
than QHash. I didn't do additional profiling for unordered_map but
assume it performs equally as hash_map.

7 years agoFix wrong versions.
Andreas Pakulat [Tue, 4 May 2010 21:41:39 +0000 (23:41 +0200)]
Fix wrong versions.

7 years agoBump version numbers
Andreas Pakulat [Tue, 4 May 2010 21:35:40 +0000 (23:35 +0200)]
Bump version numbers

7 years agoshow maxOverloadedOperatorArgumentHints instead of none at all if there are too many...
Milian Wolff [Tue, 4 May 2010 20:46:40 +0000 (22:46 +0200)]
show maxOverloadedOperatorArgumentHints instead of none at all if there are too many items

7 years agoAlso search for qmake-qt4
Andreas Pakulat [Tue, 4 May 2010 13:58:01 +0000 (15:58 +0200)]
Also search for qmake-qt4

Distributions providing qt3+qt4 usually rename qmake to include the version
number. This breaks the code trying to find the Qt docs. This change
fixes that by also taking qmake-qt4 into account.

BUG: 236315

7 years agoRevert r1121158 (fix linker error).
Andreas Pakulat [Sat, 1 May 2010 13:22:46 +0000 (13:22 -0000)]
Revert r1121158 (fix linker error).

If your linker cannot link the kdevelop binary you'll have to find a
different fix. All functions used from sessioncontroller.h are inline
and hence no linking is needed. I'm reverting this because linking
actually causes problems as it pulls in libkdevplatformduchain and that
one has global statics which must not be initialized in the kdevelop
binary but only once the kdevelop.bin is being loaded (thats why the
kdevelop.bin links against shell).

CCMAIL: brandon.ml@gmail.com

7 years agofix linker error
Carlo Segato [Fri, 30 Apr 2010 15:33:50 +0000 (15:33 -0000)]
fix linker error

7 years agoSVN_SILENT made messages (.desktop file) v4.0.0
Script Kiddy [Wed, 28 Apr 2010 06:30:29 +0000 (06:30 -0000)]
SVN_SILENT made messages (.desktop file)

7 years agoIncrease version number for final.
Andreas Pakulat [Tue, 27 Apr 2010 22:20:00 +0000 (22:20 -0000)]
Increase version number for final.

Preparation for the KDevelop4.0.0/KDevPlatform 1.0.0 release.

7 years agocleanup includes
Milian Wolff [Mon, 26 Apr 2010 21:24:24 +0000 (21:24 -0000)]
cleanup includes

7 years agoconvert the mimetype definition to the XDG format and remove the old KDE 3 definition
Fathi Boudra [Mon, 26 Apr 2010 09:48:58 +0000 (09:48 -0000)]
convert the mimetype definition to the XDG format and remove the old KDE 3 definition

7 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 26 Apr 2010 06:26:20 +0000 (06:26 -0000)]
SVN_SILENT made messages (.desktop file)

7 years agoFix crash when attachMaybe is called a second time before the first -var-create call...
Niko Sams [Sun, 25 Apr 2010 20:00:34 +0000 (20:00 -0000)]
Fix crash when attachMaybe is called a second time before the first -var-create call returned

BUG: 219570

7 years agoRemove configuration for "Floating Toolbar" as it's implementation got
Niko Sams [Sun, 25 Apr 2010 18:31:41 +0000 (18:31 -0000)]
Remove configuration for "Floating Toolbar" as it's implementation got
somewhere lost.

7 years agoremove unused member
Niko Sams [Sun, 25 Apr 2010 18:31:39 +0000 (18:31 -0000)]
remove unused member

7 years agoHide broken option "Use separate terminal for I/O" for now.
Niko Sams [Sun, 25 Apr 2010 18:31:34 +0000 (18:31 -0000)]
Hide broken option "Use separate terminal for I/O" for now.

I can't fix this for 4.0 so just hide the option for now.
CCBUG: 235335

7 years agoremove expect_fail, this passes now
Milian Wolff [Sat, 24 Apr 2010 13:26:02 +0000 (13:26 -0000)]
remove expect_fail, this passes now

7 years agoadapt test to recent change in Q_PRIVATE_SLOT
Milian Wolff [Sat, 24 Apr 2010 13:26:01 +0000 (13:26 -0000)]
adapt test to recent change in Q_PRIVATE_SLOT

7 years ago- Add a maximum depth for recursive make calls
David Nolden [Sat, 24 Apr 2010 13:15:24 +0000 (13:15 -0000)]
- Add a maximum depth for recursive make calls
- Don't follow recursive make calls if the working directory didn't change
BUG: 232972

7 years agodon't assume ctor calls in class context, fixes method parsing with undefined type...
Milian Wolff [Sat, 24 Apr 2010 13:13:23 +0000 (13:13 -0000)]
don't assume ctor calls in class context, fixes method parsing with undefined type arguments

review: http://reviewboard.kde.org/r/3581/

7 years ago- Allow incomplete matching between the signal/slot specification.
David Nolden [Sat, 24 Apr 2010 13:02:09 +0000 (13:02 -0000)]
- Allow incomplete matching between the signal/slot specification.
- Fix the according test. The problem was not the fact that the signal has a default argument, rather it is _always_ possible to leave out signal arguments, when at least as many are specified as in the following reference to the slot.

7 years agoImprove our Q_PRIVATE_SLOT replacement macro so that:
David Nolden [Sat, 24 Apr 2010 12:33:16 +0000 (12:33 -0000)]
Improve our Q_PRIVATE_SLOT replacement macro so that:
- It has an inline implementation, and thus isn't shown in the implementation-helper
- The inline implementation contains a use of the "d" object, so that use-highlighting, refactoring, etc. work on it.

7 years agoDon't propose implementation-helpers for declarations with empty ranges, as those...
David Nolden [Sat, 24 Apr 2010 12:31:43 +0000 (12:31 -0000)]
Don't propose implementation-helpers for declarations with empty ranges, as those came from macros like Q_OBJECT.

7 years ago- Fill the ducontext member before calling "evaluateType" to prevent an assertion.
David Nolden [Sat, 24 Apr 2010 11:36:57 +0000 (11:36 -0000)]
- Fill the ducontext member before calling "evaluateType" to prevent an assertion.
- Add a more strict warning to make sure this is not forgotten.
Please, more testing next time, a simple run of kdevelop was enough to notice the problem.

7 years agotypeof-support with unit-testing
Jonathan Schmidt-Dominé [Fri, 23 Apr 2010 23:37:12 +0000 (23:37 -0000)]
typeof-support with unit-testing

7 years agotypeof works correctly, unit test will follow when I have fixed the environment...
Jonathan Schmidt-Dominé [Fri, 23 Apr 2010 12:42:23 +0000 (12:42 -0000)]
typeof works correctly, unit test will follow when I have fixed the environment...
TODO: Ignore optional typename-keywords, e.g. typedef typename __if_type::__type __type in type_traits.h

7 years agoFixed the typeof, ext/type_traits.h works without problems
Jonathan Schmidt-Dominé [Fri, 23 Apr 2010 12:09:20 +0000 (12:09 -0000)]
Fixed the typeof, ext/type_traits.h works without problems

7 years agoReduced the problems with standard-headers.
Jonathan Schmidt-Dominé [Fri, 23 Apr 2010 11:56:18 +0000 (11:56 -0000)]
Reduced the problems with standard-headers.
(__asm, __asm__, __typeof__, typeof)
TODO: It should be typeof(typeid | expression) and not typeof(typeid)

7 years agodon't offer implementation helper for signals, you never want to do that
Milian Wolff [Fri, 23 Apr 2010 11:14:05 +0000 (11:14 -0000)]
don't offer implementation helper for signals, you never want to do that

7 years agodon't skip static member functions when doing code completion on an object
Milian Wolff [Thu, 22 Apr 2010 14:45:09 +0000 (14:45 -0000)]
don't skip static member functions when doing code completion on an object

this really bugs me since it's perfectly fine CPP code, and is used especially often with e.g. QApplication app; app.exec(); and similar

add test, also check for the static access, where nothing gets filtered. Can someone elaborate on the why of this comment:
///@todo what NOT to show on static member choose? Actually we cannot hide all non-static functions, because of function-pointers

CCMAIL: david.nolden.kdevelop@art-master.de

7 years agoRevert "Integrate the foreground lock."
Andreas Pakulat [Mon, 19 Apr 2010 21:09:37 +0000 (21:09 -0000)]
Revert "Integrate the foreground lock."

This is too risky to add this late in the release cycle and additionally
shouldn't be added to 4.0 at all (only to 4.1).

7 years agoAdd missing i18n() calls to get all strings translatable.
Aleix Pol Gonzalez [Mon, 19 Apr 2010 00:21:22 +0000 (00:21 -0000)]
Add missing i18n() calls to get all strings translatable.

Thanks to Nicolás Alvarez for reporting

7 years agoAdapt to the kdevplatform changes. That fixes the bug discussed on the list that...
Aleix Pol Gonzalez [Sun, 18 Apr 2010 18:29:40 +0000 (18:29 -0000)]
Adapt to the kdevplatform changes. That fixes the bug discussed on the list that triggered a crash when renaming a file in many targets.

7 years agoReplace global static with call to qapp->currentthread.
Andreas Pakulat [Sun, 18 Apr 2010 16:53:17 +0000 (16:53 -0000)]
Replace global static with call to qapp->currentthread.

Provides the same logic, but doesn't rely on some global static being
initialized properly.

7 years ago- Add an object that releases the top-context on its destruction, so that it's also...
David Nolden [Sun, 18 Apr 2010 13:28:15 +0000 (13:28 -0000)]
- Add an object that releases the top-context on its destruction, so that it's also released when a test has failed.
- Use that object in the testLocalNamespaceAlias test, so that it doesn't make another test fail. Now all tests pass again.

7 years agoAdd a test for bug 207548
David Nolden [Sun, 18 Apr 2010 13:05:51 +0000 (13:05 -0000)]
Add a test for bug 207548
CCBUG: 207548

7 years agoMore precisely search the scopes for external class definitions.
David Nolden [Sun, 18 Apr 2010 12:30:52 +0000 (12:30 -0000)]
More precisely search the scopes for external class definitions.
Add test.
BUG: 204100

7 years agoMake the include-paths unique before computing a list of shown items.
David Nolden [Sun, 18 Apr 2010 12:04:05 +0000 (12:04 -0000)]
Make the include-paths unique before computing a list of shown items.
BUG: 202321