kate:kate.git
7 years agomake sure that the returned default style has the correct background
Milian Wolff [Sun, 5 Sep 2010 19:08:26 +0000 (21:08 +0200)]
make sure that the returned default style has the correct background

7 years ago- Now C-style comments are the default ones when Ctrl+D shortcut has been typed.
Miquel Sabaté [Tue, 31 Aug 2010 22:11:47 +0000 (00:11 +0200)]
- Now C-style comments are the default ones when Ctrl+D shortcut has been typed.
- RegExpr string of Label changed and Labels are now highlighted as keywords.
- There was a typo in a keyword: appfile -> app-file
- Added # as a singleLine comment character.
- Added following keywords: .intel_syntex, .att_syntax, noprefix, .code16, .code32, .rodata
- Chars hightlighting has been fixed.

7 years agoSVN commit 1171140 by ltoscano:
Luigi Toscano [Sat, 4 Sep 2010 18:51:54 +0000 (20:51 +0200)]
SVN commit 1171140 by ltoscano:

Make xmlcheck plugin working with external Docbook XML DTDs.

- Import only the ksgmltools2/customization/catalog.xml (the internal
  catalog), which in turn imports the system-provided catalog.
- Use XML_CATALOG_FILES instead of SGML_CATALOG_FILES (and thus exclude
  --catalog from xmllint command line)

7 years agoSVN commit 1170394 by sars:
Kåre Särs [Sat, 4 Sep 2010 18:51:35 +0000 (20:51 +0200)]
SVN commit 1170394 by sars:

Revert removing of "prototype" for go to definition.

7 years agoSVN commit 1170384 by sars:
Kåre Särs [Sat, 4 Sep 2010 18:51:25 +0000 (20:51 +0200)]
SVN commit 1170384 by sars:

Actually search the common db the ...

7 years agoSVN commit 1170382 by sars:
Kåre Särs [Sat, 4 Sep 2010 18:51:14 +0000 (20:51 +0200)]
SVN commit 1170382 by sars:

Redo the configuration to have one common database and one session specific.
First search the session db then if nothing was found search the common one.

7 years agoSVN commit 1169953 by mlaurent:
Laurent Montel [Sat, 4 Sep 2010 18:50:34 +0000 (20:50 +0200)]
SVN commit 1169953 by mlaurent:

don't use deprecated signal

7 years agoSVN commit 1171431 by aacid:
Albert Astals Cid [Sat, 4 Sep 2010 18:38:43 +0000 (20:38 +0200)]
SVN commit 1171431 by aacid:

const & in foreach

7 years agoSVN commit 1171087 by sebsauer:
Sebastian Sauer [Sat, 4 Sep 2010 18:38:23 +0000 (20:38 +0200)]
SVN commit 1171087 by sebsauer:

Added Accessibility to the kdelibs/kate KTextEditor.
http://svn.reviewboard.kde.org/r/5232/

7 years agorange went past EOL
Erlend Hamberg [Sat, 4 Sep 2010 13:14:40 +0000 (15:14 +0200)]
range went past EOL

7 years agoindent after “foo = do bar <- baz”
Erlend Hamberg [Sat, 4 Sep 2010 12:36:32 +0000 (14:36 +0200)]
indent after “foo = do bar <- baz”

7 years agoprint hex codes like vim does
Erlend Hamberg [Fri, 3 Sep 2010 21:23:33 +0000 (23:23 +0200)]
print hex codes like vim does

7 years agodon't deprecate TemplateInterface v1, it's fine to use that if we don't want Template...
Milian Wolff [Fri, 3 Sep 2010 14:46:42 +0000 (16:46 +0200)]
don't deprecate TemplateInterface v1, it's fine to use that if we don't want TemplateScript support

7 years agoonly ignore next modified on disk signal on window blocked event, when view is visible
Milian Wolff [Fri, 3 Sep 2010 12:39:49 +0000 (14:39 +0200)]
only ignore next modified on disk signal on window blocked event, when view is visible

BUG: 188101

7 years agoadd GDB Backtrace highlight file, colors should be similar to those in DrKonqi (in...
Milian Wolff [Thu, 2 Sep 2010 18:19:54 +0000 (20:19 +0200)]
add GDB Backtrace highlight file, colors should be similar to those in DrKonqi (in Obsidian Coast they are...)

7 years agonew, improved syntax files for haskell
Erlend Hamberg [Thu, 2 Sep 2010 18:47:32 +0000 (20:47 +0200)]
new, improved syntax files for haskell

The syntax files are made by Nicolas Wu and improves the previous version in
many ways:

* Operators are now supported (++, !, >>=, and any other combination
  of legal operator characters)
* Special symbols are recognised (=>, <-, ->, ::, ..)
* Unicode support for  →, ←, ∷, ‥,⇒, ∀, ∃
* Support for qualified module functions (List.sort, etc)
* Support for qualified module types
* Refactored Literate Haskell using IncludeRules
* Support for literate code (using > and \begin{code} \end{code})
* Support for literate specifications (using < and \begin{spec}
  \end{spec})

7 years agor1169900 | mludwig | 2010-08-30 10:54:23 +0200 (Mon, 30 Aug 2010) | 6 lines
Michel Ludwig [Thu, 2 Sep 2010 15:50:14 +0000 (17:50 +0200)]
r1169900 | mludwig | 2010-08-30 10:54:23 +0200 (Mon, 30 Aug 2010) | 6 lines

Fix detection of nested math modes for LaTeX syntax highlighting.

Patch by Thomas Braun.

BUG: 223151

7 years ago--debug
Milian Wolff [Wed, 1 Sep 2010 17:31:36 +0000 (19:31 +0200)]
--debug

7 years agoclear marks before clearing the buffer, prevents crash on reload when marks are available
Milian Wolff [Wed, 1 Sep 2010 15:53:56 +0000 (17:53 +0200)]
clear marks before clearing the buffer, prevents crash on reload when marks are available

7 years agowarn the user, if the document was modified before recovery. Will result in broken...
Dominik Haumann [Mon, 30 Aug 2010 21:17:41 +0000 (23:17 +0200)]
warn the user, if the document was modified before recovery. Will result in broken replay otherwise.

todo: mark file as read-only as long as the recover-bar is shown...

7 years agouse "folder" icon instead of "folder-blue"
Dominik Haumann [Mon, 30 Aug 2010 17:35:50 +0000 (19:35 +0200)]
use "folder" icon instead of "folder-blue"

7 years agoSVN commit 1169580 by mludwig:
Michel Ludwig [Sun, 29 Aug 2010 18:44:11 +0000 (20:44 +0200)]
SVN commit 1169580 by mludwig:

Lower the guard for the KDE version containing 'Sonnet::BackgroundChecker::restore' to 4.5.2.

7 years agoremove edit source, good idea, never got really used, if we want that, must go to...
Christoph Cullmann [Sun, 29 Aug 2010 15:25:16 +0000 (17:25 +0200)]
remove edit source, good idea, never got really used, if we want that, must go to buffer perhaps

7 years agoint => bool, typo
Christoph Cullmann [Sun, 29 Aug 2010 13:41:53 +0000 (15:41 +0200)]
int => bool, typo

7 years agoremove other queued connect, was no longer used
Christoph Cullmann [Sun, 29 Aug 2010 13:27:46 +0000 (15:27 +0200)]
remove other queued connect, was no longer used

7 years agono smart lock, no queued connects
Christoph Cullmann [Sun, 29 Aug 2010 13:22:53 +0000 (15:22 +0200)]
no smart lock, no queued connects

7 years agoguard the new code
Christoph Cullmann [Sun, 29 Aug 2010 13:19:29 +0000 (15:19 +0200)]
guard the new code
we want to let kate still build against last stable, to ease development, as long as possible without to much hacks

BUG: 244907
CCMAIL: kwrite-devel@kde.org

7 years agoSVN commit 1169440 by mludwig:
Michel Ludwig [Sun, 29 Aug 2010 13:14:24 +0000 (15:14 +0200)]
SVN commit 1169440 by mludwig:

- Add a 'restore' method to 'Sonnet::BackgroundChecker', which allows it to read a given spell check configuration and then to pass it on to the filter object that is used internally. The implementation is similar to what is done inside 'Sonnet::Highlighter'.
- Use the restore method inside KatePart to finally fix bug 244907 for KatePart as well.

(Once this is merged with Kate's git repository, Kate devs will have to update their working copy of kdelibs.)

BUG: 244907
CCMAIL: kwrite-devel@kde.org

7 years agoless complexity
Christoph Cullmann [Sun, 29 Aug 2010 13:10:22 +0000 (15:10 +0200)]
less complexity

7 years agoremove the need for kateedit there
Christoph Cullmann [Sun, 29 Aug 2010 13:04:06 +0000 (15:04 +0200)]
remove the need for kateedit there

7 years agoless internal API
Christoph Cullmann [Sat, 28 Aug 2010 17:57:23 +0000 (19:57 +0200)]
less internal API

7 years agostart to remove KateEdit, we don't need two histories, the swap files show the new...
Christoph Cullmann [Sat, 28 Aug 2010 17:53:12 +0000 (19:53 +0200)]
start to remove KateEdit, we don't need two histories, the swap files show the new way with 4 small editing primitives works well

7 years agoSVN commit 1168386 by mentasti:
Marco Mentasti [Fri, 27 Aug 2010 19:42:52 +0000 (21:42 +0200)]
SVN commit 1168386 by mentasti:

UI strings changed in according to KUIT semantic markup

7 years agoSVN commit 1168020 by stikonas:
Andrius Štikonas [Fri, 27 Aug 2010 19:42:19 +0000 (21:42 +0200)]
SVN commit 1168020 by stikonas:

Add context to translatable string.

7 years agoshrink enum
Christoph Cullmann [Wed, 25 Aug 2010 20:33:08 +0000 (22:33 +0200)]
shrink enum

7 years agoSVN commit 1167869 by jtamate:
Jaime Torres Amate [Wed, 25 Aug 2010 19:54:35 +0000 (21:54 +0200)]
SVN commit 1167869 by jtamate:

delete some uneeded  if (pointer not null)
http://reviewboard.kde.org/r/5021/

7 years agoonly six points are needed (and used)
Erlend Hamberg [Wed, 25 Aug 2010 12:17:00 +0000 (14:17 +0200)]
only six points are needed (and used)

7 years agoremove old test regression
Christoph Cullmann [Wed, 25 Aug 2010 09:20:16 +0000 (11:20 +0200)]
remove old test regression

7 years agoless locks, now that no longer allowed to be accessed from outside gui thread, which...
Christoph Cullmann [Mon, 23 Aug 2010 19:57:42 +0000 (21:57 +0200)]
less locks, now that no longer allowed to be accessed from outside gui thread, which NEVER worked correct

7 years agoremove no longer neede threadlocal storage, nobody should access this from other...
Christoph Cullmann [Mon, 23 Aug 2010 19:44:42 +0000 (21:44 +0200)]
remove no longer neede threadlocal storage, nobody should access this from other threads

7 years agoSVN commit 1167022 by tfjellstrom:
Thomas Fjellstrom [Mon, 23 Aug 2010 19:13:27 +0000 (21:13 +0200)]
SVN commit 1167022 by tfjellstrom:

actually add license header to katefiletreeproxymodel.cpp, and apply fixes suggested by krazy2

7 years agoSVN commit 1167015 by tfjellstrom:
Thomas Fjellstrom [Mon, 23 Aug 2010 19:13:17 +0000 (21:13 +0200)]
SVN commit 1167015 by tfjellstrom:

change qDebug to kDebug, and add license header to katefiletreeproxymodel.cpp, suggested by tmcguire, Sho_ and pinotree from #kde-devel

7 years agoSVN commit 1166996 by tfjellstrom:
Thomas Fjellstrom [Mon, 23 Aug 2010 19:13:02 +0000 (21:13 +0200)]
SVN commit 1166996 by tfjellstrom:

add file tree plugin, displays open documents in a tree

7 years agoSVN commit 1166732 by pletourn:
Pascal Létourneau [Mon, 23 Aug 2010 19:11:52 +0000 (21:11 +0200)]
SVN commit 1166732 by pletourn:

Partly revert r727015

BUG:244498

7 years agoSVN commit 1166703 by aacid:
Albert Astals Cid [Mon, 23 Aug 2010 19:11:34 +0000 (21:11 +0200)]
SVN commit 1166703 by aacid:

fix Messages.sh after yesterday change in extract-messages.sh

7 years agoSVN commit 1166438 by pletourn:
Pascal Létourneau [Mon, 23 Aug 2010 19:11:15 +0000 (21:11 +0200)]
SVN commit 1166438 by pletourn:

Let's see if that help

CCBUG:239070

7 years agoSVN commit 1166433 by pletourn:
Pascal Létourneau [Mon, 23 Aug 2010 19:10:59 +0000 (21:10 +0200)]
SVN commit 1166433 by pletourn:

Don't use inappropriate background

7 years agoSVN commit 1166432 by aacid:
Albert Astals Cid [Mon, 23 Aug 2010 19:10:40 +0000 (21:10 +0200)]
SVN commit 1166432 by aacid:

do not rely on extract-messages.sh doing the work for us

7 years agoSVN commit 1166429 by pletourn:
Pascal Létourneau [Mon, 23 Aug 2010 19:10:07 +0000 (21:10 +0200)]
SVN commit 1166429 by pletourn:

Prevent a crash on a null codec

7 years agoSVN commit 1165548 by mentasti:
Marco Mentasti [Mon, 23 Aug 2010 19:09:38 +0000 (21:09 +0200)]
SVN commit 1165548 by mentasti:

oops, fixed crash when the user reject to open kwallet

7 years agomake sure no completion model is registered twice, as that might lead to duplicate...
Milian Wolff [Mon, 16 Aug 2010 23:24:12 +0000 (01:24 +0200)]
make sure no completion model is registered twice, as that might lead to duplicate entries and is simply not wanted

7 years agoSVN commit 1163279 by mentasti:
Marco Mentasti [Sun, 15 Aug 2010 17:36:16 +0000 (19:36 +0200)]
SVN commit 1163279 by mentasti:

implemented kwallet as a password storage.
added action to change connection parameters without delete and recreate it manually.
connection management refactored. Now connections that don't work are not "trashed" but only marked as inactive, to let the user to change connection parameters.

7 years agoSVN commit 1163230 by mentasti:
Marco Mentasti [Sun, 15 Aug 2010 17:36:03 +0000 (19:36 +0200)]
SVN commit 1163230 by mentasti:

added button in Data Outptut Panel to format numbers and dates according to KDE system locale

7 years agoSVN commit 1163227 by mentasti:
Marco Mentasti [Sun, 15 Aug 2010 17:35:43 +0000 (19:35 +0200)]
SVN commit 1163227 by mentasti:

added list of connections with radiobutton in SQL menu

7 years agoSVN commit 1162348 by sars:
Kåre Särs [Sun, 15 Aug 2010 17:35:10 +0000 (19:35 +0200)]
SVN commit 1162348 by sars:

Split the view and plugin into separate files
Add the first step for adding a common ctags db file

7 years agoSVN commit 1162318 by sars:
Kåre Särs [Sun, 15 Aug 2010 17:34:57 +0000 (19:34 +0200)]
SVN commit 1162318 by sars:

Add completer for the working directory

7 years agoprevent possible invalid KateGlobal pointer
Dominik Haumann [Sun, 15 Aug 2010 10:20:54 +0000 (12:20 +0200)]
prevent possible invalid KateGlobal pointer

7 years agoincRef/decRef for KateGlobal to make singleton valid
Dominik Haumann [Sun, 15 Aug 2010 10:11:23 +0000 (12:11 +0200)]
incRef/decRef for KateGlobal to make singleton valid

7 years agolast KateSmartCursor usage purged in the part
Christoph Cullmann [Fri, 13 Aug 2010 06:44:12 +0000 (08:44 +0200)]
last KateSmartCursor usage purged in the part

7 years agomissed a smart* include in the view
Christoph Cullmann [Wed, 11 Aug 2010 19:52:45 +0000 (21:52 +0200)]
missed a smart* include in the view

7 years agofirst try to have a kate part without smart* stuff
Christoph Cullmann [Wed, 11 Aug 2010 19:50:20 +0000 (21:50 +0200)]
first try to have a kate part without smart* stuff
what is missing: one case in drag and drop and testing
guess the old edit history can go to trash, too, later

7 years agoSVN commit 1161681 by mentasti:
Marco Mentasti [Wed, 11 Aug 2010 18:49:10 +0000 (20:49 +0200)]
SVN commit 1161681 by mentasti:

fixed shortcut conflict

7 years agoMerge commit 'refs/merge-requests/15' of git://gitorious.org/kate/kate
Christoph Cullmann [Wed, 11 Aug 2010 18:43:56 +0000 (20:43 +0200)]
Merge commit 'refs/merge-requests/15' of git://gitorious.org/kate/kate

7 years agoMerge commit 'refs/merge-requests/14' of git://gitorious.org/kate/kate
Christoph Cullmann [Wed, 11 Aug 2010 18:43:03 +0000 (20:43 +0200)]
Merge commit 'refs/merge-requests/14' of git://gitorious.org/kate/kate

7 years agoMerge commit 'refs/merge-requests/13' of git://gitorious.org/kate/kate
Christoph Cullmann [Wed, 11 Aug 2010 18:42:27 +0000 (20:42 +0200)]
Merge commit 'refs/merge-requests/13' of git://gitorious.org/kate/kate

7 years agoalso add semicolon when adding parent classes
Milian Wolff [Mon, 9 Aug 2010 11:32:50 +0000 (13:32 +0200)]
also add semicolon when adding parent classes

7 years agoMerge commit 'refs/merge-requests/12' of git://gitorious.org/kate/kate into integration
Christoph Cullmann [Sun, 8 Aug 2010 12:15:28 +0000 (14:15 +0200)]
Merge commit 'refs/merge-requests/12' of git://gitorious.org/kate/kate into integration

7 years agodebug helper output, show me if a loading try with an encoding failed
Christoph Cullmann [Sat, 7 Aug 2010 19:52:13 +0000 (21:52 +0200)]
debug helper output, show me if a loading try with an encoding failed
the bug 245334 is invalid
if you try to open a file which is not utf-8 == contains invalid characters, the encoding detection will kick in
this is intended behaviour, else you can loose file content
while i can understand, that people might want to enforce an encoding even if it is wrong, if they have multiple encodings in one file, which is btw. no good idea, this is a wish
CCBUG: 245334

7 years agoSVN commit 1158818 by mwoehlke:
Matthew Woehlke [Sat, 7 Aug 2010 18:58:56 +0000 (20:58 +0200)]
SVN commit 1158818 by mwoehlke:

delay trailing-space-removal until config/variables are parsed

Move removal of trailing spaces from KateTextBuffer::load to
KateDocument::openFile, after config and variable parsing (which might tell
us not to remove trailing space!) has been performed. Note that the removal
also now goes into the undo stack; for now we're considering this a good
thing.

BUG: 239077

7 years agoBUG 208762 15
Christian Loose [Sat, 7 Aug 2010 05:01:58 +0000 (05:01 +0000)]
BUG 208762

Fix highlighting of "if="-option of command dd in a bash file.

7 years agoMerge remote branch 'kate-mainline/master'
Christian Loose [Sat, 7 Aug 2010 04:31:29 +0000 (04:31 +0000)]
Merge remote branch 'kate-mainline/master'

7 years agoBUG 197001 14
Christian Loose [Sat, 7 Aug 2010 03:56:27 +0000 (03:56 +0000)]
BUG 197001

Fix ordering in the File menu.

7 years agoBUG 246647 13
Christian Loose [Sat, 7 Aug 2010 02:12:21 +0000 (02:12 +0000)]
BUG 246647

Save print options in config file katerc

7 years agoBUG 239866 12
Christian Loose [Fri, 6 Aug 2010 21:38:20 +0000 (21:38 +0000)]
BUG 239866

Change Bugzilla product name for kwrite to "kate/kwrite". Fixes the "Report Bug" feature.

7 years agofix: this code was inside the foreach where it most definitely shouldn't be...
Milian Wolff [Wed, 4 Aug 2010 22:21:56 +0000 (00:21 +0200)]
fix: this code was inside the foreach where it most definitely shouldn't be...

7 years agoImprove error handling. Warn the user if the swap file is broken.
Diana [Wed, 4 Aug 2010 17:17:02 +0000 (20:17 +0300)]
Improve error handling. Warn the user if the swap file is broken.

7 years agoSVN commit 1158785 by sars:
Kåre Särs [Tue, 3 Aug 2010 18:55:04 +0000 (20:55 +0200)]
SVN commit 1158785 by sars:

Set the current document directory as the default search directory if the line-edit is empty.

7 years agoSVN commit 1157875 by mlaurent:
Laurent Montel [Tue, 3 Aug 2010 18:54:42 +0000 (20:54 +0200)]
SVN commit 1157875 by mlaurent:

Fix forward declaration

7 years agoproperly stricke out text (which is actually called strikeOut...)
Milian Wolff [Tue, 3 Aug 2010 16:39:55 +0000 (18:39 +0200)]
properly stricke out text (which is actually called strikeOut...)

7 years agoimprove txt2tags syntax file, thanks to Eric Forgeot for the patch
Milian Wolff [Tue, 3 Aug 2010 16:25:04 +0000 (18:25 +0200)]
improve txt2tags syntax file, thanks to Eric Forgeot for the patch

BUG: 246606

7 years agoimprove rpm spec syntax highlighting
Milian Wolff [Mon, 2 Aug 2010 13:15:44 +0000 (15:15 +0200)]
improve rpm spec syntax highlighting

thanks for the patch go to Tim Fechtner

BUG: 246499

7 years agoSVN commit 1157518 by coles:
Andrew Coles [Sat, 31 Jul 2010 16:25:55 +0000 (18:25 +0200)]
SVN commit 1157518 by coles:

Proof-reading - reworded the second half of this message to make it sound less broken.  May need some more attention if
this is now too long?

7 years agoSVN commit 1157186 by aholzammer:
Andreas Holzammer [Sat, 31 Jul 2010 16:25:00 +0000 (18:25 +0200)]
SVN commit 1157186 by aholzammer:

- made kdelibs for wince static

7 years agoSVN commit 1156545 by sars:
Kåre Särs [Sat, 31 Jul 2010 16:21:56 +0000 (18:21 +0200)]
SVN commit 1156545 by sars:

Use QToolButton instead of KPushButton for the action like button in the setup gui

7 years agoSVN commit 1156544 by sars:
Kåre Särs [Sat, 31 Jul 2010 16:21:40 +0000 (18:21 +0200)]
SVN commit 1156544 by sars:

Use QToolButtons instead of KPushButtons for the action like buttons in the setup gui
(add cmake code to enable build separately from kdesdk)

7 years agofix crash for multiple main windows
Christoph Cullmann [Sat, 31 Jul 2010 16:12:44 +0000 (18:12 +0200)]
fix crash for multiple main windows

7 years agoMerge dimsuz-kate MR #11:
Dmitry Suzdalev [Fri, 30 Jul 2010 08:51:37 +0000 (12:51 +0400)]
Merge dimsuz-kate MR #11:

Improvements for the Quick Switcher plugin.

- Fix bug which prevented document from being switched if user clicked
  in second column before hitting OK
- Implement saving an alternate document for easy swithing (like b# in
    vim)
- Do not make list items editable - no point here
- Do switch if document in list is double clicked

7 years ago"no syncing" config option done
Diana [Thu, 29 Jul 2010 19:52:06 +0000 (22:52 +0300)]
"no syncing" config option done

7 years agoSVN commit 1156073 by cgiboudeaux:
Christophe Giboudeaux [Thu, 29 Jul 2010 07:22:56 +0000 (09:22 +0200)]
SVN commit 1156073 by cgiboudeaux:

-Wmissing-include-dirs

7 years agoSVN commit 1156387 by rkcosta:
Raphael Kubo da Costa [Thu, 29 Jul 2010 07:21:49 +0000 (09:21 +0200)]
SVN commit 1156387 by rkcosta:

Fix build on non-Linux Unixes again.

fdatasync() is still available only on Linux ;)

CCMAIL: kwrite-devel@kde.org

7 years agoadding disable swap file syncing option.. still needs some work, though
Diana [Wed, 28 Jul 2010 19:41:18 +0000 (22:41 +0300)]
adding disable swap file syncing option.. still needs some work, though

7 years agoincrease revision, what ever good that is for - but enough changes, so much is clear :)
Milian Wolff [Mon, 26 Jul 2010 23:57:14 +0000 (01:57 +0200)]
increase revision, what ever good that is for - but enough changes, so much is clear :)

7 years agoone more fix I missed
Milian Wolff [Mon, 26 Jul 2010 23:52:44 +0000 (01:52 +0200)]
one more fix I missed

7 years agoupdate help text
Milian Wolff [Mon, 26 Jul 2010 23:47:43 +0000 (01:47 +0200)]
update help text

7 years agomake it yet even easier to use map, filter and each by omitting the function body:
Milian Wolff [Mon, 26 Jul 2010 23:41:18 +0000 (01:41 +0200)]
make it yet even easier to use map, filter and each by omitting the function body:

if the eval'ed code is still not a function, embed it in (function(line){ return INPUT;})
this way the user can write e.g.:

map 'line + line'
or
filter 'line.indexOf(needle) == -1'
or ...

7 years agoshow errors in command line scripts in a qWhatsThis instead of only on the cli
Milian Wolff [Mon, 26 Jul 2010 23:25:19 +0000 (01:25 +0200)]
show errors in command line scripts in a qWhatsThis instead of only on the cli

7 years agofix indentation
Milian Wolff [Mon, 26 Jul 2010 23:07:50 +0000 (01:07 +0200)]
fix indentation

7 years agofix syntax error in utils.js (shame on me :P)
Milian Wolff [Mon, 26 Jul 2010 22:45:47 +0000 (00:45 +0200)]
fix syntax error in utils.js (shame on me :P)

7 years agoit's now possible to pass a proper separator to join() since we use the correct KShel...
Milian Wolff [Mon, 26 Jul 2010 20:18:24 +0000 (22:18 +0200)]
it's now possible to pass a proper separator to join() since we use the correct KShell functions sine some time

7 years agoadd map utility function, use it in trim, ltrim and rtrim
Milian Wolff [Mon, 26 Jul 2010 19:59:02 +0000 (21:59 +0200)]
add map utility function, use it in trim, ltrim and rtrim