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

8 years agoAdd the visible text also as tooltip.
Andreas Pakulat [Mon, 15 Mar 2010 19:38:05 +0000 (19:38 -0000)]
Add the visible text also as tooltip.

This helps with reading ellipse'd items.


8 years agoRemove Show Menubar as it didn't do anything useful.
Andreas Pakulat [Mon, 15 Mar 2010 19:38:01 +0000 (19:38 -0000)]
Remove Show Menubar as it didn't do anything useful.


8 years ago- Show the path right as the first entry of the "file" navigation-context, without...
David Nolden [Sun, 14 Mar 2010 16:04:16 +0000 (16:04 -0000)]
- Show the path right as the first entry of the "file" navigation-context, without the "path:" prefix.
- Make the font-size in the navigation widgets equal to the standard system font size.
BUG: 229918

8 years agoOnly set the fixed font on the text-edit, not on the label.
David Nolden [Sun, 14 Mar 2010 12:31:16 +0000 (12:31 -0000)]
Only set the fixed font on the text-edit, not on the label.
Having different fonts on different labels looked weird and inconsistent.

8 years agoIncrease the repository-version, due to changes in kdevelop
David Nolden [Sun, 14 Mar 2010 12:12:28 +0000 (12:12 -0000)]
Increase the repository-version, due to changes in kdevelop

8 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 14 Mar 2010 07:16:01 +0000 (07:16 -0000)]
SVN_SILENT made messages (.desktop file)

8 years agoFixed Online-Doxygen-API-Doc-URL
Jonathan Schmidt-Dominé [Sat, 13 Mar 2010 22:55:52 +0000 (22:55 -0000)]
Fixed Online-Doxygen-API-Doc-URL

8 years agoFix position of the vcsdiffpatch widget.
Andreas Pakulat [Sat, 13 Mar 2010 20:13:12 +0000 (20:13 -0000)]
Fix position of the vcsdiffpatch widget.

Widgets are supposed to be inside the widgets/ subdir, so lets move this
one there too.

8 years agoUse fixed font for the commit message.
Andreas Pakulat [Sat, 13 Mar 2010 20:13:00 +0000 (20:13 -0000)]
Use fixed font for the commit message.

This is usually also the font with which the log is shown, so lets used
fixed font.


8 years agoDon't hide the working-set widget from within the constructor, so it's possible to...
David Nolden [Sat, 13 Mar 2010 17:38:18 +0000 (17:38 -0000)]
Don't hide the working-set widget from within the constructor, so it's possible to pick a working-set again.

8 years agoAvoid area tabbar flickering when switching between editors.
Alexander Dymo [Sat, 13 Mar 2010 02:24:47 +0000 (02:24 -0000)]
Avoid area tabbar flickering when switching between editors.
5 hours of debugging the problem and we have a solution -
we need to set tabbar as a parent for workingset buttons widget,
not mainwindow as before.

8 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 9 Mar 2010 07:22:19 +0000 (07:22 -0000)]
SVN_SILENT made messages (.desktop file)

8 years agoFix formatterForMimeType and isMimeTypeSupported.
Andreas Pakulat [Sun, 7 Mar 2010 23:19:53 +0000 (23:19 -0000)]
Fix formatterForMimeType and isMimeTypeSupported.

These two were broken in the case of no pre-existing configuration
for formatters. Both said they had no formatter for the given mimetype.

This caused the "Reformat" action to be disabled always, until the
formatting dialog was opened at least once and saved.


8 years agoIntroduce a constant for the "supported mimetypes" key.
Andreas Pakulat [Sun, 7 Mar 2010 23:19:49 +0000 (23:19 -0000)]
Introduce a constant for the "supported mimetypes" key.

This is needed for the settings and also the controller itself, so
a constant is better for sharing.

8 years agoAdd missing quotes.
Niko Sams [Sun, 7 Mar 2010 19:49:03 +0000 (19:49 -0000)]
Add missing quotes.

8 years agoForgot to increase version number, this is beta9
Andreas Pakulat [Sun, 7 Mar 2010 16:53:18 +0000 (16:53 -0000)]
Forgot to increase version number, this is beta9

8 years agoDo not provide empty implementations for the methods. Doesn't make sense to me, makes...
Aleix Pol Gonzalez [Sat, 6 Mar 2010 20:24:16 +0000 (20:24 -0000)]
Do not provide empty implementations for the methods. Doesn't make sense to me, makes it hard to spot to what extent the plugins are lacking features.

This will make dvcs plugins not to compile probably. I'll be commiting the changes to the git plugin right now.

8 years agoInform the user when the renaming was not successful.
Aleix Pol Gonzalez [Sat, 6 Mar 2010 19:16:31 +0000 (19:16 -0000)]
Inform the user when the renaming was not successful.

8 years agoDon't do weird casts for simple things.
Aleix Pol Gonzalez [Sat, 6 Mar 2010 18:57:02 +0000 (18:57 -0000)]
Don't do weird casts for simple things.

8 years agoExtend the documentation a bit more
David Nolden [Thu, 4 Mar 2010 15:09:17 +0000 (15:09 -0000)]
Extend the documentation a bit more

8 years agofix i18n() usage
Pino Toscano [Wed, 3 Mar 2010 23:29:16 +0000 (23:29 -0000)]
fix i18n() usage

8 years agos/Toolview/Tool View in assign shortcut dialog to make it consistent with the rest...
Alexander Dymo [Wed, 3 Mar 2010 22:49:45 +0000 (22:49 -0000)]
s/Toolview/Tool View in assign shortcut dialog to make it consistent with the rest of the UI

8 years agodon't crash when no working set controller was setup (i.e. NoUI mode)
Milian Wolff [Wed, 3 Mar 2010 12:30:50 +0000 (12:30 -0000)]
don't crash when no working set controller was setup (i.e. NoUI mode)

8 years agofix docs: updateContextForUrl locks for read internally, hence the duchain should...
Milian Wolff [Wed, 3 Mar 2010 10:39:44 +0000 (10:39 -0000)]
fix docs: updateContextForUrl locks for read internally, hence the duchain should _not_ be locked when this is called

8 years agono need for workingset controller in NoUi mode
Milian Wolff [Wed, 3 Mar 2010 10:14:35 +0000 (10:14 -0000)]
no need for workingset controller in NoUi mode

8 years agoFix cmopilation with strict iterators
David Faure [Wed, 3 Mar 2010 00:11:18 +0000 (00:11 -0000)]
Fix cmopilation with strict iterators

8 years agoOnly call WaitCondition::wakeOne() in the SpinLock destructor if there is an evidence...
David Nolden [Tue, 2 Mar 2010 23:35:40 +0000 (23:35 -0000)]
Only call WaitCondition::wakeOne() in the SpinLock destructor if there is an evidence that someone is waiting.
This should give a speedup in the cases without contention, which should be most of the cases when a spin-lock is used.

8 years agoPopulate Filesystem toolview's context menu with actions from other plugins.
Alexander Dymo [Tue, 2 Mar 2010 20:33:12 +0000 (20:33 -0000)]
Populate Filesystem toolview's context menu with actions from other plugins.
This adds open, open with, format and as necessary vcs menu actions and makes filesystem toolview much more useful.

8 years agodisable translateRange for now, this is simply unsupported and will result in kFatal...
Milian Wolff [Tue, 2 Mar 2010 12:31:22 +0000 (12:31 -0000)]
disable translateRange for now, this is simply unsupported and will result in kFatal with KDE 4.4

I'll remove the RevisionTracker alltogether and use SmartRanges / Ranges where needed, see kwrite-devel

CCBUG: 229116

8 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 2 Mar 2010 09:31:20 +0000 (09:31 -0000)]
SVN_SILENT made messages (.desktop file)

8 years agoProperly update m_style when content changed.
Andreas Pakulat [Sun, 28 Feb 2010 20:33:50 +0000 (20:33 -0000)]
Properly update m_style when content changed.

The updatePreviewText is called each time an option is changed. To show
this we need to update our copy of the style with those changed settings.


8 years agoDon't use fixed-size for the preview/style-editing.
Andreas Pakulat [Sun, 28 Feb 2010 20:33:43 +0000 (20:33 -0000)]
Don't use fixed-size for the preview/style-editing.

Its better if the style group is vertically resized with the dialog.

8 years agofix location painting in tabbar for styles with opaque tab base
Milian Wolff [Sun, 28 Feb 2010 14:22:07 +0000 (14:22 -0000)]
fix location painting in tabbar for styles with opaque tab base
BUG: 228873

8 years agoMake it possible to assign shortcuts for toolviews ("Assign Shortcut" in toolview...
Alexander Dymo [Sun, 28 Feb 2010 14:04:51 +0000 (14:04 -0000)]
Make it possible to assign shortcuts for toolviews ("Assign Shortcut" in toolview button context menu):
- unlike KDevelop3, this allows to set any shortcut (not just Alt+N)
- it's possible to set two shortcuts - primary and alternate
- shortcut configuration is persistant and is global (later is intentional)

Minor problems to resolve in the future:
- second toolview of the same kind will get the same shortcut, resulting in the shortcut conflict
- shortcut is visible in Window->Tool Views menu, but not in the toolview button

8 years agointroduce static lengthFromIndex function - no need for the overhead of IndexedString...
Milian Wolff [Sun, 28 Feb 2010 13:41:37 +0000 (13:41 -0000)]
introduce static lengthFromIndex function - no need for the overhead of IndexedString if we just need the length

8 years agoexclude .git dir by default
Milian Wolff [Sun, 28 Feb 2010 12:11:53 +0000 (12:11 -0000)]
exclude .git dir by default

8 years agomake default patterns const
Milian Wolff [Sun, 28 Feb 2010 12:11:49 +0000 (12:11 -0000)]
make default patterns const

8 years agoGracefully handle the case of broken config.
Andreas Pakulat [Sun, 28 Feb 2010 09:14:11 +0000 (09:14 -0000)]
Gracefully handle the case of broken config.

Lets just revert to not do any formatting and print out an error.

8 years agoGracefully handle the case of formatters vanishing.
Andreas Pakulat [Sun, 28 Feb 2010 09:14:00 +0000 (09:14 -0000)]
Gracefully handle the case of formatters vanishing.

If the stored formatter name doesn't exist anymore (renaming or deletion)
lets fallback to the first entry.

8 years agoBetter algorithm for toolview maximum allowed size calculation:
Alexander Dymo [Sun, 28 Feb 2010 00:15:47 +0000 (00:15 -0000)]
Better algorithm for toolview maximum allowed size calculation:
- this should not let the toolview overlap editors/other toolviews
- but this is quite pessimistic: it always substracts the width of opposite
  toolview no matter it's shown or hidden, this way when the user shows it,
  no toolviews will overlap each other

Remaining problems are:
- even if there're no toolviews at the opposite side, their
  (potential/stored in config) size is taken into account
- there's no relayouting done on mainwindow resize,
  basically that can still lead to toolview overlapping
- and more less important resizing problems...

I'm not going to solve the remaining problems, as we'll remove the custom layout for 4.1.

8 years agoadd context menu action to find selection in files
Milian Wolff [Sat, 27 Feb 2010 19:28:44 +0000 (19:28 -0000)]
add context menu action to find selection in files

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

8 years agoremove 'from Selection' from action label, other actions that operate on selection...
Milian Wolff [Sat, 27 Feb 2010 19:28:39 +0000 (19:28 -0000)]
remove 'from Selection' from action label, other actions that operate on selection don't say that either

8 years agoremove our copy of ktexteditor_codesnippets_core.knsrc - if you want GHNS for snippet...
Milian Wolff [Sat, 27 Feb 2010 19:07:28 +0000 (19:07 -0000)]
remove our copy of ktexteditor_codesnippets_core.knsrc - if you want GHNS for snippets in kdevelop, install kate

8 years agowhitespace fixes.
Andreas Pakulat [Sat, 27 Feb 2010 17:09:54 +0000 (17:09 -0000)]
whitespace fixes.

8 years agoDon't show a dialog when no edit widget is available.
Andreas Pakulat [Sat, 27 Feb 2010 17:09:46 +0000 (17:09 -0000)]
Don't show a dialog when no edit widget is available.

We shouldn't ever get here as the buttons are disabled, but better safe
than sorry.

8 years agoDisable New and Edit if the formatter has no config widget.
Andreas Pakulat [Sat, 27 Feb 2010 17:09:35 +0000 (17:09 -0000)]
Disable New and Edit if the formatter has no config widget.

without a config widget custom styles are useless.

8 years agoif no formatter is given set a explanatory text.
Andreas Pakulat [Sat, 27 Feb 2010 17:09:26 +0000 (17:09 -0000)]
if no formatter is given set a explanatory text.

8 years agoScroll to beginning of sample document when something changed.
Andreas Pakulat [Sat, 27 Feb 2010 17:09:14 +0000 (17:09 -0000)]
Scroll to beginning of sample document when something changed.

I find it rather irritating to always be at the end of the document
especially since class declarations are at the top.

8 years agoRead the formatting configuration from the session.
Andreas Pakulat [Sat, 27 Feb 2010 17:09:03 +0000 (17:09 -0000)]
Read the formatting configuration from the session.

This allows to have different formatting configurations for each set
of projects and hence different formatting rules for different projects.

8 years agoSkip empty parts when splitting the value of a formatting-entry.
Andreas Pakulat [Sat, 27 Feb 2010 17:08:52 +0000 (17:08 -0000)]
Skip empty parts when splitting the value of a formatting-entry.

This fixes a crash when starting with an empty configuration.

8 years agofix deletion of all styles.
Andreas Pakulat [Sat, 27 Feb 2010 17:08:41 +0000 (17:08 -0000)]
fix deletion of all styles.

8 years agoRewrite the settings class.
Andreas Pakulat [Sat, 27 Feb 2010 13:28:09 +0000 (13:28 -0000)]
Rewrite the settings class.

This fixes the known problems with the formatter kcm.


8 years agoadd two key constants for style caption and content.
Andreas Pakulat [Sat, 27 Feb 2010 13:27:56 +0000 (13:27 -0000)]
add two key constants for style caption and content.

8 years agoFix format-files.
Andreas Pakulat [Sat, 27 Feb 2010 13:27:46 +0000 (13:27 -0000)]
Fix format-files.

8 years agoStore the style to be able to update the preview properly.
Andreas Pakulat [Sat, 27 Feb 2010 13:27:35 +0000 (13:27 -0000)]
Store the style to be able to update the preview properly.

8 years agoAdd default values for left/right context.
Andreas Pakulat [Sat, 27 Feb 2010 13:27:25 +0000 (13:27 -0000)]
Add default values for left/right context.

8 years agoDrop setStyle/style api and add a new one for format with a style.
Andreas Pakulat [Sat, 27 Feb 2010 13:27:14 +0000 (13:27 -0000)]
Drop setStyle/style api and add a new one for format with a style.

This is needed for settings kcm for sourceformatter and the setStyle
api is not needed anymore.

8 years agowhitespace fix.
Andreas Pakulat [Sat, 27 Feb 2010 13:27:02 +0000 (13:27 -0000)]
whitespace fix.

8 years agoadd function to fetch configured style for a mimetype.
Andreas Pakulat [Sat, 27 Feb 2010 13:26:52 +0000 (13:26 -0000)]
add function to fetch configured style for a mimetype.

Will be needed for the formatters to read the configured style
for formatting.

8 years agodisable sorting for now as this causes problems when editing names.
Andreas Pakulat [Sat, 27 Feb 2010 13:26:42 +0000 (13:26 -0000)]
disable sorting for now as this causes problems when editing names.

8 years agoFix naming of the widgets a bit.
Andreas Pakulat [Sat, 27 Feb 2010 13:26:30 +0000 (13:26 -0000)]
Fix naming of the widgets a bit.

8 years agoProvide a static key for the modeline setting.
Andreas Pakulat [Sat, 27 Feb 2010 13:26:19 +0000 (13:26 -0000)]
Provide a static key for the modeline setting.

Makes it shareable with the kcm so we don't duplicate hardcoded strings.

8 years agoMake configuration public to re-use it.
Andreas Pakulat [Sat, 27 Feb 2010 13:26:05 +0000 (13:26 -0000)]
Make configuration public to re-use it.

8 years agoFix indentation.
Andreas Pakulat [Sat, 27 Feb 2010 13:25:53 +0000 (13:25 -0000)]
Fix indentation.