8 years agoPrepare RC3. v0.10.2
Andreas Pakulat [Fri, 16 Apr 2010 13:47:10 +0000 (13:47 -0000)]
Prepare RC3.

RC2 was a brown paper bag release (missing source files), so lets do a fresh rc3.

8 years agoCopy over expandingtree code.
Andreas Pakulat [Fri, 16 Apr 2010 11:49:32 +0000 (11:49 -0000)]
Copy over expandingtree code.

quickopen needs the code and used an svn:external until now. This was now
dropped and the code is being copied. It didn't change since a long time and
hence should be no problem to update if necessary.

8 years agodimension of 0 indicates dimensionless array (e.g. int[])
Milian Wolff [Thu, 15 Apr 2010 18:28:39 +0000 (18:28 -0000)]
dimension of 0 indicates dimensionless array (e.g. int[])

this was already indicated in the doxygen for dimension() but not in setDimension() nor was it actually
honoroed in the toString()

8 years agoAllow to use the project importer with a Core object in NoUi mode
Tobias Koenig [Thu, 15 Apr 2010 15:35:14 +0000 (15:35 -0000)]
Allow to use the project importer with a Core object in NoUi mode

8 years agoBumpt version for RC2 v0.10.1
Andreas Pakulat [Wed, 14 Apr 2010 21:55:19 +0000 (21:55 -0000)]
Bumpt version for RC2

8 years agofix duchainify when run on large projects with valid kdevelop duchain cache
Milian Wolff [Wed, 14 Apr 2010 21:05:04 +0000 (21:05 -0000)]
fix duchainify when run on large projects with valid kdevelop duchain cache

before this fix, the addToBackgroundParser directly removed the filed that where added and could lead to
cases where duchainify quit before all files where added to the queue

8 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Wed, 14 Apr 2010 06:18:36 +0000 (06:18 -0000)]
SVN_SILENT made messages (.desktop file)

8 years agoAdd link to our compile-page so users can find it
Andreas Pakulat [Tue, 13 Apr 2010 09:52:19 +0000 (09:52 -0000)]
Add link to our compile-page so users can find it

8 years agoset NegativeText for foreground in the palette of the error-label in ProjectSelectionPage
Milian Wolff [Mon, 12 Apr 2010 11:59:16 +0000 (11:59 -0000)]
set NegativeText for foreground in the palette of the error-label in ProjectSelectionPage

8 years agoShow debug toolbar only in debug area by default
Niko Sams [Sun, 11 Apr 2010 15:31:22 +0000 (15:31 -0000)]
Show debug toolbar only in debug area by default

To acomplish this a separate state needs to be saved.
BUG: 233861

8 years agoMove loading toolbar settings below QMainWindow::restoreState() call
Niko Sams [Sun, 11 Apr 2010 15:31:20 +0000 (15:31 -0000)]
Move loading toolbar settings below QMainWindow::restoreState() call

8 years agoMake the window a tad bit wider.
Andreas Pakulat [Fri, 9 Apr 2010 21:52:26 +0000 (21:52 -0000)]
Make the window a tad bit wider.

This makes the tabs and menu fit into the top line of the mainwindow
completely here with Plastique and QtCurve style (and standard-size

8 years agoFix comment to reflect the new value.
Andreas Pakulat [Fri, 9 Apr 2010 21:52:24 +0000 (21:52 -0000)]
Fix comment to reflect the new value.

8 years agoIncrease initial size a bit.
Andreas Pakulat [Fri, 9 Apr 2010 20:47:05 +0000 (20:47 -0000)]
Increase initial size a bit.

Default size may be a bit too smal to fit everything properly onto the
screen. Larger default size is not really possible, due to desktop size.
I'm anticipating 1024x768 as a reasonable smallest size for the desktop,
in which case this size is almost fullscreen.


8 years agopolish: prevent label-flickering by always setting a non-empty string (i.e. just...
Milian Wolff [Fri, 9 Apr 2010 13:45:04 +0000 (13:45 -0000)]
polish: prevent label-flickering by always setting a non-empty string (i.e. just a space)
also let the squeezed label span both cols so we don't elide needlessly

8 years agoDo not double-activate the view when changing it with a shortcut:
Alexander Dymo [Thu, 8 Apr 2010 21:46:09 +0000 (21:46 -0000)]
Do not double-activate the view when changing it with a shortcut:
MainWindow::activateView does all activation and doesn't need to be called second time
via signal-slot connection after tab is changed programmatically.

8 years agoRemove "Editor" menu from GUI when compiled against KDE 4.3: we can't use our custom
Alexander Dymo [Thu, 8 Apr 2010 21:15:46 +0000 (21:15 -0000)]
Remove "Editor" menu from GUI when compiled against KDE 4.3: we can't use our custom
katepartui.rc file, so the "Editor" toplevel menu will be always empty.

8 years agofix typo/grammar... shouldn#t have committed so early, sorry...
Milian Wolff [Thu, 8 Apr 2010 14:11:07 +0000 (14:11 -0000)]
fix typo/grammar... shouldn#t have committed so early, sorry...

8 years agoadd TODO
Milian Wolff [Thu, 8 Apr 2010 14:02:50 +0000 (14:02 -0000)]
add TODO

8 years agoFix KDevVarLengthArray::append , valgrind used to show messages like:
Milian Wolff [Thu, 8 Apr 2010 12:43:20 +0000 (12:43 -0000)]
Fix KDevVarLengthArray::append , valgrind used to show messages like:

Conditional jump or move depends on uninitialised value(s)
  ... KDevelop::IndexedInstantiationInformation::IndexedInstantiationInformation(KDevelop::IndexedInstantiationInformation const&)
  ... KDevVarLengthArray<KDevelop::DeclarationId, 10>::realloc(int, int)

The problem was that append increased s, i.e. the size, before calling realloc
which lead to an off-by-one error in it's initialization loop.

8 years agofix test, we have to set m_index in copy-ctor, valgrind still complaints, add some...
Milian Wolff [Thu, 8 Apr 2010 12:43:19 +0000 (12:43 -0000)]
fix test, we have to set m_index in copy-ctor, valgrind still complaints, add some debug ouput

8 years agoadd test suite for kdevvarlengtharray, when run with valgrind shows us some interesti...
Milian Wolff [Thu, 8 Apr 2010 11:33:01 +0000 (11:33 -0000)]
add test suite for kdevvarlengtharray, when run with valgrind shows us some interesting behavior. hope I can fix it

8 years agoactually fix compile warning, I must have been tired yesterday ;-)
Milian Wolff [Thu, 8 Apr 2010 09:16:16 +0000 (09:16 -0000)]
actually fix compile warning, I must have been tired yesterday ;-)

8 years agofix init order and don't init IndexedDeclaration, it can do that itself
Milian Wolff [Thu, 8 Apr 2010 00:18:08 +0000 (00:18 -0000)]
fix init order and don't init IndexedDeclaration, it can do that itself

8 years agoinit ptr member vars to fix valgrind msg about uninitialized variable
Milian Wolff [Wed, 7 Apr 2010 23:00:13 +0000 (23:00 -0000)]
init ptr member vars to fix valgrind msg about uninitialized variable

8 years agowhitespace (eol) fixes.
Andreas Pakulat [Wed, 7 Apr 2010 20:40:49 +0000 (20:40 -0000)]
whitespace (eol) fixes.

8 years agoProvide new variable for generating identifiers from the appname.
Andreas Pakulat [Wed, 7 Apr 2010 20:40:47 +0000 (20:40 -0000)]
Provide new variable for generating identifiers from the appname.

This is needed to get class names that are actually usable in a language,
even if the user chooses to use characters in the appname that are not
valid in the language.


8 years agowhitespace fixes (remove whitespace and eol).
Andreas Pakulat [Wed, 7 Apr 2010 20:14:39 +0000 (20:14 -0000)]
whitespace fixes (remove whitespace and eol).

8 years agoFix saving of current launch config.
Andreas Pakulat [Wed, 7 Apr 2010 20:14:37 +0000 (20:14 -0000)]
Fix saving of current launch config.

Somebody removed the call to save the current launch config to the config
file, hence we didn't save the last-used config anymore to disk and always
selected the first from the list.


8 years agomore wrapping and indent changes to make makros better readable
Milian Wolff [Wed, 7 Apr 2010 17:04:43 +0000 (17:04 -0000)]
more wrapping and indent changes to make makros better readable

8 years agomore makro wrapping / indent changes
Milian Wolff [Wed, 7 Apr 2010 16:49:22 +0000 (16:49 -0000)]
more makro wrapping / indent changes

8 years agowrap macro for better readability
Milian Wolff [Wed, 7 Apr 2010 16:49:18 +0000 (16:49 -0000)]
wrap macro for better readability

8 years agoremove wrong const&
Milian Wolff [Wed, 7 Apr 2010 16:23:04 +0000 (16:23 -0000)]
remove wrong const&

8 years ago+const&+
Milian Wolff [Wed, 7 Apr 2010 16:05:55 +0000 (16:05 -0000)]

8 years agoconst ref in uses of custom FOREACH_ macros, should improve performance but my test...
Milian Wolff [Wed, 7 Apr 2010 15:25:40 +0000 (15:25 -0000)]
const ref in uses of custom FOREACH_ macros, should improve performance but my test doesn't show such a big gain as I hoped for

8 years agoDon't do unnecessary conversions.
Milian Wolff [Wed, 7 Apr 2010 15:25:36 +0000 (15:25 -0000)]
Don't do unnecessary conversions.
commit msg stealing ftw :P

8 years agoonly create IndexedIdentifier when required
Milian Wolff [Wed, 7 Apr 2010 15:25:33 +0000 (15:25 -0000)]
only create IndexedIdentifier when required

8 years agomove implementations of custom additions out of class body, but still inline insert...
Milian Wolff [Wed, 7 Apr 2010 15:25:30 +0000 (15:25 -0000)]
move implementations of custom additions out of class body, but still inline insert & remove

8 years agoQVector already has a toList() method
Milian Wolff [Wed, 7 Apr 2010 12:15:36 +0000 (12:15 -0000)]
QVector already has a toList() method

8 years agomove arrayToList and arrayToVector to KDevVarLengthArray, remove now obsolete arrayhe...
Milian Wolff [Wed, 7 Apr 2010 11:48:45 +0000 (11:48 -0000)]
move arrayToList and arrayToVector to KDevVarLengthArray, remove now obsolete arrayhelpers.h

note: arrayToVector is unused, and the old implementation was even wrong (created QVector, filled it, returned QList ;-) )

cleanup done, now lets optimize

8 years agocode style cleanup
Milian Wolff [Wed, 7 Apr 2010 11:48:43 +0000 (11:48 -0000)]
code style cleanup

8 years agodrop removeFromArray and removeOne in favor of the kdevvarlengtharray methods remove...
Milian Wolff [Wed, 7 Apr 2010 11:48:41 +0000 (11:48 -0000)]
drop removeFromArray and removeOne in favor of the kdevvarlengtharray methods remove and removeOne

note: I renamed erase to remove so we are compatible with QVector (esp. for testing)

8 years agoremove obsolete code in Fake KDevVarLengthArray to make it compile
Milian Wolff [Wed, 7 Apr 2010 11:48:39 +0000 (11:48 -0000)]
remove obsolete code in Fake KDevVarLengthArray to make it compile

8 years agodrop insertToArray, use KDevVarLengthArray::insert() instead, also change the order...
Milian Wolff [Wed, 7 Apr 2010 11:48:37 +0000 (11:48 -0000)]
drop insertToArray, use KDevVarLengthArray::insert() instead, also change the order of it's arguments to stay compatible with QVector

8 years agouse KDevVarLengthArray.contains (vector has it also), no need to duplicate code
Milian Wolff [Wed, 7 Apr 2010 11:48:34 +0000 (11:48 -0000)]
use KDevVarLengthArray.contains (vector has it also), no need to duplicate code

8 years agoadd markers showing which part we add on top of QVarLengthArray
Milian Wolff [Wed, 7 Apr 2010 11:48:31 +0000 (11:48 -0000)]
add markers showing which part we add on top of QVarLengthArray

8 years agocode style cleanup
Milian Wolff [Wed, 7 Apr 2010 11:48:29 +0000 (11:48 -0000)]
code style cleanup

8 years agoimprove doc grammar
Milian Wolff [Wed, 7 Apr 2010 11:48:27 +0000 (11:48 -0000)]
improve doc grammar

8 years agouse binary search like @todo suggested, doesn't bring us that much though
Milian Wolff [Tue, 6 Apr 2010 21:21:15 +0000 (21:21 -0000)]
use binary search like @todo suggested, doesn't bring us that much though

8 years agooptimize: don't call m_usesSize() and m_uses() in a loop, that is expensive
Milian Wolff [Tue, 6 Apr 2010 20:35:00 +0000 (20:35 -0000)]
optimize: don't call m_usesSize() and m_uses() in a loop, that is expensive

note: while compilers might optimize it, all us developers with our debug builts will greatly appreciate this
since the cost for parsing only the cmake files in kdepimlibs goes down by ~40% with this change

8 years agoremove useless vertical header
Milian Wolff [Mon, 5 Apr 2010 18:01:42 +0000 (18:01 -0000)]
remove useless vertical header

thanks to Nicolas for the Patch

8 years agoremove now apparently obsolete outer loop
Milian Wolff [Mon, 5 Apr 2010 13:24:19 +0000 (13:24 -0000)]
remove now apparently obsolete outer loop

8 years agofix implementation of operator== in ModificationRevisionSet, that was totally broken
Milian Wolff [Mon, 5 Apr 2010 00:41:44 +0000 (00:41 -0000)]
fix implementation of operator== in ModificationRevisionSet, that was totally broken
and explains why some caches (I saw it in the includepathresolver) didn't apply at all, wonder how this could have slipped so long...

Now that the cache applies, Custom Make Manager projects are much faster to parse since the cached results per directory
apply, and make doesn't have to be called once for every file.

CCBUG: 215968

8 years agomake duchainify a UI-less app
Milian Wolff [Sun, 4 Apr 2010 23:18:43 +0000 (23:18 -0000)]
make duchainify a UI-less app

8 years agoRemove callgrind instrumentation calls - they shouldn't have been committed
Alexander Dymo [Sun, 4 Apr 2010 19:20:26 +0000 (19:20 -0000)]
Remove callgrind instrumentation calls - they shouldn't have been committed

8 years agoOptimize another 22% of tab/view switching time by not applying mainwindow settings...
Alexander Dymo [Sun, 4 Apr 2010 19:04:19 +0000 (19:04 -0000)]
Optimize another 22% of tab/view switching time by not applying mainwindow settings when switching
between views. In KDE3 the finalizeGUI method called applyMainWindowSettings with force=false argument
which didn't do anything. In KDE4 this argument doesn't do anything, so we can assume we don't
have to do anything too.

Warning, this change is unsafe. I've tested it, but if you experience strange toolbar positioning bugs
on view switching, we'll have to revert this.

8 years agoRevert 1111053, I actually need that code for further view/tab switching optimizations
Alexander Dymo [Sun, 4 Apr 2010 18:55:25 +0000 (18:55 -0000)]
Revert 1111053, I actually need that code for further view/tab switching optimizations

8 years agoRemove unused menu restructuring code
Alexander Dymo [Sun, 4 Apr 2010 18:27:58 +0000 (18:27 -0000)]
Remove unused menu restructuring code

8 years agoOptimize view/tab switching a bit more: cache the source formatter for given mimetype
Alexander Dymo [Sun, 4 Apr 2010 17:27:28 +0000 (17:27 -0000)]
Optimize view/tab switching a bit more: cache the source formatter for given mimetype
so when we switch views, we don't have to search for plugins/extensions.
This removes 20% of tab switching time (QTime measurement reports 10ms, but I don't
believe that number, visually it's more).

The question with this cache is source formatter plugin deletion... I had a brief look,
and it seems they aren't unloaded until kdevelop shutdown. Andreas, can you please take a look?

8 years agoReimplement KXMLGUIBuilder::createCustomElement in KDevelop::MainWindow to let us
Alexander Dymo [Sun, 4 Apr 2010 16:15:21 +0000 (16:15 -0000)]
Reimplement KXMLGUIBuilder::createCustomElement in KDevelop::MainWindow to let us
add visible menubar separators via xmlgui with <Separator style="visible" /> syntax in kdevelopui.rc

8 years agoBetter main menu restructuring, part 3: restructure menus 3x faster, without doing...
Alexander Dymo [Sun, 4 Apr 2010 13:21:21 +0000 (13:21 -0000)]
Better main menu restructuring, part 3: restructure menus 3x faster, without doing that in the code,
and without breaking localizations:
- set custom katepartui.rc for kate parts use KXMLGUIClient::replaceXMLFile (only for KDE 4.4)
- remove all restructuring code: for KDE 4.4 and later it is not necessary anymore,
  for KDE 4.3 the order of main menus will be still correct (due to append="first_menu" in rc file),
  but kate menus will not be rearranged and View, Bookmarks and Tools will appear before "Windows" menu.
Note, this change makes view/tab switching in KDevelop 3x faster (~67% of the tab switching time was spent in restructuring)

8 years agoscroll project buildset view per pixel (horizontal)
Milian Wolff [Fri, 2 Apr 2010 22:33:28 +0000 (22:33 -0000)]
scroll project buildset view per pixel (horizontal)
thanks to the patch Nicolas Alvarez

8 years agofix build
Milian Wolff [Fri, 2 Apr 2010 22:04:36 +0000 (22:04 -0000)]
fix build

8 years agoUse proper VcsGroup for vcs actions.
Andreas Pakulat [Fri, 2 Apr 2010 21:33:25 +0000 (21:33 -0000)]
Use proper VcsGroup for vcs actions.

This makes more sense and allows context-menu-showing code to define
where vcs actions should show up (as opposed to "all the rest").

8 years agoPrepare 1.0 RC1 release. v0.10.0
Andreas Pakulat [Fri, 2 Apr 2010 16:13:48 +0000 (16:13 -0000)]
Prepare 1.0 RC1 release.

Increase the version number to 0.10.0 for rc1
Also increase plugin version number to make sure we're only loading
release-ready and maintained plugins.

8 years agoonly try to rename File/FolderItems when the data got actually changed, prevents...
Milian Wolff [Thu, 1 Apr 2010 15:07:18 +0000 (15:07 -0000)]
only try to rename File/FolderItems when the data got actually changed, prevents useless error message

8 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 1 Apr 2010 06:38:12 +0000 (06:38 -0000)]
SVN_SILENT made messages (.desktop file)

8 years agoFix several typos etc. in API docs of VCS code.
Milian Wolff [Wed, 31 Mar 2010 21:54:14 +0000 (21:54 -0000)]
Fix several typos etc. in API docs of VCS code.

Thanks to Nicol├ís Alvarez for the patch.

Review Board: 3055
CCMAIL: nicolas.alvarez@gmail.com

8 years agoDo not show message box when project opening failed.
Andreas Pakulat [Mon, 29 Mar 2010 22:19:12 +0000 (22:19 -0000)]
Do not show message box when project opening failed.

The Project::open() method already shows a message box for each case
where something can go wrong and that message has much better
information anyway. So no reason to annoy the user with another box


8 years agoOpen current workingset in code area when automatically switching from debug
Niko Sams [Mon, 29 Mar 2010 20:55:22 +0000 (20:55 -0000)]
Open current workingset in code area when automatically switching from debug
area to code area. (when the debug session ends)

The same happens the other way around when a debug session is started.

CCBUG: 232566

8 years agoslightly faster: create regexp once and use setPattern afterwards
Milian Wolff [Mon, 29 Mar 2010 11:30:31 +0000 (11:30 -0000)]
slightly faster: create regexp once and use setPattern afterwards

8 years agoput Q_PRIVATE_SLOT at end of header, else the d-pointer is improperly parsed and...
Milian Wolff [Mon, 29 Mar 2010 11:16:57 +0000 (11:16 -0000)]
put Q_PRIVATE_SLOT at end of header, else the d-pointer is improperly parsed and we don't get code completion (yeah this has to be fixed properly in the macro parser, but for now...)

8 years agocache cases where no language support was found for a mimetype, greatly improves...
Milian Wolff [Mon, 29 Mar 2010 11:16:56 +0000 (11:16 -0000)]
cache cases where no language support was found for a mimetype, greatly improves performance on projects that have lots of non-source files in their source-tree

8 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 29 Mar 2010 05:41:09 +0000 (05:41 -0000)]
SVN_SILENT made messages (.desktop file)

8 years agoAdd copyright author, and extend make the documentation a bit more consistent.
David Nolden [Mon, 29 Mar 2010 00:37:26 +0000 (00:37 -0000)]
Add copyright author, and extend make the documentation a bit more consistent.

8 years agoMake commit job verbose.
Niko Sams [Wed, 24 Mar 2010 20:34:30 +0000 (20:34 -0000)]
Make commit job verbose.

That gives the user feedback when the commit finished and if it was successful.

8 years agoFix creation of new sessions.
Andreas Pakulat [Mon, 22 Mar 2010 19:54:37 +0000 (19:54 -0000)]
Fix creation of new sessions.

Apparently QUuid::createUuid() re-uses the last created uuid if the object
is destroyed. At least thats what I saw here, I always got the uuid of the
session that was tested against the given name from the first loop.

8 years agoSlightly prettier fix for the bug: Store the view while creating it, instead of re...
David Nolden [Mon, 22 Mar 2010 15:52:23 +0000 (15:52 -0000)]
Slightly prettier fix for the bug: Store the view while creating it, instead of re-finding it afterwards.
CCBUG: 231792

8 years agoFix implementation of findToolView.
Andreas Pakulat [Mon, 22 Mar 2010 15:40:55 +0000 (15:40 -0000)]
Fix implementation of findToolView.

Apparently nobody ever tested the returnvalue in case of really creating the toolview.
The create-part never returned anything and it lacked support for not-raising the toolview. Hence code like this:

bool b = ...findToolView("ToolView", factory);

always returned false when the toolview had been closed by the user.


8 years agofilter swap files by default
Milian Wolff [Sun, 21 Mar 2010 19:09:28 +0000 (19:09 -0000)]
filter swap files by default

8 years agoDon't duplicate already-generated launch configs.
Niko Sams [Sun, 21 Mar 2010 18:42:53 +0000 (18:42 -0000)]
Don't duplicate already-generated launch configs.

Store the path to the ProjectItem in the launch config to
re-use it when the user launches the same ProjectItem again.

BUG: 212546

8 years agoAlways unload the plugin in unloadPlugin(IPlugin*).
Andreas Pakulat [Sun, 21 Mar 2010 14:09:33 +0000 (14:09 -0000)]
Always unload the plugin in unloadPlugin(IPlugin*).

Make the unloadPlugin() private as its potentially dangerous (no check
for the always-load) and use it from cleanup again. Its too hard to
properly unload only "unloadable" plugins in cleanup (iterating over a
changing list etc.) so we'll just unload all plugins, afaik language
plugins shouldn't have a problem with this as the global statics from
language support are not accessing the plugins anymore (David?).
CCMAIL: david.nolden.kde@art-master.de
BUG: 231467

8 years agoFix endless loop while shutting down.
Andreas Pakulat [Sun, 21 Mar 2010 00:29:28 +0000 (00:29 -0000)]
Fix endless loop while shutting down.

The new check in unloadPlugin( IPlugin* ) caused
never-unloadable-plugins to not be unloaded and hence the loop in
cleanup never stopped.


8 years agoChanged File name to Filename, for consistency with rest of KDE.
Andrew Coles [Sat, 20 Mar 2010 20:14:59 +0000 (20:14 -0000)]
Changed File name to Filename, for consistency with rest of KDE.

8 years agoCorrected minor typo.
Andrew Coles [Sat, 20 Mar 2010 20:13:39 +0000 (20:13 -0000)]
Corrected minor typo.

8 years agoFixed plural form usage and eliminated a 'word game' - as far as possible, avoid...
Andrew Coles [Sat, 20 Mar 2010 20:12:54 +0000 (20:12 -0000)]
Fixed plural form usage and eliminated a 'word game' - as far as possible, avoid piecing i18n strings together.

8 years agoSome more debug and warning output when unloading plugins.
Andreas Pakulat [Sat, 20 Mar 2010 19:09:25 +0000 (19:09 -0000)]
Some more debug and warning output when unloading plugins.

- debug output to check which plugins are attempted to be unloaded
- warning if someone tries to unloadPlugin() with a plugin-pointer which
  we should not unload.

8 years agoProvide an implementation for isReady().
Bertjan Broeksema [Sat, 20 Mar 2010 16:09:52 +0000 (16:09 -0000)]
Provide an implementation for isReady().

8 years agoAdd a IProject::isReady method to know what's an IProject instance state. (in practic...
Aleix Pol Gonzalez [Sat, 20 Mar 2010 01:40:36 +0000 (01:40 -0000)]
Add a IProject::isReady method to know what's an IProject instance state. (in practice, we don't want to deal with the IProject instance while it's being reloaded)

8 years ago- Only create recovery-copies if the text is not empty
David Nolden [Sat, 20 Mar 2010 01:37:00 +0000 (01:37 -0000)]
- Only create recovery-copies if the text is not empty
- When a recovery file is empty, give a message box instead of recovering an empty document (might maybe happen on disk-full)
- Don't recover into the review-area for now, it seems unnecessary.

8 years agoFixed a couple of i18n calls.
Aleix Pol Gonzalez [Sat, 20 Mar 2010 00:18:24 +0000 (00:18 -0000)]
Fixed a couple of i18n calls.
Prevent QTimers to leak every time a project is loaded.

8 years agoRelease the smart-lock before calling addDocumentChain. This prevents a possible...
David Nolden [Fri, 19 Mar 2010 23:41:18 +0000 (23:41 -0000)]
Release the smart-lock before calling addDocumentChain. This prevents a possible deadlock.
BUG: 230942

8 years agowhen completing a function returning void, append semicolon
Milian Wolff [Fri, 19 Mar 2010 23:24:17 +0000 (23:24 -0000)]
when completing a function returning void, append semicolon

8 years agoAdd "New File" action to the Filesystem toolview's context menu.
Alexander Dymo [Fri, 19 Mar 2010 20:58:03 +0000 (20:58 -0000)]
Add "New File" action to the Filesystem toolview's context menu.
Should be very useful for people working on script projects and people working without projects at all.
Feature freeze exception granted by Andreas Pakulat (with no objections from the rest of the team).

8 years agohide header of projectview (else it would only displace '1' since we don't implement...
Milian Wolff [Tue, 16 Mar 2010 22:09:42 +0000 (22:09 -0000)]
hide header of projectview (else it would only displace '1' since we don't implement headerData in our projectmodel [afaik])

8 years agoFix project view crashing on startup.
Andreas Pakulat [Mon, 15 Mar 2010 21:51:35 +0000 (21:51 -0000)]
Fix project view crashing on startup.

For some reason the project treeview crashes when calling the setResizeMode
on the column 0. The assert suggests that the header doesn't know about
the column yet. Not sure whats going on, but as there's a single column
only lets activate resize-to-contents for all.

Additionally removes some uneeded code and moves the setStretchLastSection
to the ui file.

8 years agoDo not have a VCS action to remove files.
Aleix Pol Gonzalez [Mon, 15 Mar 2010 21:06:18 +0000 (21:06 -0000)]
Do not have a VCS action to remove files.
Instead, tell the VCS subsystem to remove the file if it's configured.

BUG: 207396

8 years agoAlso add ability for scrollbars to documents and classes view.
Andreas Pakulat [Mon, 15 Mar 2010 20:30:50 +0000 (20:30 -0000)]
Also add ability for scrollbars to documents and classes view.

Same fix as for project view, this enables horizontal scrollbar
in case the content is too wide.


8 years agoEnable horizontal scrollbar.
Andreas Pakulat [Mon, 15 Mar 2010 20:02:47 +0000 (20:02 -0000)]
Enable horizontal scrollbar.

Resizing the last section to its contents and disabling stretching of
it, magically tells qtreeview that it should show a horizontal
scrollbar. Thanks to the QtCentre forum which taught me this.


8 years agoSVN_SILENT compile
Christoph Feck [Mon, 15 Mar 2010 19:50:45 +0000 (19:50 -0000)]
SVN_SILENT compile

Remove declaration for removed function