kate:kate1.git
7 years agoSVN commit 1146719 by beschow:
Bernhard Beschow [Tue, 6 Jul 2010 13:35:19 +0000 (15:35 +0200)]
SVN commit 1146719 by beschow:

have booleans instead of a single flag for document config options

7 years agoAdd recover bar to topViewBar instead of bottomViewBar
Dominik Haumann [Tue, 6 Jul 2010 13:32:32 +0000 (15:32 +0200)]
Add recover bar to topViewBar instead of bottomViewBar
+ fix placement of topViewBar. This never worked, jowenn... ;)

7 years agoshow warning pixmap + add checkbox to ignore whitespace changes in diff
Dominik Haumann [Tue, 6 Jul 2010 13:14:32 +0000 (15:14 +0200)]
show warning pixmap + add checkbox to ignore whitespace changes in diff

7 years agoMerge branch 'master' of gitorious.org:kate/kate
Dominik Haumann [Mon, 5 Jul 2010 22:40:13 +0000 (00:40 +0200)]
Merge branch 'master' of gitorious.org:kate/kate

7 years agomake hasBarWidget public, as it's useful if you call removeBarWidget
Dominik Haumann [Mon, 5 Jul 2010 22:38:59 +0000 (00:38 +0200)]
make hasBarWidget public, as it's useful if you call removeBarWidget
Can be used to hide the power search bar

7 years agoadd unit test for bug 243636
Milian Wolff [Mon, 5 Jul 2010 22:34:39 +0000 (00:34 +0200)]
add unit test for bug 243636

CCBUG: 243636

7 years agomake align usable from ScriptDocument
Milian Wolff [Mon, 5 Jul 2010 22:33:54 +0000 (00:33 +0200)]
make align usable from ScriptDocument

TODO: documentation

7 years agomake range + cursor api available in unit tests
Milian Wolff [Mon, 5 Jul 2010 22:33:12 +0000 (00:33 +0200)]
make range + cursor api available in unit tests

TODO: refactor to reuse KateScript if possible

7 years agoadd KateViewBar::removeBarWidget as complement of addBarWidget
Dominik Haumann [Mon, 5 Jul 2010 22:19:48 +0000 (00:19 +0200)]
add KateViewBar::removeBarWidget as complement of addBarWidget
addPermanentBarWidget also matches removePermanentBarWidget

7 years agoMerge branch 'master' of gitorious.org:kate/kate
Dominik Haumann [Mon, 5 Jul 2010 22:03:25 +0000 (00:03 +0200)]
Merge branch 'master' of gitorious.org:kate/kate

7 years agoRemove KateStackedWidget. It does not work anyway. And we don't even
Dominik Haumann [Mon, 5 Jul 2010 21:57:54 +0000 (23:57 +0200)]
Remove KateStackedWidget. It does not work anyway. And we don't even
want it because we want a common height for all "single-line" view bars

7 years agofix align on line of close brace
Milian Wolff [Mon, 5 Jul 2010 21:52:58 +0000 (23:52 +0200)]
fix align on line of close brace

TODO: backport to 4.5

7 years agosync small changes from SVN
Christoph Cullmann [Mon, 5 Jul 2010 20:14:47 +0000 (22:14 +0200)]
sync small changes from SVN

7 years agosync small changes from SVN
Christoph Cullmann [Mon, 5 Jul 2010 20:14:12 +0000 (22:14 +0200)]
sync small changes from SVN

7 years agouse fdatasync for both file and swap file
Christoph Cullmann [Mon, 5 Jul 2010 19:53:52 +0000 (21:53 +0200)]
use fdatasync for both file and swap file
BUG: 203631
BUG: 76942
in addition, we have no vim like swap files, which will avoid any lost work, if kate crash during saving, too
they are fdatasynced, too

7 years agoremoving unnecessary lines
Diana [Mon, 5 Jul 2010 16:26:41 +0000 (19:26 +0300)]
removing unnecessary lines

7 years agoadd version string header
Christoph Cullmann [Mon, 5 Jul 2010 16:03:59 +0000 (18:03 +0200)]
add version string header

7 years agosupport for namespace attribut in repository files
Joseph Wenninger [Mon, 5 Jul 2010 15:26:35 +0000 (17:26 +0200)]
support for namespace attribut in repository files

7 years agoMerge the GSoC contribution by diana, first version.
Christoph Cullmann [Mon, 5 Jul 2010 15:11:16 +0000 (17:11 +0200)]
Merge the GSoC contribution by diana, first version.
Able to create and load vim like swap files for local documents in kate part.

Merge branch 'master' of git://gitorious.org/~dianat/kate/dianats-kate into integrate_swap

Conflicts:
part/document/katedocument.cpp

7 years agofew comments added
Diana [Mon, 5 Jul 2010 15:00:41 +0000 (18:00 +0300)]
few comments added

7 years agolicense added
Diana [Mon, 5 Jul 2010 14:31:32 +0000 (17:31 +0300)]
license added

7 years agoimplement user interface for swap file
Diana [Mon, 5 Jul 2010 14:11:13 +0000 (17:11 +0300)]
implement user interface for swap file

7 years agoFix for missing license header
Joseph Wenninger [Mon, 5 Jul 2010 13:51:58 +0000 (15:51 +0200)]
Fix for missing license header

7 years agotry to fix crash
Christoph Cullmann [Mon, 5 Jul 2010 13:26:26 +0000 (15:26 +0200)]
try to fix crash
add inc/dec ref to buffer, remove it from factory
fixes some unit test random errors, too
BUG: 243375

7 years agocatch zero height
Christoph Cullmann [Mon, 5 Jul 2010 12:34:58 +0000 (14:34 +0200)]
catch zero height
BUG: 233534

7 years agosorting and duplication removal of shortcut invoked completion.
Joseph Wenninger [Sun, 4 Jul 2010 21:42:18 +0000 (23:42 +0200)]
sorting and duplication removal of shortcut invoked completion.

Sorting is done on the matching information, filtering is done on
prefix, postfix, match, arguments and fillin data. Perhaps the discfile
and the script code should be considered too lateron.

7 years agofixed using swap file feature
Diana [Sun, 4 Jul 2010 14:54:46 +0000 (17:54 +0300)]
fixed using swap file feature

7 years agoeditor for keysequences
Joseph Wenninger [Sun, 4 Jul 2010 14:23:53 +0000 (16:23 +0200)]
editor for keysequences

7 years agofinish swap file saving & loading
Diana [Sun, 4 Jul 2010 14:14:13 +0000 (17:14 +0300)]
finish swap file saving & loading

7 years agoshortcut handling for snippets. One shortcut can be assigned to multiple
Joseph Wenninger [Sun, 4 Jul 2010 13:30:33 +0000 (15:30 +0200)]
shortcut handling for snippets. One shortcut can be assigned to multiple
snippets, config part missing yet (codewise)

7 years agodisable debug
Joseph Wenninger [Sat, 3 Jul 2010 10:43:56 +0000 (12:43 +0200)]
disable debug

7 years agodisable the python filter plugin by removing it from the mode config
Joseph Wenninger [Sat, 3 Jul 2010 10:37:56 +0000 (12:37 +0200)]
disable the python filter plugin by removing it from the mode config

7 years agosupport for (...) compound statements
Joseph Wenninger [Sat, 3 Jul 2010 10:26:28 +0000 (12:26 +0200)]
support for (...) compound statements

7 years agodefine z depths for the most common ranges in kate part, as discussed on kwrite-devel...
Christoph Cullmann [Sun, 4 Jul 2010 07:38:21 +0000 (09:38 +0200)]
define z depths for the most common ranges in kate part, as discussed on kwrite-devel some weeks ago
implementation should work, too, now
CCMAIL: kwrite-devel@kde.org
CCMAIL: kdevelop-devel@barney.cs.uni-potsdam.de

7 years agofix order of z depth, smaller z depths now really win during rendering
Christoph Cullmann [Sat, 3 Jul 2010 12:24:38 +0000 (14:24 +0200)]
fix order of z depth, smaller z depths now really win during rendering

7 years agoSVN commit 1144417 by pletourn:
Pascal Létourneau [Sat, 3 Jul 2010 12:01:06 +0000 (14:01 +0200)]
SVN commit 1144417 by pletourn:

Allow reusing words without first typing the start of a word

7 years agoSVN commit 1144412 by pletourn:
Pascal Létourneau [Sat, 3 Jul 2010 12:00:37 +0000 (14:00 +0200)]
SVN commit 1144412 by pletourn:

Remove selection only when receiving input

CCBUG:220308

7 years agoadd notes
Milian Wolff [Sat, 3 Jul 2010 09:43:44 +0000 (11:43 +0200)]
add notes

7 years agoproperly remove view as watcher from smartranges
Milian Wolff [Fri, 2 Jul 2010 21:40:57 +0000 (23:40 +0200)]
properly remove view as watcher from smartranges

Thanks to Konstantin Savenkov for the patch

TODO: backport to 4.4.x

BUG: 243365

7 years agodeactivate python encoding plugin, guess over its time
Christoph Cullmann [Tue, 29 Jun 2010 20:49:40 +0000 (22:49 +0200)]
deactivate python encoding plugin, guess over its time
solves problem not many people have but creates problems for others
BUG: 181927

7 years agoremove not needed debug output
Christoph Cullmann [Tue, 29 Jun 2010 19:32:34 +0000 (21:32 +0200)]
remove not needed debug output

7 years agoSVN commit 1144379 by pletourn:
Pascal Létourneau [Tue, 29 Jun 2010 19:27:09 +0000 (21:27 +0200)]
SVN commit 1144379 by pletourn:

Recompute scrollbar range on change of cache width
CCBUG:240583

7 years agoMerge commit 'refs/merge-requests/8' of git://gitorious.org/kate/kate
Christoph Cullmann [Thu, 24 Jun 2010 17:47:47 +0000 (19:47 +0200)]
Merge commit 'refs/merge-requests/8' of git://gitorious.org/kate/kate

7 years agoSVN commit 1140837 by uwolfer:
Urs Wolfer [Thu, 24 Jun 2010 17:40:19 +0000 (19:40 +0200)]
SVN commit 1140837 by uwolfer:

optimizegraphics: Losslessly optimized PNG and SVGZ files with "optipng -o5" and "advdef -z -4".
Reduced disk space: 6972KB (6MB)

7 years agofix highlight of token in assigment
Milian Wolff [Wed, 23 Jun 2010 22:44:44 +0000 (00:44 +0200)]
fix highlight of token in assigment

7 years agomore highlights of ASTnode uses, better support for temporary/member variables
Milian Wolff [Wed, 23 Jun 2010 22:39:48 +0000 (00:39 +0200)]
more highlights of ASTnode uses, better support for temporary/member variables

7 years agoMake lua the default indenter for lua highlighted files.
Jonathan Schmidt-Dominé [Wed, 23 Jun 2010 20:16:33 +0000 (22:16 +0200)]
Make lua the default indenter for lua highlighted files.

7 years agoAdded lua-indenter
Jonathan Schmidt-Dominé [Wed, 23 Jun 2010 20:14:59 +0000 (22:14 +0200)]
Added lua-indenter

7 years agoMerge branch 'master' of gitorious.org:kate/kate
Milian Wolff [Wed, 23 Jun 2010 15:56:34 +0000 (17:56 +0200)]
Merge branch 'master' of gitorious.org:kate/kate

7 years agodon't crash in removeTrailingSpace when we have no activeView, add test
Milian Wolff [Wed, 23 Jun 2010 15:56:18 +0000 (17:56 +0200)]
don't crash in removeTrailingSpace when we have no activeView, add test

BUG: 242611

7 years agohighlight AstNode (common) uses and declarations
Milian Wolff [Wed, 23 Jun 2010 12:17:21 +0000 (14:17 +0200)]
highlight AstNode (common) uses and declarations

7 years agomake all-uppercase tokens highlighted as keywords
Milian Wolff [Wed, 23 Jun 2010 11:49:05 +0000 (13:49 +0200)]
make all-uppercase tokens highlighted as keywords

7 years agoSave & load fixed.. moving to the recovery option.
Diana [Wed, 23 Jun 2010 11:27:55 +0000 (14:27 +0300)]
Save & load fixed.. moving to the recovery option.

7 years agoskip c-comments for real after CKeywords
Milian Wolff [Sun, 20 Jun 2010 23:12:08 +0000 (01:12 +0200)]
skip c-comments for real after CKeywords

BUG: 189339

7 years agotest validity of indenter script so I don't fail again and commit an invalid script
Milian Wolff [Sun, 20 Jun 2010 23:04:24 +0000 (01:04 +0200)]
test validity of indenter script so I don't fail again and commit an invalid script

7 years agoRevert "ignore comments in tryCKeywords" - utter fail
Milian Wolff [Sun, 20 Jun 2010 22:49:34 +0000 (00:49 +0200)]
Revert "ignore comments in tryCKeywords" - utter fail

This reverts commit 08d5e59215cbc75ef1c0e902605730bbbdd0f745.

7 years agoignore comments in tryCKeywords
Milian Wolff [Sun, 20 Jun 2010 22:45:03 +0000 (00:45 +0200)]
ignore comments in tryCKeywords

BUG: 189339

7 years agoMerge commit 'refs/merge-requests/7' of git://gitorious.org/kate/kate into integration
Christoph Cullmann [Sun, 20 Jun 2010 19:24:40 +0000 (21:24 +0200)]
Merge commit 'refs/merge-requests/7' of git://gitorious.org/kate/kate into integration

7 years agoPolishing
Miquel Sabaté [Sun, 20 Jun 2010 19:08:29 +0000 (21:08 +0200)]
Polishing

7 years agoPolishing Proxy model
Miquel Sabaté [Sun, 20 Jun 2010 18:55:29 +0000 (20:55 +0200)]
Polishing Proxy model

7 years agoSVN commit 1140302 by beschow:
Bernhard Beschow [Sun, 20 Jun 2010 17:30:40 +0000 (19:30 +0200)]
SVN commit 1140302 by beschow:

comment out unfixable(?) failing test

7 years agoSVN commit 1140301 by beschow:
Bernhard Beschow [Sun, 20 Jun 2010 17:30:28 +0000 (19:30 +0200)]
SVN commit 1140301 by beschow:

fix $-regex bug

BUG: 241757

7 years agocontributed patch for bug 213964, crash in code folding
Stefan Schenk [Sat, 19 Jun 2010 13:18:35 +0000 (15:18 +0200)]
contributed patch for bug 213964, crash in code folding
author: Stefan Schenk
BUG: 213964

7 years agoforgot to remove subclassing
Dominik Haumann [Fri, 18 Jun 2010 06:42:11 +0000 (08:42 +0200)]
forgot to remove subclassing

7 years agoadd header "i18n-catalog" for java-scripts
Dominik Haumann [Thu, 17 Jun 2010 21:40:55 +0000 (23:40 +0200)]
add header "i18n-catalog" for java-scripts

todo: verify it works as expected (how?)

7 years agofix porting bug, sorry.
Dominik Haumann [Wed, 16 Jun 2010 21:52:39 +0000 (23:52 +0200)]
fix porting bug, sorry.

7 years agofix negation error
Dominik Haumann [Wed, 16 Jun 2010 21:35:35 +0000 (23:35 +0200)]
fix negation error

7 years agotransform QString token to KTextEditor::TemplateScript* as identifier
Dominik Haumann [Wed, 16 Jun 2010 20:28:56 +0000 (22:28 +0200)]
transform QString token to KTextEditor::TemplateScript* as identifier

7 years agoBetter colors for Pango.
Jonathan Schmidt-Dominé [Wed, 16 Jun 2010 14:53:26 +0000 (16:53 +0200)]
Better colors for Pango.

7 years agoAdded syntax-file (highlighter) for the Wesnoth Markup Language (WML, wml.xml)
Jonathan Schmidt-Dominé [Tue, 15 Jun 2010 22:54:44 +0000 (00:54 +0200)]
Added syntax-file (highlighter) for the Wesnoth Markup Language (WML, wml.xml)

7 years agotry to fix replaceText, I think, insertText is a pure mess
Christoph Cullmann [Tue, 15 Jun 2010 17:40:44 +0000 (19:40 +0200)]
try to fix replaceText, I think, insertText is a pure mess
who ever wrote the variant with the qstringlist didn't think a second but copied the code from insertText with normal text....
epic fail :/

7 years agoadd test showing assertion in replaceText with stringlist
Milian Wolff [Tue, 15 Jun 2010 17:16:30 +0000 (19:16 +0200)]
add test showing assertion in replaceText with stringlist

7 years agoAdded beginRegion/endRegion and default-indenter (xml) to Pango
Jonathan Schmidt-Dominé [Sun, 13 Jun 2010 21:10:50 +0000 (23:10 +0200)]
Added beginRegion/endRegion and default-indenter (xml) to Pango

7 years agoMerge branch 'master' of git://gitorious.org/kate/kate
Jonathan Schmidt-Dominé [Sun, 13 Jun 2010 20:26:12 +0000 (22:26 +0200)]
Merge branch 'master' of git://gitorious.org/kate/kate

7 years agoAdded Pango-Highlighter
Jonathan Schmidt-Dominé [Sun, 13 Jun 2010 20:25:33 +0000 (22:25 +0200)]
Added Pango-Highlighter

7 years agotried to use z depth
Christoph Cullmann [Sun, 13 Jun 2010 18:50:53 +0000 (20:50 +0200)]
tried to use z depth
I see color composition but no real effect :P
david, perhaps you could take a look
atm for example good things to compare: folding hover + bracket matching
bracket matching still has default 0.0, but no matter which depth I give the folding hover, will just change the color and not win :P

7 years agoimplement z-depth
Christoph Cullmann [Sun, 13 Jun 2010 18:07:27 +0000 (20:07 +0200)]
implement z-depth
not sure, if I not do the comparison exactly the wrong way around, but david will notice, then we just need to swap the compare in rangeLessThanForRenderer

7 years ago;) nice try, but line and column must be references ;)
Christoph Cullmann [Sun, 13 Jun 2010 17:49:09 +0000 (19:49 +0200)]
;) nice try, but line and column must be references ;)

7 years agoSVN commit 1137601 by beschow:
Bernhard Beschow [Sun, 13 Jun 2010 17:41:17 +0000 (19:41 +0200)]
SVN commit 1137601 by beschow:

warnings--

7 years agoSVN commit 1137590 by beschow:
Bernhard Beschow [Sun, 13 Jun 2010 17:41:04 +0000 (19:41 +0200)]
SVN commit 1137590 by beschow:

add more anchor tests

7 years agoSVN commit 1137589 by beschow:
Bernhard Beschow [Sun, 13 Jun 2010 17:40:46 +0000 (19:40 +0200)]
SVN commit 1137589 by beschow:

fix some regex bugs

There are still some unfixable regex bugs due to QRegExp limitations:
* for $ there are no equivalent match options as for ^
* reverse matching is not greedy in some cases, although otherwise requested

BUG: 241424

7 years agoSVN commit 1137588 by beschow:
Bernhard Beschow [Sun, 13 Jun 2010 17:40:30 +0000 (19:40 +0200)]
SVN commit 1137588 by beschow:

add anchor tests

7 years agoSVN commit 1137584 by zwabel:
David Nolden [Sun, 13 Jun 2010 17:39:37 +0000 (19:39 +0200)]
SVN commit 1137584 by zwabel:

- Add a much faster version of transformCursor(..) that just takes two intergers instead of a KTextEditor::Cursor.
- Use the simple variant as backend of the other variants, which should make the transformation much faster in general.

7 years agobetter reproducible crash this way
Dominik Haumann [Sat, 12 Jun 2010 18:12:22 +0000 (20:12 +0200)]
better reproducible crash this way

7 years agoadd test case for bug #213964
Dominik Haumann [Sat, 12 Jun 2010 18:05:04 +0000 (20:05 +0200)]
add test case for bug #213964

Should always crash (it doesn't here, this probably is due to not all Qt
events are processed as it usualy happens when typing in a KateView)

7 years agodraw an open box to mark non-breaking spaces
Erlend Hamberg [Sat, 12 Jun 2010 14:06:29 +0000 (16:06 +0200)]
draw an open box to mark non-breaking spaces

7 years agoadd namespace keyword
Milian Wolff [Fri, 11 Jun 2010 12:58:37 +0000 (14:58 +0200)]
add namespace keyword

7 years agofix coding style.
Dominik Haumann [Tue, 8 Jun 2010 20:58:30 +0000 (22:58 +0200)]
fix coding style.

@jowenn:
- abusing the constructor parameter "QString urlOrScript" to have two
  different semantics is an ugly hack. What about inheritance? Or a
  content provider or some other way?
- please stick to the coding style in files (for the 32498573948! time (! is the faculty operator))

Dominik

CCMAIL: jowenn@kde.org

7 years agofix coding style.
Dominik Haumann [Tue, 8 Jun 2010 20:53:39 +0000 (22:53 +0200)]
fix coding style.

@jowenn:
- what is a "token" (I don't get this)
- why do we need the "owners" (I don't get this)
- please use the standard coding style, as everyone else (I especially don't get this...)

CCMAIL: jowenn@kde.org

7 years agomove helper functions to own file
Dominik Haumann [Mon, 7 Jun 2010 18:07:32 +0000 (20:07 +0200)]
move helper functions to own file

7 years agoSVN commit 1135174 by pletourn:
Pascal Létourneau [Mon, 7 Jun 2010 17:22:40 +0000 (19:22 +0200)]
SVN commit 1135174 by pletourn:

Revert last commit (I misunderstood the smartness of smartReturn)
But I added a case for '_'

7 years agoSVN commit 1134980 by pletourn:
Pascal Létourneau [Mon, 7 Jun 2010 17:22:27 +0000 (19:22 +0200)]
SVN commit 1134980 by pletourn:

Only copy spaces on smart return

BUG:240847

7 years agoSVN commit 1134651 by pletourn:
Pascal Létourneau [Mon, 7 Jun 2010 17:22:11 +0000 (19:22 +0200)]
SVN commit 1134651 by pletourn:

Zero item (needed now that we use foreach)

7 years agoSVN commit 1134283 by pletourn:
Pascal Létourneau [Mon, 7 Jun 2010 17:22:00 +0000 (19:22 +0200)]
SVN commit 1134283 by pletourn:

Use QKeyEvent::modifiers()

7 years agoSVN commit 1132545 by pletourn:
Pascal Létourneau [Mon, 7 Jun 2010 17:21:45 +0000 (19:21 +0200)]
SVN commit 1132545 by pletourn:

Add missing connection

7 years agoSVN commit 1132540 by pletourn:
Pascal Létourneau [Mon, 7 Jun 2010 17:21:29 +0000 (19:21 +0200)]
SVN commit 1132540 by pletourn:

Update m_displayCursor in case m_cursor was modified beyond our back
Prevent a crash

7 years agoSVN commit 1132402 by coles:
Andrew Coles [Mon, 7 Jun 2010 17:20:48 +0000 (19:20 +0200)]
SVN commit 1132402 by coles:

Proof-reading, changing three messages in kdesdk/kate.po.

- Added missing s to words which should plurals

CCMAIL: kde-i18n-doc@kde.org

7 years agoreformat sources
Milian Wolff [Mon, 7 Jun 2010 14:47:09 +0000 (16:47 +0200)]
reformat sources

please jowenn, use the sourrounding code style of a file... *sigh*

7 years agoexport KDE's translation functions like in Kross
Dominik Haumann [Sun, 6 Jun 2010 19:50:24 +0000 (21:50 +0200)]
export KDE's translation functions like in Kross

based on code from kdelibs/kross/modules/translation.cpp
Dag: Please quickly review and give your OK with the license, as this
     is only LGPL v2/v3 in Kate Part (iiuc, there is no conflict anyway)

CCMAIL: danders@get2net.dk

7 years agofixed two typos. thanks to Martin Schlanderfor reporting them.
Erlend Hamberg [Fri, 4 Jun 2010 16:50:22 +0000 (18:50 +0200)]
fixed two typos. thanks to Martin Schlanderfor reporting them.