[kde-doc-english] [kwave] doc/en: handbook: added description of paramters of the record plugin

2016-06-11 Thread Thomas Eschenbacher
Git commit 183c5a4468c1503ffcc1624c1576c6ee21ae86ed by Thomas Eschenbacher.
Committed on 11/06/2016 at 16:33.
Pushed by eschenbacher into branch 'master'.

handbook: added description of paramters of the record plugin
handbook: fixed duplicate ":" in header of parameter descriptions

M  +214  -17   doc/en/index.docbook

http://commits.kde.org/kwave/183c5a4468c1503ffcc1624c1576c6ee21ae86ed

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index b13961d..8a9452e 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -5276,7 +5276,7 @@

  
  
-   Parameters:
+   Parameters

  

@@ -5432,7 +5432,7 @@



-   &i18n-plugin_lbl_parameters;:
+   &i18n-plugin_lbl_parameters;



@@ -6131,7 +6131,7 @@



-   &i18n-plugin_lbl_parameters;:
+   &i18n-plugin_lbl_parameters;



@@ -6223,7 +6223,7 @@



-   &i18n-plugin_lbl_parameters;:
+   &i18n-plugin_lbl_parameters;



@@ -6317,7 +6317,7 @@



-   &i18n-plugin_lbl_parameters;:
+   &i18n-plugin_lbl_parameters;



@@ -6369,7 +6369,7 @@



-   &i18n-plugin_lbl_parameters;:
+   &i18n-plugin_lbl_parameters;



@@ -6526,7 +6526,7 @@



-   &i18n-plugin_lbl_parameters;:
+   &i18n-plugin_lbl_parameters;



@@ -6659,7 +6659,7 @@



-   &i18n-plugin_lbl_parameters;:
+   &i18n-plugin_lbl_parameters;



@@ -6745,7 +6745,7 @@



-   &i18n-plugin_lbl_parameters;:
+   &i18n-plugin_lbl_parameters;



@@ -6837,7 +6837,7 @@



-   &i18n-plugin_lbl_parameters;:
+   &i18n-plugin_lbl_parameters;



@@ -6929,6 +6929,203 @@



+   
+   &i18n-plugin_lbl_parameters;
+   
+   
+   
+   playback method
+   
+   
+   The method used for recording, see
+   RecordParams.h.
+   
+   
+   
+   
+   pre recording 
enabled
+   
+   
+   Enable/disable pre recording (1 if enabled, 0 
if disabled).
+   
+   
+   
+   
+   pre recording 
time
+   
+   
+   Number of seconds for pre recording.
+   
+   
+   
+   
+   limit recording 
time
+   
+   
+   Enable/disable limiting of recording time (1 if 
limited, 0 if not limited).
+   
+   
+   
+   
+   recording time
+   
+   
+   Duration of the recording in seconds.
+   
+   
+   
+   
+   use starting 
time
+   
+   
+   Enable/disable starting time (1 if used, 0 if 
not used).
+   
+   
+   
+   
+   starting time
+   
+   
+   Date/time to start the recording, in ISO format.
+   
+   
+   
+   
+   use trigger 
level
+   
+   
+   Enable/disable trigger level (1 if used, 0 if 
not used).
+   
+   
+   
+   
+   trigger level
+ 

[kde-doc-english] [kwave] /: prepare for release 0.9.2

2016-06-11 Thread Thomas Eschenbacher
Git commit df325b1f8042bb305d032fa950b8d7dd80205975 by Thomas Eschenbacher.
Committed on 11/06/2016 at 17:02.
Pushed by eschenbacher into branch 'master'.

prepare for release 0.9.2
set release date to 2016-06-26
updated spec file and ebuild

M  +3-1CHANGES
M  +6-6README
M  +1-1VERSION
M  +3-3doc/en/index.docbook
M  +10   -9kwave.ebuild.in
M  +2-2kwave.lsm
M  +17   -0kwave.spec.in

http://commits.kde.org/kwave/df325b1f8042bb305d032fa950b8d7dd80205975

diff --git a/CHANGES b/CHANGES
index 800c0f4..f0ff3d4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,5 @@
 
-0.9.2 [2016-06-25]
+0.9.2 [2016-06-26]
 
  * recording via Qt Multimedia
  * using KDE service API for loading plugins
@@ -18,6 +18,8 @@
  * import of Creative Voice files (*.voc)
  * import Audio Visual Research File Format (*.avr)
  * import of Amiga IFF/8SVX Sound File Format (*.8svx)
+ * handbook: description of parameters of the record plugin was missing
+ * handbook: fixed duplicate ":" in header of plugin parameter descriptions
 
 0.9.1 [2016-02-21]
 
diff --git a/README b/README
index a936e8b..295023a 100644
--- a/README
+++ b/README
@@ -36,10 +36,10 @@ of your choice and then generate it in a separate build 
directory.
 For example:
 
 cd ${HOME}/src
-tar -xvzf kwave-0.9.1-1.tar.bz2
+tar -xvzf kwave-0.9.2-1.tar.bz2
 mkdir kwave-build
 cd kwave-build
-cmake ../kwave-0.9.1
+cmake ../kwave-0.9.2
 
 make
 make install
@@ -63,15 +63,15 @@ Installing the rpm package normally requires root 
permissions.
 2.1 Building a binary rpm from archive file:
 ---
 
-Simply get the source archive (for example kwave-0.9.1-1.tar.bz2) and
+Simply get the source archive (for example kwave-0.9.2-1.tar.bz2) and
 then type:
 
-rpmbuild -ta kwave-0.9.1-1.tar.bz2
+rpmbuild -ta kwave-0.9.2-1.tar.bz2
 
 If you want to build for a different architecture than your current, you
 might want to add the parameter "--target ...", for example:
 
-rpmbuild -ta --target i586 kwave-0.9.1-1.tar.bz2
+rpmbuild -ta --target i586 kwave-0.9.2-1.tar.bz2
 
 compiles for i586 architecture.
 
@@ -105,7 +105,7 @@ build the package on a system with the KDE base directory 
set to some
 location (like for example /usr) and install it on some other system
 and/or into a different directory.
 
-rpm -Uvh --prefix=/usr/local kwave-0.9.1-1.i586.rpm
+rpm -Uvh --prefix=/usr/local kwave-0.9.2-1.i586.rpm
 
 This modifies the path where the program is installed and it is strongly
 recommended that this is a directory that is contained in the KDEDIRS
diff --git a/VERSION b/VERSION
index f374f66..2003b63 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.9.1
+0.9.2
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 8a9452e..72c62d2 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -4,8 +4,8 @@
   

   
-  
-  
+  
+  
   
   
   http://sourceforge.net/p/kwave/code/ci/HEAD/tree/AUTHORS";>
@@ -320,7 +320,7 @@
 
 &FDLNotice;
 
-2016-02-21
+2016-06-26
 &version;
 
 &kwave; is a simple sound editor built on KDE Frameworks 
5.
diff --git a/kwave.ebuild.in b/kwave.ebuild.in
index a7467df..3666fa0 100644
--- a/kwave.ebuild.in
+++ b/kwave.ebuild.in
@@ -13,8 +13,11 @@ if [[ ${KDE_BUILD_TYPE} != live ]]; then
SRC_URI="mirror://sourceforge/${PN}/${P}-1.tar.bz2"
 fi
 
-LICENSE="BSD GPL-2 LGPL-2
-   handbook? ( FDL-1.2 )"
+LICENSE="
+   CC-BY-SA-3.0 CC0-1.0 GPL-2+ LGPL-2+
+   handbook? ( FDL-1.2 )
+   opus? ( BSD-2 )
+"
 KEYWORDS="amd64 ~ppc x86"
 IUSE="alsa flac mp3 +qtmedia opus oss pulseaudio vorbis"
 
@@ -32,6 +35,8 @@ COMMON_DEPEND="
$(add_frameworks_dep ktextwidgets)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kxmlgui)
+   $(add_qt_dep qtgui)
+   $(add_qt_dep qtwidgets)
media-libs/audiofile:=
>=sci-libs/fftw-3
media-libs/libsamplerate
@@ -54,8 +59,10 @@ COMMON_DEPEND="
)
 "
 DEPEND="${COMMON_DEPEND}
-   kde-apps/poxml
+   $(add_kdeapps_dep poxml)
+   $(add_qt_dep qtconcurrent)
|| ( media-gfx/imagemagick[png,svg] 
media-gfx/graphicsmagick[imagemagick,png,svg] )
+   sys-devel/gettext
 "
 RDEPEND="${COMMON_DEPEND}
!media-sound/kwave:4
@@ -63,12 +70,6 @@ RDEPEND="${COMMON_DEPEND}
 
 DOCS=( AUTHORS CHANGES LICENSES README TODO )
 
-src_prepare() {
-   eapply_user
-   mkdir -p po
-   echo "# generated dummy file, do not edit" > po/CMakeLists.txt
-}
-
 src_configure() {
local mycmakeargs=(
-DDEBUG=$(usex debug)
diff --git a/kwave.lsm b/kwave.lsm
index ea89daf..83c4853 100644
--- a/kwave.lsm
+++ b/kwave.lsm
@@ -1,7 +1,7 @@
 Begin3
 Title:  kwave
-Version:   0.9.1
-Entered-date:  21FEB2016
+Version:   0.9.2
+Entered-date:  26JUN2016
 Description:A soun

[kde-doc-english] [kwave] doc/en: handbook: typo

2016-06-21 Thread Thomas Eschenbacher
Git commit be8bab3357f4c5530dd39b87be2a08e6016a08d6 by Thomas Eschenbacher.
Committed on 21/06/2016 at 17:38.
Pushed by eschenbacher into branch 'master'.

handbook: typo

M  +1-1doc/en/index.docbook

http://commits.kde.org/kwave/be8bab3357f4c5530dd39b87be2a08e6016a08d6

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 219f292..a56acc8 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -6934,7 +6934,7 @@



-   playback method
+   recording method


The method used for recording, see
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave/release] doc: docbook update

2016-06-29 Thread Thomas Eschenbacher
Git commit af87d09a80ab70f6533405dccb2d8549ffc8549a by Thomas Eschenbacher.
Committed on 30/06/2016 at 04:37.
Pushed by eschenbacher into branch 'release'.

docbook update

M  +473  -58   doc/de/index.docbook
M  +468  -29   doc/pt/index.docbook
M  +470  -31   doc/sv/index.docbook
M  +471  -28   doc/uk/index.docbook

http://commits.kde.org/kwave/af87d09a80ab70f6533405dccb2d8549ffc8549a

diff --git a/doc/de/index.docbook b/doc/de/index.docbook
index 382e195..7df48e6 100644
--- a/doc/de/index.docbook
+++ b/doc/de/index.docbook
@@ -4,11 +4,11 @@
 >Kwave">
   
-   
   
-  
-  
+  
+  
   
   
   http://sourceforge.net/p/kwave/code/ci/HEAD/tree/AUTHORS";>
@@ -20,7 +20,7 @@
   http://flac.sourceforge.net/";>
   http://kwave.sourceforge.net/";>
   http://id3lib.sourceforge.net/";>
-  http://projects.kde.org/projects/kdereview/kwave";>
+  https://quickgit.kde.org/?p=kwave.git";>
   http://lame.sourceforge.net/";>
   https://web.archive.org/web/*/http://www.rikkus.info/esound-level-meter/";>
   http://www.68k.org/~michael/audiofile/";>
@@ -369,7 +369,7 @@
 >&FDLNotice;
 
 2016-02-21
+>2016-06-26
 &version;
 
@@ -2197,17 +2197,29 @@
 
Zusätzlich unterstützt &kwave; viele andere Formate durch das audiofile-Modul. Sie können Dateien wie Zusätzlich können Sie Dateiformate wie *.8svx (Amiga IFF/8SVX Sound File Format), *.au, *.snd (NeXT,Sun Audio),  (NeXT, Sun Audio), *.aiff (Audio Interchange Format) und  (Audio Interchange Format), *.avr (Audio Visual Research File Format), *.caf (Core Audio Format), *.nist (NIST SPHERE Audio File Format), *.sf (Berkeley,IRCAM,Carl Sound Format) importieren.  (Berkeley, IRCAM, Carl Sound Format), *.smp (Sample Vision Format), *.snd (NeXT, Sun Audio), *.voc (Creative Voice) und andere mit Hilfe des audiofile Plugins importieren. 
 
 
@@ -8334,9 +8346,9 @@ Beispiel: 
  
Paramter:
+>

  

@@ -8569,7 +8581,7 @@ Beispiel: &i18n-plugin_lbl_parameters;:
+>



@@ -8709,6 +8721,40 @@ Beispiel: &i18n-plugin_lbl_file_types;

+
+   
+   
+   &i18n-plugin-lbl_file_type_description;
+   Amiga IFF/8SVX Sound File Format
+   
+   
+   &i18n-plugin-lbl_file_type_extensions;
+   *.8svx
+   *.iff
+   
+   
+   &i18n-plugin-lbl_file_type_mime_types;
+   audio/x-8svx
+   
+   
+

@@ -8807,6 +8853,64 @@ Beispiel: &i18n-plugin-lbl_file_type_description;
Audio Visual Research File Format
+   
+   
+   &i18n-plugin-lbl_file_type_extensions;
+   
+   *.avr
+   
+   
+   
+   &i18n-plugin-lbl_file_type_mime_types;
+   audio/x-avr
+   
+   
+
+   
+   
+   &i18n-plugin-lbl_file_type_description;
+   Core Audio File Format
+   
+   
+   &i18n-plugin-lbl_file_type_extensions;
+   *.caf
+   
+   
+   &i18n-plugin-lbl_file_type_mime_types;
+   audio/x-caf
+   
+   
+
+   
+   
+   &i18n-plugin-lbl_file_type_description;
+   Berkeley, IRCAM, Carl Sound Format


@@ -8828,6 +8932,94 @@ Beispiel: 
+
+   
+   
+   &i18n-plugin-lbl_file_type_description;
+   NIST SPHERE Audio File Format
+   
+   
+   &i18n-plugin-lbl_file_type_extensions;
+   *.nist
+   
+   
+   &i18n-plugin-lbl_file_type_mime_types;
+   audio/x-nist
+   
+   
+
+   
+   
+   &i18n-plugin-lbl_file_type_description;
+   Sample Vision Format
+   
+   
+   &i18n-plugin-lbl_file_type_extensions;
+   *.smp
+   
+   
+   &i18n-plugin-lbl_file_type_mime_types;
+   audio/x-smp
+   
+   
+
+   
+

Re: [kde-doc-english] Review Request 128329: Cleanup KWave docbook

2016-06-30 Thread Thomas Eschenbacher

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128329/#review96975
---


Ship it!




Ship It!

- Thomas Eschenbacher


On June 30, 2016, 8:59 a.m., Burkhard Lück wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128329/
> ---
> 
> (Updated June 30, 2016, 8:59 a.m.)
> 
> 
> Review request for Documentation and Thomas Eschenbacher.
> 
> 
> Repository: kwave
> 
> 
> Description
> ---
> 
> use entities
> remove unused entities
> replace quot with  and  some locale use different exclamation 
> marks at begin + end
> use commits repo url
> use literal version string, needed for scripting
> 
> 
> Diffs
> -
> 
>   doc/en/index.docbook a56acc8 
> 
> Diff: https://git.reviewboard.kde.org/r/128329/diff/
> 
> 
> Testing
> ---
> 
> passes checkXML5
> 
> 
> Thanks,
> 
> Burkhard Lück
> 
>

___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: compile fix for ppc: optimized memcpy support for powerpc has been removed

2016-06-30 Thread Thomas Eschenbacher
Git commit 1bf6aa2f3c1742415755748fe80b5980a8b239e5 by Thomas Eschenbacher.
Committed on 30/06/2016 at 16:13.
Pushed by eschenbacher into branch 'master'.

compile fix for ppc: optimized memcpy support for powerpc has been removed

(see commit 92589a6d71fc32615b9390f87e10932d9ffebdb3)

M  +0-5AUTHORS
M  +0-9doc/en/index.docbook
M  +0-11   libkwave/memcpy.c

http://commits.kde.org/kwave/1bf6aa2f3c1742415755748fe80b5980a8b239e5

diff --git a/AUTHORS b/AUTHORS
index 63f57f0..d113f27 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -114,11 +114,6 @@ Matthias Kretz, 
 Miguel Freitas
* parts of libkwave/memcpy.c
 
-Paul Mackerras 
-   * libkwave/ppcasm_string.h
-   * libkwave/ppcasm_string.S
-   * libkwave/ppc_asm.tmpl
-
 Richard Laerkaeng, 
* cmake/FindOggVorbis.cmake
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index a56acc8..2e8ff11 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -8493,15 +8493,6 @@



-   Paul Mackerras pau...@samba.org
-   
-   libkwave/ppcasm_string.h,
-   libkwave/ppcasm_string.S,
-   libkwave/ppc_asm.tmpl
-   
-   
-   
-   
Richard Laerkaeng, rich...@goteborg.utfors.se

cmake/FindOggVorbis.cmake
diff --git a/libkwave/memcpy.c b/libkwave/memcpy.c
index 4df3d8e..cc25c2d 100644
--- a/libkwave/memcpy.c
+++ b/libkwave/memcpy.c
@@ -48,10 +48,6 @@
 #include "config.h"
 #endif
 
-#if defined (ARCH_PPC) && !defined (HOST_OS_DARWIN)
-#include "ppcasm_string.h"
-#endif
-
 #ifdef HAVE_SYS_TIMES_H
 #include 
 #else
@@ -528,10 +524,6 @@ static const struct {
   { "AVX", avx_memcpy, MM_ACCEL_X86_AVX },
 # endif /* HAVE_AVX */
 #endif /* ARCH_X86 */
-#if defined (ARCH_PPC) && !defined (HOST_OS_DARWIN)
-  { "ppcasm", ppcasm_memcpy, 0 },
-  { "ppcasm_cached", ppcasm_cacheable_memcpy, MM_ACCEL_PPC_CACHE32 },
-#endif /* ARCH_PPC && !HOST_OS_DARWIN */
   { "", NULL, 0 }
 };
 
@@ -627,9 +619,6 @@ void probe_fast_memcpy(void)
 "avx",
 # endif /* HAVE_AVX */
 #endif
-#if defined (ARCH_PPC) && !defined (HOST_OS_DARWIN)
-"ppcasm_memcpy", "ppcasm_cacheable_memcpy",
-#endif
 NULL
   };
 
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: docbook: added documentation of plugins 'about' ... 'codec_wav'

2015-04-05 Thread Thomas Eschenbacher
Git commit 148a5756d879f7ecf513cac185cd761fbe0d8d40 by Thomas Eschenbacher.
Committed on 05/04/2015 at 17:37.
Pushed by eschenbacher into branch 'master'.

docbook: added documentation of plugins 'about' ... 'codec_wav'

added script to update/generate plugin reference in index.docbook

added script to update/generate list of file info properties in index.docbook

added screenshots of plugins: about, band_pass, codec_mp3

renamed screenshots of fileinfo, lowpass and memory setup

M  +9-3LICENSES
A  +209  -0bin/update-fileinfo-xref.pl
A  +281  -0bin/update-plugin-xref.pl
M  +18   -1doc/CMakeLists.txt
M  +2029 -298  doc/en/index.docbook
A  +---doc/en/kwave-plugin-about.png
M  +---doc/en/kwave-plugin-amplifyfree.png
A  +---doc/en/kwave-plugin-band_pass.png
A  +---doc/en/kwave-plugin-codec_mp3.png
R  +---doc/en/kwave-plugin-fileinfo.png [from: 
doc/en/kwave-fileinfo.png - 097% similarity]
R  +---doc/en/kwave-plugin-lowpass.png [from: doc/en/kwave-lowpass.png 
- 095% similarity]
R  +---doc/en/kwave-plugin-memory.png [from: 
doc/en/kwave-memory-setup.png - 098% similarity]
M  +43   -15   scripts/screenshots.kwave

http://commits.kde.org/kwave/148a5756d879f7ecf513cac185cd761fbe0d8d40

diff --git a/LICENSES b/LICENSES
index 18ed7eb..c44a26b 100644
--- a/LICENSES
+++ b/LICENSES
@@ -122,6 +122,8 @@ COMPLETE LIST OF FILES AND THEIR LICENSE
bin/set_version.sh  GPL2+ / portions of 
Martin Wilz
bin/svn-update-l10n.sh  GPL2+
bin/update-command-xref.pl  GPL2+
+   bin/update-fileinfo-xref.pl GPL2+
+   bin/update-plugin-xref.pl   GPL2+
 
cmake/Copyright.txt Kitware (cmake)
cmake/COPYING-CMAKE-SCRIPTS New BSD
@@ -150,17 +152,21 @@ COMPLETE LIST OF FILES AND THEIR LICENSE
 #  doc/en/audio-1.png  ??? UNKNOWN ???
 #  doc/en/audio2signal.png ??? UNKNOWN ???
doc/en/krec_record.png  LGPL2 (crystal project) 
[copied from mix_record.png]
-   doc/en/kwave-fileinfo.png   (should be FDL)
doc/en/kwave-gui-mdi.png(should be FDL)
doc/en/kwave-gui-sdi.png(should be FDL)
doc/en/kwave-gui-tab.png(should be FDL)
-   doc/en/kwave-lowpass.png(should be FDL)
doc/en/kwave-main.png   (should be FDL)
-   doc/en/kwave-memory-setup.png   (should be FDL)
doc/en/kwave-newfile.png(should be FDL)
doc/en/kwave-notch-filter.png   (should be FDL)
doc/en/kwave-pitch.png  (should be FDL)
doc/en/kwave-playback-setup.png (should be FDL)
+   doc/en/kwave-plugin-about.png   (should be FDL)
+   doc/en/kwave-plugin-amplifyfree.png (should be FDL)
+   doc/en/kwave-plugin-band_pass.png   (should be FDL)
+   doc/en/kwave-plugin-codec_mp3.png   (should be FDL)
+   doc/en/kwave-plugin-fileinfo.png(should be FDL)
+   doc/en/kwave-plugin-lowpass.png (should be FDL)
+   doc/en/kwave-plugin-memory.png  (should be FDL)
doc/en/kwave-record.png (should be FDL)
doc/en/kwave-sonagram.png   (should be FDL)
doc/en/kwave-sonagram-setup.png (should be FDL)
diff --git a/bin/update-fileinfo-xref.pl b/bin/update-fileinfo-xref.pl
new file mode 100755
index 000..5b2934c
--- /dev/null
+++ b/bin/update-fileinfo-xref.pl
@@ -0,0 +1,209 @@
+#!/usr/bin/perl
+#
+##Kwave- update-fileinfo-xref.pl
+##   ---
+##begin: Fri Apr 03 2015
+##copyright    : (C) 2015 by Thomas Eschenbacher
+##email: Thomas.Eschenbacher at gmx.de
+#
+#
+#
+##  #
+##This program is free software; you can redistribute it and/or modify  #
+##it under the terms of the GNU General Public License as published by  #
+##the Free Software Foundation; either version 2 of the License, or #
+##(at 

[kde-doc-english] [kwave] /: handbook: removed chapter "How to add a new Language"

2015-04-06 Thread Thomas Eschenbacher
Git commit 8b063ddd3342bb102095b4075aa569ee75db0167 by Thomas Eschenbacher.
Committed on 06/04/2015 at 11:58.
Pushed by eschenbacher into branch 'master'.

handbook: removed chapter "How to add a new Language"

handbook: added documentation of plugins 'debug' ... 'reverse'

added screenshots of plugins: goto, insert_at, noise

renamed screenshots of newsignal, notch_filter, pitch_shift, playback, record

M  +8-5LICENSES
M  +445  -386  doc/en/index.docbook
A  +---doc/en/kwave-plugin-goto.png
A  +---doc/en/kwave-plugin-insert_at.png
R  +---doc/en/kwave-plugin-newsignal.png [from: 
doc/en/kwave-newfile.png - 100% similarity]
A  +---doc/en/kwave-plugin-noise.png
R  +---doc/en/kwave-plugin-notch_filter.png [from: 
doc/en/kwave-notch-filter.png - 100% similarity]
R  +---doc/en/kwave-plugin-pitch_shift.png [from: 
doc/en/kwave-pitch.png - 100% similarity]
R  +---doc/en/kwave-plugin-playback.png [from: 
doc/en/kwave-playback-setup.png - 100% similarity]
R  +---doc/en/kwave-plugin-record.png [from: doc/en/kwave-record.png - 
100% similarity]
M  +1-1plugins/goto/GotoPluginBase.cpp
M  +36   -8scripts/screenshots.kwave

http://commits.kde.org/kwave/8b063ddd3342bb102095b4075aa569ee75db0167

diff --git a/LICENSES b/LICENSES
index c44a26b..669b842 100644
--- a/LICENSES
+++ b/LICENSES
@@ -156,18 +156,21 @@ COMPLETE LIST OF FILES AND THEIR LICENSE
doc/en/kwave-gui-sdi.png(should be FDL)
doc/en/kwave-gui-tab.png(should be FDL)
doc/en/kwave-main.png   (should be FDL)
-   doc/en/kwave-newfile.png(should be FDL)
-   doc/en/kwave-notch-filter.png   (should be FDL)
-   doc/en/kwave-pitch.png  (should be FDL)
-   doc/en/kwave-playback-setup.png (should be FDL)
doc/en/kwave-plugin-about.png   (should be FDL)
doc/en/kwave-plugin-amplifyfree.png (should be FDL)
doc/en/kwave-plugin-band_pass.png   (should be FDL)
doc/en/kwave-plugin-codec_mp3.png   (should be FDL)
doc/en/kwave-plugin-fileinfo.png(should be FDL)
+   doc/en/kwave-plugin-goto.png(should be FDL)
+   doc/en/kwave-plugin-insert_at.png   (should be FDL)
doc/en/kwave-plugin-lowpass.png (should be FDL)
doc/en/kwave-plugin-memory.png  (should be FDL)
-   doc/en/kwave-record.png (should be FDL)
+   doc/en/kwave-plugin-newsignal.png   (should be FDL)
+   doc/en/kwave-plugin-noise.png   (should be FDL)
+   doc/en/kwave-plugin-notch_filter.png(should be FDL)
+   doc/en/kwave-plugin-pitch_shift.png (should be FDL)
+   doc/en/kwave-plugin-playback.png(should be FDL)
+   doc/en/kwave-plugin-record.png  (should be FDL)
doc/en/kwave-sonagram.png   (should be FDL)
doc/en/kwave-sonagram-setup.png (should be FDL)
doc/en/kwave-volume.png (should be FDL)
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 001010e..4491b63 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -17,10 +17,6 @@
   http://flac.sourceforge.net/";>
   http://kwave.sourceforge.net/";>
   http://id3lib.sourceforge.net/";>
-  http://www.loc.gov/standards/iso639-2/php/code_list.php";>
-  http://l10n.kde.org/";>
-  http://userbase.kde.org/Lokalize/";>
-  http://l10n.kde.org/docs/screenshots.php";>
   http://lame.sourceforge.net/";>
   http://www.rikkus.info/esound-level-meter/";>
   http://www.68k.org/~michael/audiofile/";>
@@ -31,7 +27,6 @@
   http://www.xiph.org";>
   http://sourceforge.net/p/kwave/code/ci/HEAD/tree/README";>
   http://www.ietf.org/rfc/rfc2361.txt";>
-  http://www.ietf.org/rfc/rfc3066.txt";>
   http://sourceforge.net";>
   http://sox.sourceforge.net/";>
   http://sourceforge.net/p/kwave/code/";>
@@ -41,6 +36,7 @@
   
   
   
+  
   
   
   
@@ -717,7 +713,7 @@
[on/off,
default=on]

-   
+   
WITH_DEBUG
build a debug version
[on/off,
@@ -1574,7 +1570,7 @@
 
 
 
-Memory Setup
+Memory 
Setup
 
 
When using &kwave; for the first time, you should go to the memory
@@ -1919,7 +1915,7 @@
 
 
 
-Creating a New File
+Creating a New 
File
 
 
You can create a new and empty file menu under
@@ -1934,7 +1930,7 @@


 

[kde-doc-english] [kwave] /: handbook: added documentation of plugins 'samplerate' ... 'zero'

2015-04-07 Thread Thomas Eschenbacher
Git commit 65f39aeaa8380ed330603dbef4339701a03b2cc1 by Thomas Eschenbacher.
Committed on 07/04/2015 at 20:13.
Pushed by eschenbacher into branch 'master'.

handbook: added documentation of plugins 'samplerate' ... 'zero'

stringenter plugin: added optional parameter with preset string

renamed screenshots of sonagram and volume plugin

M  +4-3LICENSES
M  +463  -67   doc/en/index.docbook
M  +---doc/en/kwave-plugin-noise.png
A  +---doc/en/kwave-plugin-saveblocks.png
R  +---doc/en/kwave-plugin-sonagram-setup.png [from: 
doc/en/kwave-sonagram-setup.png - 100% similarity]
R  +---doc/en/kwave-plugin-sonagram-window.png [from: 
doc/en/kwave-sonagram.png - 100% similarity]
A  +---doc/en/kwave-plugin-stringenter.png
R  +---doc/en/kwave-plugin-volume.png [from: doc/en/kwave-volume.png - 
100% similarity]
M  +1-1plugins/selectrange/SelectRangePlugin.cpp
M  +7-1plugins/stringenter/StringEnterDialog.cpp
M  +2-1plugins/stringenter/StringEnterDialog.h
M  +4-2plugins/stringenter/StringEnterPlugin.cpp
M  +47   -15   scripts/screenshots.kwave

http://commits.kde.org/kwave/65f39aeaa8380ed330603dbef4339701a03b2cc1

diff --git a/LICENSES b/LICENSES
index 669b842..5d03b40 100644
--- a/LICENSES
+++ b/LICENSES
@@ -171,9 +171,10 @@ COMPLETE LIST OF FILES AND THEIR LICENSE
doc/en/kwave-plugin-pitch_shift.png (should be FDL)
doc/en/kwave-plugin-playback.png(should be FDL)
doc/en/kwave-plugin-record.png  (should be FDL)
-   doc/en/kwave-sonagram.png   (should be FDL)
-   doc/en/kwave-sonagram-setup.png (should be FDL)
-   doc/en/kwave-volume.png (should be FDL)
+   doc/en/kwave-plugin-selectrange.png (should be FDL)
+   doc/en/kwave-plugin-sonagram-setup.png  (should be FDL)
+   doc/en/kwave-plugin-sonagram-window.png (should be FDL)
+   doc/en/kwave-plugin-volume.png  (should be FDL)
doc/en/light_off.pngLGPL2 (crystal project) 
[derived from greenled.png]
doc/en/light_on.png LGPL2 (crystal project) 
[derived from greenled.png]
 #  doc/en/nonlinear.png??? UNKNOWN ??? (arrow 
only)
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 4491b63..e23adc7 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -2842,7 +2842,8 @@
&kwave; since its first version uses an internal text command language.
This command language is used internally for menu handling, GUI control,
builtin effects and plugin invocations. The commands will be described
-   later in the section Command 
Reference.
+   later in the section
+   .
 
 
 General Syntax
@@ -3097,7 +3098,7 @@
 
 
 
-Command Reference
+Command 
Reference
Alphabetical Index
&no-i18n-tag;

@@ -6836,19 +6837,8 @@
 
 
 
-
+
 &no-i18n-plugin_samplerate; (Sample Rate 
Conversion)
-
 

&i18n-plugin_lbl_internal_name;
@@ -6862,31 +6852,45 @@
&i18n-plugin_lbl_description;


-   TODO: description of what the Sample Rate Conversion plugin 
does...
+   Changes the sample rate of the current selection or the whole
+   signal.



-   
+   
 
 
 
-
+
 &no-i18n-plugin_saveblocks; (Save Blocks)
-
+
 

&i18n-plugin_lbl_internal_name;
@@ -6910,31 +6914,166 @@
&i18n-plugin_lbl_description;


-   TODO: description of what the Save Blocks plugin does...
+   Saves all sections between markers, each into a separate file.
+   Each file is given a name that can be customized by using
+   a pattern that can contain the original file name, an index
+   and the number of sections.



-   
+   
 
 
 
-
+
 &no-i18n-plugin_selectrange; (Select 
Range)
-
+
 

&i18n-plugin_lbl_internal_name;
@@ -6958,41 +7097,118 @@
&i18n-plugin_lbl_description;


-   TODO: description of what the Select Range plugin does...
+   Shows a dialog to select a range of samples. The start and the
+   length of the selection can be set either by a time in 
milliseconds,
+   in samples, or as a percentage of the total length of the file.



-   
+   
 
 
 
-
+
 &no-i18n-plugin_sonagram; (Sonagram)
-
+
+
+   Screenshot
+   
+  

[kde-doc-english] [kwave] doc/en: minor typos in handbook

2015-04-11 Thread Thomas Eschenbacher
Git commit 7289cb6a521f1de2d2d7fc8d3ae666f552d43380 by Thomas Eschenbacher.
Committed on 11/04/2015 at 11:54.
Pushed by eschenbacher into branch 'master'.

minor typos in handbook

M  +12   -15   doc/en/index.docbook

http://commits.kde.org/kwave/7289cb6a521f1de2d2d7fc8d3ae666f552d43380

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 11a68dd..0a1173d 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -41,8 +41,8 @@
   
   
   
-  
-  
+  
+  
   
   
   
@@ -6279,10 +6279,7 @@

If zero, the use of virtual memory will be
disabled, otherwise the use of virtual memory
-   will be enabled. Only has an effect if the
-   parameter
-   virtual enabled
-   has been set to a non zero value.
+   will be enabled.



@@ -6317,10 +6314,9 @@

Directory to use for storing swap files that
will be used for providing virtual memory.
-   Only has an effect if the parameters
+   Only has an effect if the parameter
virtual enabled
-   and virtual limited
-   have both been set to a non zero value.
+   has been set to a non zero value.



@@ -6989,7 +6985,7 @@
All numeric wildcards can also contain a 
numerical argument after the
"%" and the identifier, to 
force a certain number
of digits. If the number is preceded by a 
0 then
-   it will contain leading zeroes, otherwise it 
will contain leading
+   the result will contain leading zeroes, 
otherwise it will contain leading
spaces.
   
   
@@ -7305,8 +7301,8 @@
use colors


-   If set to non-zero, generate use colors.
-   If set to zero use grayscales for intensity.
+   If set to non-zero, use colors for intensity,
+   if set to zero use grayscales.



@@ -7378,9 +7374,10 @@
preset 
(optional)


-   A text that is shown in the dialog. This 
parameter
-   is optional, if omitted the edit field of the
-   dialog will be empty at start.
+   A text that is shown in the edit field when
+   entering the dialog. This parameter is optional,
+   if omitted the edit field of the dialog will
+   be empty at start.





[kde-doc-english] [kwave] /: new command sync(): wait for commands scheduled with delayed(...)

2015-02-21 Thread Thomas Eschenbacher
Git commit 9810f149f0455af0a4053f4cdf3e81ae1bfc8596 by Thomas Eschenbacher.
Committed on 21/02/2015 at 07:46.
Pushed by eschenbacher into branch 'master'.

new command sync(): wait for commands scheduled with delayed(...)

M  +1-1CHANGES
M  +21   -0doc/en/index.docbook
M  +8-3kwave/FileContext.cpp

http://commits.kde.org/kwave/9810f149f0455af0a4053f4cdf3e81ae1bfc8596

diff --git a/CHANGES b/CHANGES
index 1900474..bd753fc 100644
--- a/CHANGES
+++ b/CHANGES
@@ -5,12 +5,12 @@
  * handbook: added text command reference
  * make system: new target "update-handbook" (updates command cross reference)
  * make system: fixed dependency problem in translation
- * i18n: implemented filter for non-translatable pot entries
  * new commands: "window:sendkey", "window:screenshot", "window:close"
and "window:resize"
  * built-in variable ${LANG} for kwave commands
  * support for delayed command execution
  * debug plugin: always compiled in, but only visible in debug build
+ * new command sync(): wait for commands scheduled with delayed
 
 0.8.99-2 [2015-01-02]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 45169a8..c9ee25c 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -105,6 +105,7 @@
   
   
   
+  
   
   
   
@@ -3032,6 +3033,7 @@



+   

u

@@ -3235,6 +3237,7 @@

See also

+   &no-i18n-tag;&no-i18n-cmd_sync;(),
&no-i18n-tag;&no-i18n-cmd_window_resize;(),
&no-i18n-tag;&no-i18n-cmd_window_click;(),
&no-i18n-tag;&no-i18n-cmd_window_sendkey;(),
@@ -4409,6 +4412,24 @@



+
+   
+   &no-i18n-cmd_sync;
+   
+   
&i18n-cmd_syntax;&no-i18n-tag;&no-i18n-cmd_sync;()
+   
+   Waits until all commands which have been started asynchronously
+   have finished. If nothing is currently queued for delayed
+   execution this command has no effect.
+   
+   
+   See also
+   
+   &no-i18n-tag;&no-i18n-cmd_delayed;()
+   
+   
+   
+
 
 
 &no-i18n-tag;u
diff --git a/kwave/FileContext.cpp b/kwave/FileContext.cpp
index da735da..108084f 100644
--- a/kwave/FileContext.cpp
+++ b/kwave/FileContext.cpp
@@ -319,9 +319,6 @@ int Kwave::FileContext::executeCommand(const QString &line)
 if (command.trimmed().startsWith(_("#")))
return 0; // only a comment
 
-// log all commands to the log file if enabled
-Kwave::Logger::log(this, Kwave::Logger::Info, _("CMD: ") + line);
-
 // special case: if the command contains ";" it is a list of
 // commands -> macro !
 Kwave::Parser parse_list(command);
@@ -359,6 +356,9 @@ int Kwave::FileContext::executeCommand(const QString &line)
}
 }
 
+// log all commands to the log file if enabled
+Kwave::Logger::log(this, Kwave::Logger::Info, _("CMD: ") + line);
+
 // parse one single command
 Kwave::Parser parser(command);
 QString cmd = parser.command();
@@ -434,6 +434,11 @@ int Kwave::FileContext::executeCommand(const QString &line)
result = saveFileAs(parser.nextParam(), false);
 CASE_COMMAND("saveselect")
result = saveFileAs(QString(), true);
+CASE_COMMAND("sync")
+   while (!m_delayed_command_queue.isEmpty()) {
+   qApp->processEvents(QEventLoop::ExcludeUserInputEvents);
+   }
+   result = 0;
 CASE_COMMAND("window:click")
return delegateCommand("debug", parser, 3);
 CASE_COMMAND("window:close")


[kde-doc-english] [kwave] doc/en: docbook: replaced entries of URL encoding translation table with entities (65 messages less to translate)

2015-02-26 Thread Thomas Eschenbacher
Git commit 2a845d1baef339077ca967fd9287636604e98357 by Thomas Eschenbacher.
Committed on 26/02/2015 at 07:54.
Pushed by eschenbacher into branch 'master'.

docbook: replaced entries of URL encoding translation table with entities (65 
messages less to translate)

M  +103  -36   doc/en/index.docbook

http://commits.kde.org/kwave/2a845d1baef339077ca967fd9287636604e98357

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index c9ee25c..cf01e0b 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -133,6 +133,73 @@
   
   
   
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
 ]>
 
 
@@ -2779,63 +2846,63 @@



-   originalencoded 
-   originalencoded 
-   originalencoded 
+   originalencoded&no-i18n-unicode-0x0020;
+   originalencoded&no-i18n-unicode-0x0020;
+   originalencoded&no-i18n-unicode-0x0020;
originalencoded




-   (space)%20
-   (%28
-   :%3A
-   \%5C
+   (space)&no-i18n-urlenc-20;
+   &no-i18n-unicode-0x0028;&no-i18n-urlenc-28;
+   &no-i18n-unicode-0x003A;&no-i18n-urlenc-3A;
+   &no-i18n-unicode-0x005C;&no-i18n-urlenc-5C;


-   !%21
-   )%29
-   ;%3B
-   ]%5D
+   &no-i18n-unicode-0x0021;&no-i18n-urlenc-21;
+   &no-i18n-unicode-0x0029;&no-i18n-urlenc-29;
+   &no-i18n-unicode-0x003B;&no-i18n-urlenc-3B;
+   &no-i18n-unicode-0x005D;&no-i18n-urlenc-5D;


-   "%22
-   *%2A
-   <%3C
-   ^%5E
+   &no-i18n-unicode-0x0022;&no-i18n-urlenc-22;
+   &no-i18n-unicode-0x002A;&no-i18n-urlenc-2A;
+   &no-i18n-unicode-0x003C;&no-i18n-urlenc-3C;
+   &no-i18n-unicode-0x005E;&no-i18n-urlenc-5E;


-   #%23
-   +%2B
-   =%3D
-   _%5F
+   &no-i18n-unicode-0x0023;&no-i18n-urlenc-23;
+   &no-i18n-unicode-0x002B;&no-i18n-urlenc-2B;
+   &no-i18n-unicode-0x003D;&no-i18n-urlenc-3D;
+   &no-i18n-unicode-0x005F;&no-i18n-urlenc-5F;


-   $%24
-   ,%2C
-   >%3E
-   `%60
+   &no-i18n-unicode-0x0024;&no-i18n-urlenc-24;
+   &no-i18n-unicode-0x002C;&no-i18n-urlenc-2C;
+   &no-i18n-unicode-0x003E;&no-i18n-urlenc-3E;
+   &no-i18n-unicode-0x0060;&no-i18n-urlenc-60;


-   %%25
-   -%2D
-   ?%3F
-   {%7B
+   &no-i18n-unicode-0x0025;&no-i18n-urlenc-25;
+   &no-i18n-unicode-0x002D;&no-i18n-urlenc-2D;
+   &no-i18n-unicode-0x003F;&no-i18n-urlenc-3F;
+   &no-i18n-unicode-0x007B;&no-i18n-urlenc-7B;


-   &%26
-   .%3E
-   @%40
-   |%7C
+   &no-i18n-unicode-0x0026;&no-i18n-urlenc-26;
+   &no-i18n-unicode-0x002E;&no-i18n-urlenc-3E;
+   &no-i18n-unicode-0x0040;&no-i18n-urlenc-40;
+   &no-i18n-unicode-0x007C;&no-i18n-urlenc-7C;


-   '%27
-   /%2F
-   [%5B
-   }%7D
+   &no-i18n-unicode-0x0027;&no-i18n-urlenc-27;
+   &no-i18n-unicode-0x002F;&no-i18n-urlenc-2F;
+   &no-i18n-unicode-0x005B;&no-i18n-urlenc-5B;
+   &no-i18n-unicode-0x007D;&no-i18n-urlenc-7D;


-   ~%7E
+   &no-i18n-unicode-0x007E;&no-i18n-urlenc-7E;





[kde-doc-english] [kwave/Release-0_7_12] /: maintenance release v0.7.12

2015-01-22 Thread Thomas Eschenbacher
Git commit 47e2776c69008dfd41445a691f0c36a36dc637d6 by Thomas Eschenbacher.
Committed on 27/09/2009 at 19:15.
Pushed by helio into tag 'Release-0_7_12'.

maintenance release v0.7.12

svn-id: 
https://kwave.svn.sourceforge.net/svnroot/kwave/branches/Release-0_7_x-bugfixes 
at 2455 bbf32e5a-961d-0410-9e10-91f32741c31e

M  +6-0CHANGES
M  +1-1VERSION
M  +926  -844  doc/help_de.po
M  +16   -2doc/help_en.docbook
M  +836  -818  doc/help_fr.po
M  +2-2kwave.lsm
M  +6-6po/fr.po

http://commits.kde.org/kwave/47e2776c69008dfd41445a691f0c36a36dc637d6


[kde-doc-english] Review Request 122245: Adapt KWave docs and translations to Scripty's workflow

2015-01-26 Thread Thomas Eschenbacher


> On Jan. 25, 2015, 3:36 nachm., Pino Toscano wrote:
> > You don't need to move the English documentation from doc/en to doc, for 
> > making it work with Scripty...
> 
> Burkhard L?ck wrote:
> That's true, but I'd like to have a minimal numebers of exceptions from 
> the policy "docbooks in /doc or /docs"
> It makes applying changes to documentation_paths less error-prone.
> 
> Pino Toscano wrote:
> Can you please point me where this policy is set?
> 
> I don't see anything wrong with having English documentation under 
> doc/en, and from some point of view also eases the release process a bit 
> (doc/CMakeLists.txt can be totally autogenerated, for example).
> This was done in the past by a couple of extragear, which have been 
> changed from doc/en from doc for apparently no reason other than "others do 
> this"...
> 
> Albert Astals Cid wrote:
> "Others do this" is actually a very good reason. Uniformity makes it 
> easier for everyone to understand what's going on.
> 
> Pino Toscano wrote:
> I would agree if it were a totally different structure. This is **just** 
> about a subdirectory more, which our tools already handle fine; furthermore, 
> this is done by others already, even on git.k.o, so the "others do this" is 
> valid **also** for what kwave does already.

Ok guys, there are a lot of things to change now, please give me some days!
(writing a Messages.sh, fixing the build system and so on...)

Regarding the doc/en directory: that one was also intended to hold images that 
are commonly used, for _all_ languages (e.g. those that contain no text), so 
please be careful when moving the files from there to their new location. All 
language dependent stuff follows the pattern "kwave-*.png", the rest is common. 
Is it okay to leave common stuff at this location?


- Thomas


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122245/#review74705
---


On Jan. 25, 2015, 2:29 nachm., Burkhard L?ck wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122245/
> ---
> 
> (Updated Jan. 25, 2015, 2:29 nachm.)
> 
> 
> Review request for Documentation, Localization and Translation (l10n), Thomas 
> Eschenbacher, and Yuri Chornoivan.
> 
> 
> Repository: kwave
> 
> 
> Description
> ---
> 
> * delete all po files and localized screenshots, they will be imported into 
> trunk/l10n-kde4 before this commit
> 
> * mv en docbookspngs to proper location in source
> 
> * adapt CMakeLists.txt
> 
> @ Thomas Eschenbacher:
> * I did not find a Messages.sh in the source tree, please add it
> * /CMakeLists.txt needs mor clean up wrt documentation and translation
> 
> 
> Diffs
> -
> 
>   doc/audio2signal.png PRE-CREATION 
>   doc/cs/kwave-fileinfo.png e781989 
>   doc/cs/kwave-gui-mdi.png 5d723a9 
>   doc/cs/kwave-gui-sdi.png 58f124d 
>   doc/cs/kwave-gui-tab.png 4842f62 
>   doc/cs/kwave-lowpass.png 735b5f1 
>   doc/cs/kwave-main.png e5e0618 
>   doc/cs/kwave-memory-setup.png 5a2bd96 
>   doc/cs/kwave-newfile.png cf4e606 
>   doc/cs/kwave-notchfilter.png d036362 
>   doc/cs/kwave-pitch.png bbc2e90 
>   doc/cs/kwave-playback-setup.png 9785d93 
>   doc/cs/kwave-record.png 0c0930c 
>   doc/cs/kwave-sonagram-setup.png 18bc211 
>   doc/cs/kwave-sonagram.png 5579d1b 
>   doc/cs/kwave-volume.png 7762882 
>   doc/de/kwave-fileinfo.png 684e30b 
>   doc/de/kwave-gui-mdi.png a7602cc 
>   doc/de/kwave-gui-sdi.png 9658408 
>   doc/de/kwave-gui-tab.png b05f588 
>   doc/de/kwave-lowpass.png da1f4db 
>   doc/de/kwave-main.png b18705f 
>   doc/de/kwave-memory-setup.png 6c4f38e 
>   doc/de/kwave-newfile.png d50230c 
>   doc/de/kwave-notch-filter.png 65c0a68 
>   doc/de/kwave-pitch.png 940361d 
>   doc/de/kwave-playback-setup.png fc1bdc0 
>   doc/de/kwave-record.png ed3cfe1 
>   doc/de/kwave-sonagram-setup.png 1fbf81b 
>   doc/de/kwave-sonagram.png 6548733 
>   doc/de/kwave-volume.png 39950d0 
>   doc/en/audio-1.png e71261a 
>   doc/en/audio2signal.png 517293c 
>   doc/en/krec_record.png fa8c4d7 
>   doc/en/kwave-fileinfo.png c9135f0 
>   doc/en/kwave-gui-mdi.png 4b937a5 
>   doc/en/kwave-gui-sdi.png 4582548 
>   CMakeLists.txt 2497ac4 
>   doc/CMakeLists.txt a3a98c6 
>   doc/audio-1.png PRE-CREATION 
>   doc/en/kwave-memory-setup.png bbc8de9 
>   doc/en/kwave-newfile.png b87a865 

[kde-doc-english] [kwave] /: added new commands "delayed" and "window:click"

2015-01-26 Thread Thomas Eschenbacher
Git commit 3523b1140536fb29cd1b8734b6252a3a2a174836 by Thomas Eschenbacher.
Committed on 23/01/2015 at 20:42.
Pushed by eschenbacher into branch 'master'.

added new commands "delayed" and "window:click"

added screenshots of amplifyfree plugin

handbook update

changed return value handling of plugin:setup so that scripts
do no longer abort if a setup dialog gets canceled

M  +2-0CHANGES
M  +1-0LICENSES
A  +30   -0bin/import-screenshots.sh
A  +---doc/cs/kwave-plugin-amplifyfree.png
A  +---doc/de/kwave-plugin-amplifyfree.png
A  +---doc/en/kwave-plugin-amplifyfree.png
A  +---doc/es/kwave-plugin-amplifyfree.png
A  +---doc/fr/kwave-plugin-amplifyfree.png
M  +1359 -887  doc/help_cs.po
M  +1423 -889  doc/help_de.po
M  +331  -5doc/help_en.docbook
M  +1353 -887  doc/help_es.po
M  +1349 -887  doc/help_fr.po
M  +6-1kwave/FileContext.cpp
M  +3-3libkwave/PluginManager.cpp
M  +3-1libkwave/PluginManager.h
M  +22   -0plugins/debug/DebugPlugin.cpp

http://commits.kde.org/kwave/3523b1140536fb29cd1b8734b6252a3a2a174836


[kde-doc-english] [kwave] /: Merge branch 'master' of git.kde.org:kwave

2015-01-26 Thread Thomas Eschenbacher
Git commit a9605c2bcc6ac4f4f67d396324b6627979a1e31d by Thomas Eschenbacher.
Committed on 26/01/2015 at 05:08.
Pushed by eschenbacher into branch 'master'.

Merge branch 'master' of git.kde.org:kwave

M  +4-4doc/help_cs.po
M  +4-4doc/help_de.po
M  +4-4doc/help_en.docbook
M  +4-4doc/help_es.po
M  +4-4doc/help_fr.po
M  +1-1kwave/FileContext.cpp
M  +1-1libkwave/PluginManager.cpp
M  +1-1libkwave/PluginManager.h
M  +1-1plugins/debug/DebugPlugin.cpp

http://commits.kde.org/kwave/a9605c2bcc6ac4f4f67d396324b6627979a1e31d

diff --cc doc/help_cs.po
index 59780fd,9b447e7..0cdfdd9
--- a/doc/help_cs.po
+++ b/doc/help_cs.po
@@@ -857,10 -857,10 +857,10 @@@ msgid "With working rpmbuild -ta
  msgstr "S pracuj?c?m rpmbuild -ta"
  
  #. Tag: para
 -#: help_en.docbook:627
 +#: help_en.docbook:633
  #, no-c-format
  msgid ""
- "If you are runnig a system with RPM support, the preferred way to install "
+ "If you are running a system with RPM support, the preferred way to install "
  "&kwave; on your system will be the creation of a nice RPM package. First you 
"
  "should get the current source of &kwave;, either as a tar.bz2 archive from "
  "the &kwave; download page or check out an up-to-date copy via 

[kde-doc-english] [kwave] doc: REVIEW:122241 A minor tweaking of a nested table to enable automatic PDF generation on d.k.o.

2015-01-26 Thread Thomas Eschenbacher
Git commit 3555b01dc94484a2974ac661b3c0454fb8aa63bd by Thomas Eschenbacher, on 
behalf of Yuri Chornoivan.
Committed on 26/01/2015 at 05:41.
Pushed by eschenbacher into branch 'master'.

REVIEW:122241 A minor tweaking of a nested table to enable automatic PDF 
generation on d.k.o.

A nested informaltable prevents automatic processing of Kwave docs
by KDE tools for generating PDF on docs.kde.org (TeX longtable
limitations).

The patch replaces the nested table by variable list without
significant changes in translations and visual design of the manual.

M  +38   -27   doc/help_en.docbook

http://commits.kde.org/kwave/3555b01dc94484a2974ac661b3c0454fb8aa63bd

diff --git a/doc/help_en.docbook b/doc/help_en.docbook
index 741e063..34d2860 100644
--- a/doc/help_en.docbook
+++ b/doc/help_en.docbook
@@ -3587,41 +3587,52 @@
separator. Group names have to start
with a @.
The following groups predefined:
-   
-   
-   
&no-i18n-tag;@CLIPBOARD:
-   
+   
+   
+   &no-i18n-tag;@CLIPBOARD:
+   
+ 
Only enabled when the clipboard is not empty.
-   
-   
-   
-   &no-i18n-tag;@LABELS:
-   Only enabled when the current signal contains
+ 
+   
+   
+   
+   &no-i18n-tag;@LABELS:
+   
+ 
+   Only enabled when the current signal contains
at least one label.
-   
-   
-   
-   
&no-i18n-tag;@NOT_CLOSED:
-   
+ 
+   
+   
+   
+   
&no-i18n-tag;@NOT_CLOSED:
+   
+ 
Enabled when the current signal is not closed
(the signal might be empty or zero length).
-   
-   
-   
-   
&no-i18n-tag;@SELECTION:
-   
+ 
+   
+   
+   
+   &no-i18n-tag;@SELECTION:
+   
+ 
Enabled when the selection is not empty (more than
one sample is selected).
-   
-   
-   
-   &no-i18n-tag;@SIGNAL:
-   
+ 
+   
+   
+   
+   &no-i18n-tag;@SIGNAL:
+   
+ 
Enabled when there is some signal loaded and it
is not empty or zero length.
-   
-   
-   
+ 
+   
+   
+   


&no-i18n-tag;#hidden:


[kde-doc-english] [kwave] /: added Messages.sh for Skripty

2015-01-28 Thread Thomas Eschenbacher
Git commit 14e488bca545e8461534f01bce9da12865649576 by Thomas Eschenbacher.
Committed on 28/01/2015 at 05:33.
Pushed by eschenbacher into branch 'master'.

added Messages.sh for Skripty

removed translations from kwave/kwave.desktop.in

renamed doc/help_en.docbook -> doc/index.docbook

disabled cmake rules for "doc", "messages" etc. and
removed standalone localization support - now rely
on Skripty to do that job

M  +14   -12   CMakeLists.txt
A  +46   -0Messages.sh
M  +36   -29   doc/CMakeLists.txt
R  +0-0doc/index.docbook [from: doc/help_en.docbook - 100% similarity]
M  +3-15   kwave/kwave.desktop.in
M  +11   -10   po/CMakeLists.txt

http://commits.kde.org/kwave/14e488bca545e8461534f01bce9da12865649576

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cbcec5f..d28adf4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,14 +20,15 @@
 
 PROJECT(kwave)
 
-SET(KWAVE_LINGUAS
-cs:?e?tina
-de:Deutsch
-en:English
-es:Espa?ol
-fr:Francais
-# <- add new languages here...
-)
+# TODO add auto detect for standalone build
+# SET(KWAVE_LINGUAS
+# cs:?e?tina
+# de:Deutsch
+# en:English
+# es:Espa?ol
+# fr:Francais
+# # <- add new languages here...
+# )
 
 #
 ### build options:###
@@ -137,7 +138,7 @@ INCLUDE(CheckCCompilerFlag)
 INCLUDE(CheckCXXCompilerFlag)
 INCLUDE(CheckTypeSize)
 INCLUDE(CheckFunctionExists)
-INCLUDE(KwaveL10N)
+# INCLUDE(KwaveL10N) <= TODO find a replacement for standalone build
 
 #
 
@@ -293,9 +294,9 @@ ADD_SUBDIRECTORY( libgui )
 ADD_SUBDIRECTORY( libkwave )
 ADD_SUBDIRECTORY( kwave )
 ADD_SUBDIRECTORY( plugins )
-ADD_SUBDIRECTORY( po )
+# ADD_SUBDIRECTORY( po ) TODO find a replacement for standalone build
 
-SET(KWAVE_BUILD_LINGUAS ${KWAVE_BUILD_LINGUAS})
+# SET(KWAVE_BUILD_LINGUAS ${KWAVE_BUILD_LINGUAS})
 OPTION(WITH_DOC "build online documentation [default=on]" ON)
 IF (WITH_DOC)
 ADD_SUBDIRECTORY( doc )
@@ -304,7 +305,8 @@ ENDIF (WITH_DOC)
 #
 ### target package-messages   ###
 
-INCLUDE(KwavePackageMessages)
+# TODO find a replacement for standalone build
+# INCLUDE(KwavePackageMessages)
 
 #
 ### RPM support   ###
diff --git a/Messages.sh b/Messages.sh
new file mode 100755
index 000..933f445
--- /dev/null
+++ b/Messages.sh
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+#   Messages.sh - script to extract translatable messages
+#---
+#   begin: Mon Jan 26 2015
+#   copyright: (C) 2015 by Thomas Eschenbacher
+#   email: Thomas.Eschenbacher at gmx.de
+
+#
+
+#  #
+#This program is free software; you can redistribute it and/or modify  #
+#it under the terms of the GNU General Public License as published by  #
+#the Free Software Foundation; either version 2 of the License, or #
+#(at your option) any later version.   #
+#  #
+
+
+# collect all messages from the .ui files
+$EXTRACTRC `find . -name \*.ui | sort` > _kwave-i18n-ui.cpp
+
+# get the strings from the .desktop file
+intltool-extract --quiet --type=gettext/ini kwave/kwave.desktop.in
+
+# fetch all messages from the C++ source and header files
+$XGETTEXT --from-code=UTF-8 -C --kde \
+-ci18n -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 -ktr2i18n:1 \
+-kI18N_NOOP:1 -kI18N_NOOP2:1c,2 -kaliasLocale -kki18n:1 -kki18nc:1c,2 \
+-kki18np:1,2 -kki18ncp:1c,2,3 -kN_:1 \
+`find . -name \*.cpp -o -name \*.h | sort` \
+-o _kwave-i18n-src.pot
+
+# create a pot file from menus.config
+perl bin/menusconfig2pot.pl kwave/menus.config _kwave-i18n-menu.pot
+
+# put all parts together
+cat _kwave-i18n-src.pot   > _kwave-i18n-all.pot
+cat _kwave-i18n-menu.pot >> _kwave-i18n-all.pot
+
+# copy the result to the output directory
+cp  _kwave-i18n-all.pot $podir/kwave.pot
+
+# clean up
+rm -f _kwave-i18n* kwave/kwave.desktop.in.h
+
+### EOF ###
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index a3a98c6..fdb4888 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CM

[kde-doc-english] [kwave] /: added new command 'window:mousemove' (nearly the same as 'window:click', but sends a mouse move event instead of a mouse press/release event)

2015-03-07 Thread Thomas Eschenbacher
Git commit 55ccd71fab21f1cca87b77db4c7140d0055c4c81 by Thomas Eschenbacher.
Committed on 07/03/2015 at 17:33.
Pushed by eschenbacher into branch 'master'.

added new command 'window:mousemove' (nearly the same as 'window:click', but 
sends a mouse move event instead of a mouse press/release event)

fixed some typos in comments

M  +29   -0doc/en/index.docbook
M  +2-0kwave/FileContext.cpp
M  +1-1libgui/SignalView.cpp
M  +14   -0plugins/debug/DebugPlugin.cpp
M  +1-1plugins/playback/PlayBackPlugin.cpp

http://commits.kde.org/kwave/55ccd71fab21f1cca87b77db4c7140d0055c4c81

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index e9005ee..d82cd71 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -125,6 +125,7 @@
   
   
   
+  
   
   
   
@@ -3126,6 +3127,7 @@



+   



@@ -4826,6 +4828,33 @@


 
+   
+   &no-i18n-cmd_window_mousemove;
+   
+   
&i18n-cmd_syntax;&no-i18n-cmd_window_resize;(
+   class,
+   x,
+   y
+   )
+   
+   Sends a mouse move event to window, identified by its
+   class name.
+   The event will only be sent to the first window that has
+   the given class name, therefore you should make sure that you
+   have only one instance of the given window when this command
+   gets executed.
+   
+   
+   Parameters
+   class:
+   name of the window class
+   x:
+   x position, relative to the left border of the window 
(in pixels)
+   y:
+   y position, relative to the top border of the window (in 
pixels)
+   
+   
+

&no-i18n-cmd_window_next_sub;

diff --git a/kwave/FileContext.cpp b/kwave/FileContext.cpp
index 2d518d4..8111090 100644
--- a/kwave/FileContext.cpp
+++ b/kwave/FileContext.cpp
@@ -443,6 +443,8 @@ int Kwave::FileContext::executeCommand(const QString &line)
return delegateCommand("debug", parser, 3);
 CASE_COMMAND("window:close")
return delegateCommand("debug", parser, 1);
+CASE_COMMAND("window:mousemove")
+   return delegateCommand("debug", parser, 3);
 CASE_COMMAND("window:resize")
return delegateCommand("debug", parser, 3);
 CASE_COMMAND("window:sendkey")
diff --git a/libgui/SignalView.cpp b/libgui/SignalView.cpp
index 4d09de0..d7eead3 100644
--- a/libgui/SignalView.cpp
+++ b/libgui/SignalView.cpp
@@ -476,7 +476,7 @@ void Kwave::SignalView::mousePressEvent(QMouseEvent *e)
}
break;
}
-   case 0: {
+   case Qt::NoModifier: {
if (isSelectionBorder(e->pos().x())) {
// modify selection border
sample_index_t ofs = m_signal_manager->selection().first();
diff --git a/plugins/debug/DebugPlugin.cpp b/plugins/debug/DebugPlugin.cpp
index 1b09cb1..f49d86e 100644
--- a/plugins/debug/DebugPlugin.cpp
+++ b/plugins/debug/DebugPlugin.cpp
@@ -146,6 +146,20 @@ QStringList *Kwave::DebugPlugin::setup(QStringList ¶ms)
DBG(class_name), static_cast(widget));
if (!widget) return 0;
widget->close();
+} else if (command == _("window:mousemove")) {
+   if (params.count() != 4) return 0;
+   QStringclass_name = params[1];
+   QWidget   *widget = findWidget(class_name.toUtf8().constData());
+   unsigned int x= params[2].toUInt();
+   unsigned int y= params[3].toUInt();
+   if (!widget) return 0;
+
+   QMouseEvent *move_event =
+   new QMouseEvent(QEvent::MouseMove,
+   QPoint(x, y),
+   widget->mapToGlobal(QPoint(x,y)),
+   Qt::NoButton, Qt::NoButton, Qt::NoModifier);
+   QCoreApplication::postEvent(widget, move_event);
 } else if (command == _("window:resize")) {
if (params.count() != 4) return 0;
QStringclass_name = params[1];
diff --git a/plugins/playback/PlayBackPlugin.cpp 
b/plugins/playback/PlayBackPlugin.cpp
index c51be20..5b8c29a 100644
--- a/plugins/playback/PlayBackPlugin.cpp
+++ b/plugins/playback/PlayBackPlugin.cpp
@@ -159,7 +159,7 @@ QStringList *Kwave::PlayBackPlugin::setup(QStringList 
&previous_params)
 {
 QStringList *result = 0;
 
-// try to interprete the list of previous parameters, ignore errors
+// try to interpret the list of previous parameters, ignore errors
 Kwave::PlayBackParam playback_params =
interpreteParameters(previous_params);
 


[kde-doc-english] [kwave] doc/en: removed some unneeded '&no-i18n-tag; ' tags from docbook

2015-03-07 Thread Thomas Eschenbacher
Git commit c894bc197c7112516f6264a7f855996a5a255fbf by Thomas Eschenbacher.
Committed on 04/03/2015 at 20:07.
Pushed by eschenbacher into branch 'master'.

removed some unneeded '&no-i18n-tag;' tags from docbook

M  +63   -63   doc/en/index.docbook

http://commits.kde.org/kwave/c894bc197c7112516f6264a7f855996a5a255fbf

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index cf01e0b..e9005ee 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -231,18 +231,18 @@
 &kwave; is a simple sound editor for KDE.
 
 
-   &no-i18n-tag;KDE
-   &no-i18n-tag;multimedia
-   &no-i18n-tag;sound
-   &no-i18n-tag;audio
-   &no-i18n-tag;Kwave
-   &no-i18n-tag;wav
-   &no-i18n-tag;editor
-   &no-i18n-tag;record
-   &no-i18n-tag;playback
-   &no-i18n-tag;sonagram
-   &no-i18n-tag;FFT
-   &no-i18n-tag;Linux
+   KDE
+   multimedia
+   sound
+   audio
+   Kwave
+   wav
+   editor
+   record
+   playback
+   sonagram
+   FFT
+   Linux
 
 
 
@@ -589,11 +589,11 @@
unpacked in 
$HOME/src/kwave-&version;, you
can do the following:
 
-&no-i18n-tag;% mkdir /tmp/kwave-build
-&no-i18n-tag;% cd /tmp/kwave-build
-&no-i18n-tag;% cmake 
$HOME/src/kwave-&version; [build 
options]
-&no-i18n-tag;% make
-&no-i18n-tag;% su root -c "make install"
+% mkdir /tmp/kwave-build
+% cd /tmp/kwave-build
+% cmake 
$HOME/src/kwave-&version; [build 
options]
+% make
+% su root -c "make install"
 
(Specifying build options is a way to enable or disable specific 
features.
See the following section for descriptions)
@@ -691,7 +691,7 @@
For example, if you want to enable MP3 support,
you can pass the corresponding option as follows:
 
-&no-i18n-tag;% cmake [source 
directory] -DWITH_MP3=ON [other 
options...]
+% cmake [source 
directory] -DWITH_MP3=ON [other 
options...]
 

 
@@ -731,8 +731,8 @@
 
 To build the &kwave; package and install it do:
 
-&no-i18n-tag;% rpmbuild -ta 
kwave-XXX.tar.bz2
-&no-i18n-tag;% rpm -i 
/usr/src/redhat/RPMS/[arch]/kwave-XXX.[arch].rpm
+% rpmbuild -ta 
kwave-XXX.tar.bz2
+% rpm -i 
/usr/src/redhat/RPMS/[arch]/kwave-XXX.[arch].rpm
 
 
 
@@ -768,7 +768,7 @@
or /usr/src/packages if you
have the SuSE distribution.
 
-&no-i18n-tag;% cd 
/usr/src/redhat
+% cd 
/usr/src/redhat
 

 
@@ -777,7 +777,7 @@
have to replace "somewhere" with the real directory where
the files are, of course).
 
-&no-i18n-tag;% cp 
/somewhere/kwave-XXX.tar.bz2 SOURCES
+% cp 
/somewhere/kwave-XXX.tar.bz2 SOURCES
 

 
@@ -785,7 +785,7 @@
Extract the spec file from the archives and put it into
the SPEC subdirectory.
 
-&no-i18n-tag;% tar -xOjf 
SOURCES/kwave-XXX.tar.bz2 \*.spec > 
SPECS/kwave.spec
+% tar -xOjf 
SOURCES/kwave-XXX.tar.bz2 \*.spec > 
SPECS/kwave.spec
 

 
@@ -796,7 +796,7 @@
-ba, or just -bs to build
only a source package.
 
-&no-i18n-tag;% rpmbuild -ba 
SPECS/kwave.spec
+% rpmbuild -ba SPECS/kwave.spec
 

 
@@ -808,7 +808,7 @@
-U instead
of -i for upgrading instead of installing.
 
-&no-i18n-tag;% rpm -ivh 
BUILD/[arch]/kwave-XXX.[arch].rpm
+% rpm -ivh 
BUILD/[arch]/kwave-XXX.[arch].rpm
 

 
@@ -840,23 +840,23 @@
First create the directory that will receive the subdirectory with
&kwave; sources and change into it:
 
-&no-i18n-tag;% mkdir -p 
$HOME/src
-&no-i18n-tag;% cd 
$HOME/src
+% mkdir -p 
$HOME/src
+% cd $HOME/src
 
 
 

Then check out the latest sources from the GIT server:
 
-&no-i18n-tag;% git clone &url_git_master; 
kwave
+% git clone &url_git_master; kwave
 


or you can check out a specific release with the following commands:
 
-&no-i18n-tag;% git clone &url_git_master; 
kwave
-&no-i18n-tag;% cd kwave
-&no-i18n-tag;% git checkout 
tags/[release-tag] 
+% git clone &url_git_master; kwave
+% cd kwave
+% git checkout 
tags/[release-tag] 
 
You can look up the names of the release tags in the git web page at
 &url_git_list_tags;.
@@ -884,7 +884,7 @@
directory where you have the checked out sources and do the following
to update to the latest version:
 
-&no-i18n-tag;% git pull
+% git pull
 
Then go on to the next section and compile as usual.
 
@@ -894,9 +894,9 @@
state, you can do the following to discard all local changes and switch
back to the latest version from the master branch:
 
-&no-i18n-tag;% git clean --force -d
-&no-i18n-tag;% git reset --hard
-&no-i18n-tag;% git checkout 
master
+% git 

[kde-doc-english] [kwave] /: bugfix: minimized windows were not migrated properly when switching GUI type

2015-03-21 Thread Thomas Eschenbacher
Git commit 3e9cd29c6f3f42931c08fdaf8000155b2f41d94e by Thomas Eschenbacher.
Committed on 21/03/2015 at 12:25.
Pushed by eschenbacher into branch 'master'.

bugfix: minimized windows were not migrated properly when switching GUI type

new command: window:minimize

minor EBN fix in stringenter dialog

M  +2-0CHANGES
M  +13   -0doc/en/index.docbook
M  +33   -8kwave/TopWidget.cpp
M  +4-2libkwave/SignalManager.cpp
M  +1-1plugins/stringenter/StringEnterDialog.h

http://commits.kde.org/kwave/3e9cd29c6f3f42931c08fdaf8000155b2f41d94e

diff --git a/CHANGES b/CHANGES
index ce410d8..a2a78f3 100644
--- a/CHANGES
+++ b/CHANGES
@@ -16,6 +16,8 @@
  * file info dialog: MPEG settings were not handled properly
  * bugfix: assert/numeric overflow in selectnextlabels() at end of file
  * new plugin: stringenter
+ * bugfix: minimized windows were not migrated properly when switching GUI type
+ * new command: window:minimize
 
 0.8.99-2 [2015-01-02]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index d82cd71..25bc3c2 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -125,6 +125,7 @@
   
   
   
+  
   
   
   
@@ -3127,6 +3128,7 @@



+   



@@ -4828,6 +4830,17 @@


 
+   
+   &no-i18n-cmd_window_minimize;
+   
+   
&i18n-cmd_syntax;&no-i18n-cmd_window_minimize;
+   
+   Minimizes the currently active sub window when in MDI mode or
+   the current toplevel window when in SDI or Tab mode.
+   
+   
+   
+

&no-i18n-cmd_window_mousemove;

diff --git a/kwave/TopWidget.cpp b/kwave/TopWidget.cpp
index ac5b77e..eda032a 100644
--- a/kwave/TopWidget.cpp
+++ b/kwave/TopWidget.cpp
@@ -531,8 +531,17 @@ QList 
Kwave::TopWidget::detachAllContexts()
// remove the entry from the map to prevent damage
i.remove();
 
-   // detach the main widget from the MDI sub window
if (sub) {
+   // leave the "minimized" state before migration
+   Qt::WindowStates state = sub->windowState();
+   if (state & Qt::WindowMinimized)
+   {
+   state &= ~Qt::WindowMinimized;
+   sub->setWindowState(state);
+   sub->showNormal();
+   }
+
+   // detach the main widget from the MDI sub window
sub->setWidget(0);
delete sub;
}
@@ -662,20 +671,18 @@ void Kwave::TopWidget::insertContext(Kwave::FileContext 
*context)
// single sub window, switching to tab mode shows a tab +
// a sub window with frame and title (not maximized within
// the mdi area)
+   Qt::WindowStates state = sub->windowState();
if (m_application.guiType() == Kwave::App::GUI_TAB)
{
-   sub->setWindowState(
-   sub->windowState() | Qt::WindowMaximized
-   );
+   state |=  Qt::WindowMaximized;
+   sub->setWindowState(state);
sub->show();
}
else
{
-   sub->setWindowState(
-   sub->windowState() & ~Qt::WindowMaximized
-   );
+   state &= ~Qt::WindowMaximized;
+   sub->setWindowState(state);
sub->showNormal();
-
}
 
m_mdi_area->setActiveSubWindow(sub);
@@ -774,14 +781,31 @@ int Kwave::TopWidget::executeCommand(const QString &line)
{
KMessageBox::enableAllMessages();
}
+CASE_COMMAND("window:minimize")
+   if (m_application.guiType() == Kwave::App::GUI_MDI) {
+   // in case of MDI mode: minimize the current sub window
+   if (m_mdi_area) {
+   QMdiSubWindow *sub = m_mdi_area->activeSubWindow();
+   if (!sub) return -1;
+   sub->setWindowState(windowState() | Qt::WindowMinimized);
+   }
+   } else {
+   // in case of TAB or SDI mode: minimize the toplevel window
+   setWindowState(windowState() | Qt::WindowMinimized);
+   }
+   return 0;
 CASE_COMMAND("window:next_sub")
if (m_mdi_area) m_mdi_area->activateNextSubWindow();
+   return 0;
 CASE_COMMAND("window:prev_sub")
if (m_mdi_area) m_mdi_area->activatePreviousSubWindow();
+   return 0;
 CASE_COMMAND("window:cascade")
if (m_mdi_area) m_mdi_area->cascadeSubWindows();
+   return 0;
 CASE_COMMAND("window:tile")
if (m_mdi_area) m_mdi_area->tileSubWindows();
+   return 0;
 CASE_COMMAND("window:tile_vertical&q

[kde-doc-english] [kwave] /: minor README, comments, updates

2015-05-03 Thread Thomas Eschenbacher
Git commit 9133de7aa0e829ce297fd770c597eec33810f0b7 by Thomas Eschenbacher.
Committed on 03/05/2015 at 11:55.
Pushed by eschenbacher into branch 'master'.

minor README, comments, updates

M  +14   -13   CMakeLists.txt
M  +11   -10   README
M  +4-4doc/en/index.docbook

http://commits.kde.org/kwave/9133de7aa0e829ce297fd770c597eec33810f0b7

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c301d9d..2401ca0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,19 +39,20 @@ PROJECT(kwave)
 #
 ### toplevel build targets:   ###
 
-# all- default target, build all files
-# clean  - clean up the current build directory
-# deb- create a debian package
-# doc- generate docbook files for online help
-# distfiles  - generate subdirectory with all files for distribution
-# html_doc   - generate HTML help (for the web)
-# install- install the package, with support for DESTDIR
-# rpm- create a RPM package + a src.rpm file
-# src_rpm- create the source RPM only
-# tarball- create a tar.bz2 archive with the sources + specfile
-# uninstall  - uninstall the package, with support for DESTDIR
-# version-labels - update all version numbers and build dates
-# tarball- create a tar.gz file with the sources
+# all - default target, build all files
+# clean   - clean up the current build directory
+# deb - create a debian package
+# doc - generate docbook files for online help
+# distfiles   - generate subdirectory with all files for distribution
+# html_doc- generate HTML help (for the web)
+# install - install the package, with support for DESTDIR
+# rpm - create a RPM package + a src.rpm file
+# src_rpm - create the source RPM only
+# tarball - create a tar.bz2 archive with the sources + specfile
+# uninstall   - uninstall the package, with support for DESTDIR
+# update-translations - update translation files from KDE SVN
+# version-labels  - update all version numbers and build dates
+# tarball - create a tar.gz file with the sources
 
 #
 ### check for the proper cmake version###
diff --git a/README b/README
index 09c35ae..e3be740 100644
--- a/README
+++ b/README
@@ -32,10 +32,10 @@ of your choice and then generate it in a separate build 
directory.
 For example:
 
 cd ${HOME}/src
-tar -xvzf kwave-0.8.12-1.tar.bz2
+tar -xvzf kwave-0.9.0-1.tar.bz2
 mkdir kwave-build
 cd kwave-build
-cmake ../kwave-0.8.12
+cmake ../kwave-0.9.0
 
 make
 make install
@@ -59,15 +59,15 @@ Installing the rpm package normally requires root 
permissions.
 2.1 Building a binary rpm from archive file:
 ---
 
-Simply get the source archive (for example kwave-0.8.12-1.tar.bz2) and
+Simply get the source archive (for example kwave-0.9.0-1.tar.bz2) and
 then type:
 
-rpmbuild -ta kwave-0.8.12-1.tar.bz2
+rpmbuild -ta kwave-0.9.0-1.tar.bz2
 
 If you want to build for a different architecture than your current, you
 might want to add the parameter "--target ...", for example:
 
-rpmbuild -ta --target i586 kwave-0.8.12-1.tar.bz2
+rpmbuild -ta --target i586 kwave-0.9.0-1.tar.bz2
 
 compiles for i586 architecture.
 
@@ -85,7 +85,7 @@ make rpm  (and you get both, a binary and a 
source rpm)
 
 Instructions on how to get the sources via GIT can be found in the
 Kwave handbook and on the Kwave project homepage at SourceForge
-(see "http://sourceforge.net/git/?group_id=6478";).
+(see "http://sourceforge.net/p/kwave/code/ci/master/tree/";).
 
 Please note that the online documentation in not included in GIT, it will
 created from the corresponding docbook source which is included.
@@ -101,7 +101,7 @@ build the package on a system with the KDE base directory 
set to some
 location (like for example /usr) and install it on some other system
 and/or into a different directory.
 
-rpm -Uvh --prefix=/usr/local kwave-0.8.12-1.i586.rpm
+rpm -Uvh --prefix=/usr/local kwave-0.9.0-1.i586.rpm
 
 This modifies the path where the program is installed and it is strongly
 recommended that this is a directory that is contained in the KDEDIRS
@@ -123,8 +123,8 @@ C/C++ compiler, the qt and the kde libraries.
 I am currently developing under a Gentoo Linux distribution
 (i586 architecture) using at least the following packages:
 
-* cmake >= 2.4.6 (the cmake build system)
-* gcc >= 3.0 (the C / C++ compiler)
+* cmake >= 2.6.0 (the cmake build system)
+* gcc >= 4.7 (the C / C++ compiler)
 
 * make >= 

[kde-doc-english] [kwave] /: updated version numbers and license file for v0.9.0

2015-05-25 Thread Thomas Eschenbacher
Git commit 242f852280a83053201f44bafcdac8942f1e878f by Thomas Eschenbacher.
Committed on 25/05/2015 at 08:15.
Pushed by eschenbacher into branch 'master'.

updated version numbers and license file for v0.9.0

M  +2-1CHANGES
M  +2-1LICENSES
M  +1-1VERSION
M  +3-1cmake/KwaveRPMSupport.cmake
M  +3-3doc/en/index.docbook
M  +1-1kwave.ebuild.in
M  +2-2kwave.lsm

http://commits.kde.org/kwave/242f852280a83053201f44bafcdac8942f1e878f

diff --git a/CHANGES b/CHANGES
index e4a9241..ac9e3d6 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,6 @@
-0.9.0 [2015-xx-xx]
+0.9.0 [2015-05-25]
 
+ * first version hosted on KDE (kdereview) and SourceForge
  * added command line parameter for selecting the GUI type
  * in MDI mode: new menu entry + function to arrange sub windows vertically
  * handbook: added text command reference
diff --git a/LICENSES b/LICENSES
index 5d03b40..07e8e35 100644
--- a/LICENSES
+++ b/LICENSES
@@ -37,6 +37,7 @@ LIST OF LICENSES FOUND IN THE SOURCES
  - cmake/FindOggVorbis.cmake
  - cmake/COPYING-CMAKE-SCRIPTS (New BSD ?)
  - cmake/FindAlsa.cmake{kretz,faure}@kde.org
+ - plugins/codec_ogg/OpusEncoder.cpp   parts two clause BSD
 
 DIRECTLY USED EXTERNAL LIBRARIES
 
@@ -568,7 +569,7 @@ COMPLETE LIST OF FILES AND THEIR LICENSE
plugins/codec_ogg/OpusCommon.h  GPL2+
plugins/codec_ogg/OpusDecoder.cpp   GPL2+
plugins/codec_ogg/OpusDecoder.h GPL2+
-   plugins/codec_ogg/OpusEncoder.cpp   GPL2+ => see source
+   plugins/codec_ogg/OpusEncoder.cpp   GPL2+, parts two clause 
BSD
plugins/codec_ogg/OpusEncoder.h GPL2+
plugins/codec_ogg/OpusHeader.h  GPL2+
plugins/codec_ogg/VorbisDecoder.cpp GPL2+
diff --git a/VERSION b/VERSION
index cdad12f..ac39a10 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.8.99-2
+0.9.0
diff --git a/cmake/KwaveRPMSupport.cmake b/cmake/KwaveRPMSupport.cmake
index 012a866..6338e64 100644
--- a/cmake/KwaveRPMSupport.cmake
+++ b/cmake/KwaveRPMSupport.cmake
@@ -108,7 +108,9 @@ IF (EXISTS ${_git})
COMMENT "Building file list from local .git repository"
COMMAND "${GIT_EXECUTABLE}" ls-tree -r --name-only HEAD ">" 
${files_lst}
COMMAND test -e po && find po -name \\*.po ">>" ${files_lst}
-   COMMAND find doc -type f ">>" ${files_lst}
+   COMMAND find doc -type f -name \\*.txt ">>" ${files_lst}
+   COMMAND find doc -type f -name index.docbook ">>" ${files_lst}
+   COMMAND find doc -type f -name \\*.png ">>" ${files_lst}
COMMAND cat ${files_lst} | sort | uniq > ${files_lst}.tmp
COMMAND mv ${files_lst}.tmp ${files_lst}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 71c6ee3..db51eb0 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -4,8 +4,8 @@
   

   
-  
-  
+  
+  
   
   
   http://sourceforge.net/p/kwave/code/ci/HEAD/tree/AUTHORS";>
@@ -319,7 +319,7 @@
 
 &FDLNotice;
 
-2015-01-02
+2015-05-25
 &version;
 
 &kwave; is a simple sound editor for KDE.
diff --git a/kwave.ebuild.in b/kwave.ebuild.in
index 69cec26..5ebcd1c 100644
--- a/kwave.ebuild.in
+++ b/kwave.ebuild.in
@@ -10,7 +10,7 @@ inherit kde4-base
 
 DESCRIPTION="A sound editor for KDE that can edit many types of audio files"
 HOMEPAGE="http://kwave.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}-2.tar.bz2"
+SRC_URI="mirror://sourceforge/${PN}/${P}-1.tar.bz2"
 
 LICENSE="BSD GPL-2 LGPL-2
handbook? ( FDL-1.2 )"
diff --git a/kwave.lsm b/kwave.lsm
index 3335b4c..f6c43b1 100644
--- a/kwave.lsm
+++ b/kwave.lsm
@@ -1,7 +1,7 @@
 Begin3
 Title:  kwave
-Version:   0.8.99-2
-Entered-date:  02JAN2015
+Version:   0.9.0
+Entered-date:  25MAY2015
 Description:A sound editor for KDE that can edit many types of audio files.
 Keywords:   KDE, Qt, WAV, Sound, Editor, Effects, playback, recording
 Author: Martin Wilz 


[kde-doc-english] [kwave/Release-0_9_0] /: added localizations to release branch

2015-05-25 Thread Thomas Eschenbacher
Git commit 28297da18fa1abb2ab5c3b42db9e52887a370b97 by Thomas Eschenbacher.
Committed on 25/05/2015 at 12:14.
Pushed by eschenbacher into tag 'Release-0_9_0'.

added localizations to release branch

A  +21   -0doc/de/CMakeLists.txt
A  +12914 -0doc/de/index.docbook
A  +---doc/de/kwave-gui-mdi.png
A  +---doc/de/kwave-gui-sdi.png
A  +---doc/de/kwave-gui-tab.png
A  +---doc/de/kwave-main.png
A  +---doc/de/kwave-plugin-about.png
A  +---doc/de/kwave-plugin-amplifyfree.png
A  +---doc/de/kwave-plugin-band_pass.png
A  +---doc/de/kwave-plugin-codec_mp3.png
A  +---doc/de/kwave-plugin-fileinfo.png
A  +---doc/de/kwave-plugin-goto.png
A  +---doc/de/kwave-plugin-insert_at.png
A  +---doc/de/kwave-plugin-lowpass.png
A  +---doc/de/kwave-plugin-memory.png
A  +---doc/de/kwave-plugin-newsignal.png
A  +---doc/de/kwave-plugin-noise.png
A  +---doc/de/kwave-plugin-notch_filter.png
A  +---doc/de/kwave-plugin-pitch_shift.png
A  +---doc/de/kwave-plugin-playback.png
A  +---doc/de/kwave-plugin-record.png
A  +---doc/de/kwave-plugin-saveblocks.png
A  +---doc/de/kwave-plugin-selectrange.png
A  +---doc/de/kwave-plugin-sonagram-setup.png
A  +---doc/de/kwave-plugin-sonagram-window.png
A  +---doc/de/kwave-plugin-stringenter.png
A  +---doc/de/kwave-plugin-volume.png
A  +21   -0doc/pt/CMakeLists.txt
A  +12868 -0doc/pt/index.docbook
A  +---doc/pt/kwave-gui-mdi.png
A  +---doc/pt/kwave-gui-sdi.png
A  +---doc/pt/kwave-gui-tab.png
A  +---doc/pt/kwave-main.png
A  +---doc/pt/kwave-plugin-about.png
A  +---doc/pt/kwave-plugin-amplifyfree.png
A  +---doc/pt/kwave-plugin-band_pass.png
A  +---doc/pt/kwave-plugin-codec_mp3.png
A  +---doc/pt/kwave-plugin-fileinfo.png
A  +---doc/pt/kwave-plugin-goto.png
A  +---doc/pt/kwave-plugin-insert_at.png
A  +---doc/pt/kwave-plugin-lowpass.png
A  +---doc/pt/kwave-plugin-memory.png
A  +---doc/pt/kwave-plugin-newsignal.png
A  +---doc/pt/kwave-plugin-noise.png
A  +---doc/pt/kwave-plugin-notch_filter.png
A  +---doc/pt/kwave-plugin-pitch_shift.png
A  +---doc/pt/kwave-plugin-playback.png
A  +---doc/pt/kwave-plugin-record.png
A  +---doc/pt/kwave-plugin-saveblocks.png
A  +---doc/pt/kwave-plugin-selectrange.png
A  +---doc/pt/kwave-plugin-sonagram-setup.png
A  +---doc/pt/kwave-plugin-sonagram-window.png
A  +---doc/pt/kwave-plugin-stringenter.png
A  +---doc/pt/kwave-plugin-volume.png
A  +21   -0doc/sv/CMakeLists.txt
A  +12866 -0doc/sv/index.docbook
A  +---doc/sv/kwave-gui-mdi.png
A  +---doc/sv/kwave-gui-sdi.png
A  +---doc/sv/kwave-gui-tab.png
A  +---doc/sv/kwave-main.png
A  +---doc/sv/kwave-plugin-about.png
A  +---doc/sv/kwave-plugin-amplifyfree.png
A  +---doc/sv/kwave-plugin-band_pass.png
A  +---doc/sv/kwave-plugin-codec_mp3.png
A  +---doc/sv/kwave-plugin-fileinfo.png
A  +---doc/sv/kwave-plugin-goto.png
A  +---doc/sv/kwave-plugin-insert_at.png
A  +---doc/sv/kwave-plugin-lowpass.png
A  +---doc/sv/kwave-plugin-memory.png
A  +---doc/sv/kwave-plugin-newsignal.png
A  +---doc/sv/kwave-plugin-noise.png
A  +---doc/sv/kwave-plugin-notch_filter.png
A  +---doc/sv/kwave-plugin-pitch_shift.png
A  +---doc/sv/kwave-plugin-playback.png
A  +---doc/sv/kwave-plugin-record.png
A  +---doc/sv/kwave-plugin-saveblocks.png
A  +---doc/sv/kwave-plugin-selectrange.png
A  +---doc/sv/kwave-plugin-sonagram-setup.png
A  +---doc/sv/kwave-plugin-sonagram-window.png
A  +---doc/sv/kwave-plugin-stringenter.png
A  +---doc/sv/kwave-plugin-volume.png
A  +21   -0doc/uk/CMakeLists.txt
A  +12758 -0doc/uk/index.docbook
A  +---doc/uk/kwave-gui-mdi.png
A  +---doc/uk/kwave-gui-sdi.png
A  +---doc/uk/kwave-gui-tab.png
A  +---doc/uk/kwave-main.png
A  +---doc/uk/kwave-plugin-about.png
A  +---doc/uk/kwave-plugin-amplifyfree.png
A  +---doc/uk/kwave-plugin-band_pass.png
A  +---doc/uk/kwave-plugin-codec_mp3.png
A  +---doc/uk/kwave-plugin-fileinfo.png
A  +---doc/uk/kwave-plugin-goto.png
A  +---doc/uk/kwave-plugin-insert_at.png
A  +---doc/uk/kwave-plugin-lowpass.png
A  +---doc/uk/kwave-plugin-memory.png
A  +---doc/uk/kwave-plugin-newsignal.png
A  +---doc/uk/kwave-plugin-noise.png
A  +---doc/uk/kwave-plugin-notch_filter.png
A  +---doc/uk/kwave-plugin-pitch_shift.png
A  +---doc/uk/kwave-plugin-playback.png
A  +---doc/uk/kwave-plugin-record.png
A  +---doc/uk/kwave-plugin-saveblocks.png
A  +---do

[kde-doc-english] [kwave/frameworks] doc/en: fixed wrong image ref to old filename ('kwave-record.png' -> 'kwave-plugin-record.png') + fixed some wrong comments (tags for command/plugin reference upda

2015-08-22 Thread Thomas Eschenbacher
Git commit 7df055f3eac2f35a27bc4b87d4f5528e8e6f712d by Thomas Eschenbacher.
Committed on 22/08/2015 at 07:31.
Pushed by eschenbacher into branch 'frameworks'.

fixed wrong image ref to old filename ('kwave-record.png' -> 
'kwave-plugin-record.png') + fixed some wrong comments (tags for command/plugin 
reference updater script)

M  +6-6doc/en/index.docbook

http://commits.kde.org/kwave/7df055f3eac2f35a27bc4b87d4f5528e8e6f712d

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index db51eb0..b3b773b 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1984,7 +1984,7 @@



-   
+   


Screenshot of the Record Dialog
@@ -3499,7 +3499,7 @@
 
 &no-i18n-tag;f
 
-   
+   
&no-i18n-cmd_fileinfo;


&i18n-cmd_syntax;&no-i18n-cmd_fileinfo;(index)
@@ -5741,7 +5741,7 @@
 
 
 
-
+
 &no-i18n-plugin_codec_ogg; (Ogg Codec)
 

@@ -5823,7 +5823,7 @@
 
 
 
-
+
 &no-i18n-plugin_codec_wav; (WAV Codec)
 

@@ -5932,7 +5932,7 @@
 
 
 
-
+
 &no-i18n-plugin_fileinfo; (File Info)
 
Screenshot
@@ -6058,7 +6058,7 @@
 
 
 
-
+
 &no-i18n-plugin_insert_at; (Insert At)
 
Screenshot
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave/frameworks] /: index.docbook: changed to 'DTD DocBook XML V4.5-Based Variant V1.1'

2015-08-22 Thread Thomas Eschenbacher
Git commit 32962390e43aecb40a1d98bf7d341ff0e53ca315 by Thomas Eschenbacher.
Committed on 22/08/2015 at 15:35.
Pushed by eschenbacher into branch 'frameworks'.

index.docbook: changed to 'DTD DocBook XML V4.5-Based Variant V1.1'

M  +3-0CHANGES
M  +2-1TODO
M  +1-1doc/en/index.docbook

http://commits.kde.org/kwave/32962390e43aecb40a1d98bf7d341ff0e53ca315

diff --git a/CHANGES b/CHANGES
index cd8a267..83732e8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,7 @@
 
+0.9.x [2015-xx-xx]
+
+ * ported to KDE Frameworks 5 (KF5) / Qt5
  * bugfix: saved plugin parameter lists with escaped characters were not
unescaped when loading again
  * compile fix for armv7l
diff --git a/TODO b/TODO
index cebec6a..3d43f39 100644
--- a/TODO
+++ b/TODO
@@ -2,7 +2,8 @@
 o test: translated names and roles in about data
 o set KXMLGUI_NO_DEPRECATED
 o plugin about: license texts, list of translators
-o TODO: PHONON playback is broken (skips input/too fast?)
+o PHONON playback is broken (skips input/too fast?)
+o screenshot for "editlabel()"
 
 o recording via Phonon
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index b3b773b..c2be02a 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1,5 +1,5 @@
 
-Kwave">
   

___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave/frameworks] /: saveblocks: allow path separators in filename patterns to make it possible to create subdirectories

2015-10-10 Thread Thomas Eschenbacher
Git commit 455489b5701bec00dbcd582c62d4f59d5d0e9e4a by Thomas Eschenbacher.
Committed on 10/10/2015 at 08:39.
Pushed by eschenbacher into branch 'frameworks'.

saveblocks: allow path separators in filename patterns to make it possible to 
create subdirectories

M  +2-0CHANGES
M  +8-0doc/en/index.docbook
M  +94   -31   plugins/saveblocks/SaveBlocksPlugin.cpp
M  +12   -0plugins/saveblocks/SaveBlocksPlugin.h

http://commits.kde.org/kwave/455489b5701bec00dbcd582c62d4f59d5d0e9e4a

diff --git a/CHANGES b/CHANGES
index 891d515..8994650 100644
--- a/CHANGES
+++ b/CHANGES
@@ -11,6 +11,8 @@
  * cmdline option "--nofork" no longer exists
  * bugfix: multiple issues in context of switching the GUI type in scripts
  * saveblocks: fixed issues with special characters in filenames and patterns
+ * saveblocks: allow path separators in filename patterns to make it possible
+   to create subdirectories
 
 0.9.0 [2015-05-25]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index c2be02a..2169727 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -6915,6 +6915,14 @@
a pattern that can contain the original file name, an index
and the number of sections.

+   
+   It is also allowed that the file name pattern contains forward
+   slashes as path separators, which allows saving the sections
+   into different sub directories. Please note that all whitespace
+   characters around such path separators are silently removed, to
+   avoid creation of directory names which begin or end with a
+   whitespace.
+   



diff --git a/plugins/saveblocks/SaveBlocksPlugin.cpp 
b/plugins/saveblocks/SaveBlocksPlugin.cpp
index 3c34813..298896f 100644
--- a/plugins/saveblocks/SaveBlocksPlugin.cpp
+++ b/plugins/saveblocks/SaveBlocksPlugin.cpp
@@ -153,6 +153,31 @@ QStringList *Kwave::SaveBlocksPlugin::setup(QStringList 
&previous_params)
 }
 
 //***
+QString Kwave::SaveBlocksPlugin::createDisplayList(
+const QStringList &list,
+unsigned int max_entries) const
+{
+if (!max_entries || list.isEmpty()) return QString();
+
+QString retval;
+unsigned int count = 0;
+
+foreach (const QString &entry, list) {
+   if (count == 0) // first entry
+   retval = _("");
+   if (count < max_entries)
+   retval += entry + _("");
+   else if (count == max_entries)
+   retval += i18n("...") + _("");
+
+   if (++count > max_entries)
+   break;
+}
+
+return retval;
+}
+
+//***
 int Kwave::SaveBlocksPlugin::start(QStringList ¶ms)
 {
 qDebug("SaveBlocksPlugin::start()");
@@ -166,6 +191,7 @@ int Kwave::SaveBlocksPlugin::start(QStringList ¶ms)
 QString path = file.absolutePath();
 QString ext  = file.suffix();
 QString base = findBase(filename, m_pattern);
+QByteArray sep("/");
 
 // determine the selection settings
 sample_index_t selection_left  = 0;
@@ -196,51 +222,81 @@ int Kwave::SaveBlocksPlugin::start(QStringList ¶ms)
 // qDebug("selection_only   = %d", selection_only);
 // qDebug("indices  = %u...%u (count=%u)", first, 
first+count-1,count);
 
-// check for filenames that might be overwritten
-const int max_overwrite_list_length = 7;
-QDir dir(path, _("*"));
-QStringList files;
-files = dir.entryList();
-
-QStringList overwritten;
+// iterate over all blocks to check for overwritten files and missing dirs
+QStringList  overwritten_files;
+QStringList  missing_dirs;
 for (unsigned int i = first; i < (first + count); i++) {
QString name = createFileName(base, ext, m_pattern, i, count,
  first + count - 1);
-   QRegExp rx(_("^(") + name + _(")$"),
-  Qt::CaseInsensitive);
-   QStringList matches = files.filter(rx);
-   if (matches.count() > 0) {
-   overwritten += Kwave::Parser::unescape(name);
-   if (overwritten.count() > max_overwrite_list_length)
-   break; // we have collected enough names...
+   QString display_name = Kwave::Parser::unescape(name);
+
+   // split the name into directory and file name
+   name = QString::fromLatin1(QUrl::toPercentEncoding(display_name, sep));
+   QUrl url = m_url.adjusted(QUrl::RemoveFilename);
+   url.setPath(url.path(QUrl::FullyEncoded) + name, QUrl::StrictMode);
+
+   QString filename = url.path();
+   QFileInfo file_info(filename);
+
+   // check for potentially overwritten file
+   if (file_info.exists())
+   overwritten_f

[kde-doc-english] [kwave/frameworks] /: saveblocks: format strings of second and later invocations of patterns were ignored

2015-10-10 Thread Thomas Eschenbacher
Git commit 86d81e4f8e9d99044b9e3415d08d7c6463229aec by Thomas Eschenbacher.
Committed on 10/10/2015 at 15:32.
Pushed by eschenbacher into branch 'frameworks'.

saveblocks: format strings of second and later invocations of patterns were 
ignored

saveblocks: added pattern to include file info (file meta data)

M  +4-1CHANGES
M  +9-0doc/en/index.docbook
M  +273  -242  libkwave/FileInfo.cpp
M  +48   -5libkwave/FileInfo.h
M  +60   -7plugins/saveblocks/SaveBlocksPlugin.cpp

http://commits.kde.org/kwave/86d81e4f8e9d99044b9e3415d08d7c6463229aec

diff --git a/CHANGES b/CHANGES
index 8994650..faaa5e5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,9 +10,12 @@
  * support for cmake > 3.3, fix for policy CMP0063
  * cmdline option "--nofork" no longer exists
  * bugfix: multiple issues in context of switching the GUI type in scripts
- * saveblocks: fixed issues with special characters in filenames and patterns
+ * bugfix: fixed issues in saveblocks saveblocks with special characters in
+   filenames and patterns, format strings of second and later invocations
+   of patterns were ignored
  * saveblocks: allow path separators in filename patterns to make it possible
to create subdirectories
+ * saveblocks: added pattern to include file info (file meta data)
 
 0.9.0 [2015-05-25]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 2169727..07e1746 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -6986,6 +6986,15 @@
without path and without 
extension.


+   
+   
&no-i18n-tag;[%fileinfo{keyword}]
+   
+   Will be replaced with the 
content of a file information
+   identified by 
keyword.
+   See section 
+   for a list of all available 
keywords.
+   
+   



diff --git a/libkwave/FileInfo.cpp b/libkwave/FileInfo.cpp
index 928c303..55fc747 100644
--- a/libkwave/FileInfo.cpp
+++ b/libkwave/FileInfo.cpp
@@ -22,240 +22,285 @@
 #include "libkwave/MetaDataList.h"
 #include "libkwave/String.h"
 
-/** FileInfo flag: for internal usage only, do not show to the user */
-#define FP_INTERNAL 0x0001
-
-/** FileInfo flag: readonly, cannot be modified by the user */
-#define FP_READONLY 0x0002
-
-/** FileInfo flag: available for the GUI, but not for loading/saving */
-#define FP_NO_LOAD_SAVE 0x0004
-
 /** prefix of all property names */
 #define FILE_INFO_PROPERTY_PREFIX _("FILE_INFO: ")
 
 /***/
 void Kwave::FileInfo::PropertyTypesMap::fill()
 {
-append(Kwave::INF_UNKNOWN, FP_INTERNAL | FP_NO_LOAD_SAVE,
-   QString(), QString());
-
-append(Kwave::INF_ALBUM, 0,
-_(I18N_NOOP("Album")),
-_(I18N_NOOP("Name of the album if the source is an album\n"
- "that consist of more medias.")));
-append(Kwave::INF_ANNOTATION, 0,
-_(I18N_NOOP("Annotation")),
-_(I18N_NOOP(
- "Provides general comments about the file or the subject of\n"
- "the file. If the comment is several sentences long, end\n"
- "each sentence with a period. Do not include newline\n"
- "characters!")));
-append(Kwave::INF_ARCHIVAL, 0,
-_(I18N_NOOP("Archival location")),
-_(I18N_NOOP("Indicates where the subject of the file is archived.")));
-append(Kwave::INF_AUTHOR, 0,
-_(I18N_NOOP("Author")),
-_(I18N_NOOP("Identifies the name of the author of the original\n"
- "subject of the file."
- "\nExample: 'van Beethoven, Ludwig'")));
-append(Kwave::INF_BITRATE_LOWER, FP_NO_LOAD_SAVE,
-_(I18N_NOOP("Lower Bitrate")),
-_(I18N_NOOP("Specifies the lower limit in a VBR bitstream.")));
-append(Kwave::INF_BITRATE_MODE, FP_INTERNAL | FP_NO_LOAD_SAVE,
-_(I18N_NOOP("Bitrate Mode")),
-_(I18N_NOOP("Bitrate Mode (ABR, VBR, CBR, etc...)")));
-append(Kwave::INF_BITRATE_NOMINAL, FP_NO_LOAD_SAVE,
-_(I18N_NOOP("Bitrate")),
-_(I18N_NOOP(
- "Nominal bitrate of the audio stream in bits per second")));
-appe

[kde-doc-english] [kwave/frameworks] /: saveblocks: added pattern to include the title of the current block

2015-10-12 Thread Thomas Eschenbacher
Git commit f75c05f944b08235ac6bf89d2682aab1f838a10a by Thomas Eschenbacher.
Committed on 13/10/2015 at 06:25.
Pushed by eschenbacher into branch 'frameworks'.

saveblocks: added pattern to include the title of the current block

M  +2-1CHANGES
M  +13   -0doc/en/index.docbook
M  +69   -17   plugins/saveblocks/SaveBlocksPlugin.cpp
M  +15   -4plugins/saveblocks/SaveBlocksPlugin.h
M  +8-0plugins/saveblocks/SaveBlocksWidget.cpp

http://commits.kde.org/kwave/f75c05f944b08235ac6bf89d2682aab1f838a10a

diff --git a/CHANGES b/CHANGES
index faaa5e5..a3af7e2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -15,7 +15,8 @@
of patterns were ignored
  * saveblocks: allow path separators in filename patterns to make it possible
to create subdirectories
- * saveblocks: added pattern to include file info (file meta data)
+ * saveblocks: added patterns to include file info (file meta data) or the
+   title of the current block
 
 0.9.0 [2015-05-25]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 07e1746..27f8a55 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -6995,6 +6995,19 @@
for a list of all available 
keywords.


+   
+   
&no-i18n-tag;[%title]
+   
+   Will be replaced with the 
title the block, which is taken
+   from the descriptive text 
of the label at the
+   start 
of the block.
+   If that text is empty it 
will fall back to the title
+   of the file (see file 
information item
+   "Name").
+   If this also does not 
exist, it will fall back to the
+   base file name as described 
above.
+   
+   



diff --git a/plugins/saveblocks/SaveBlocksPlugin.cpp 
b/plugins/saveblocks/SaveBlocksPlugin.cpp
index 2d0453c..77ce529 100644
--- a/plugins/saveblocks/SaveBlocksPlugin.cpp
+++ b/plugins/saveblocks/SaveBlocksPlugin.cpp
@@ -28,6 +28,7 @@
 #include 
 
 #include "libkwave/CodecManager.h"
+#include "libkwave/FileInfo.h"
 #include "libkwave/Label.h"
 #include "libkwave/LabelList.h"
 #include "libkwave/MessageBox.h"
@@ -46,7 +47,7 @@ KWAVE_PLUGIN(Kwave::SaveBlocksPlugin, "saveblocks", "2.4",
 Kwave::SaveBlocksPlugin::SaveBlocksPlugin(Kwave::PluginManager &plugin_manager)
 :Kwave::Plugin(plugin_manager),
  m_url(), m_pattern(), m_numbering_mode(CONTINUE),
- m_selection_only(true)
+ m_selection_only(true), m_block_info()
 {
 }
 
@@ -73,6 +74,10 @@ QStringList *Kwave::SaveBlocksPlugin::setup(QStringList 
&previous_params)
  (selection_right + 1 >= signalLength()));
 bool enable_selection_only = selected_something && !selected_all;
 
+QString filename = m_url.path();
+QString base = findBase(filename, m_pattern);
+scanBlocksToSave(base, m_selection_only && enable_selection_only);
+
 QPointer dialog =
new(std::nothrow) Kwave::SaveBlocksDialog(
_("kfiledialog:///kwave_save_blocks"),
@@ -212,7 +217,8 @@ int Kwave::SaveBlocksPlugin::start(QStringList ¶ms)
 }
 
 // get the index range
-unsigned int count = blocksToSave(selection_only);
+scanBlocksToSave(base, selection_only);
+unsigned int count = m_block_info.count();
 unsigned int first = firstIndex(path, base, ext, m_pattern,
 m_numbering_mode, count);
 
@@ -396,13 +402,14 @@ int 
Kwave::SaveBlocksPlugin::interpreteParameters(QStringList ¶ms)
 }
 
 //***
-unsigned int Kwave::SaveBlocksPlugin::blocksToSave(bool selection_only)
+void Kwave::SaveBlocksPlugin::scanBlocksToSave(const QString &base,
+   bool selection_only)
 {
-unsigned int count = 0;
 sample_index_t selection_left, selection_right;
 
 sample_index_t block_start;
 sample_index_t block_end = 0;
+QStringblock_title;
 Kwave::LabelList labels(signalManager().metaData());
 Kwave::LabelListIterator it(labels);
 Kwave::Label label = (it.hasNext()) ? it.next() : Kwave::Label();
@@ -410,19 +417,39 @@ u

[kde-doc-english] where are the (translated) license texts in KF5 ?

2015-10-15 Thread Thomas Eschenbacher
Hi all,

I have ported my application to KF5 and wonder where I can get the full
license texts (e.g. for GPL2+). I had that in my help/about dialog under
KDE4, but now KAboutLicense::text() only returns one single sentence
with the "ShortName".

In the source of kaboutdata.cpp (kcoreaddons-5.14.0 / Gentoo Linux) I
see that the code searches for a file "LICENSES/GPL_V2" in
QStandardPaths::GenericDataLocation (which is a list that contains
"/usr/share") - but that does not work. I only have
/usr/share/apps/LICENSES/GPL_V2 - but that one belongs to an old KDE4
installation and is not found.

Is there some secret/special package that I need to install to get those
license texts?

Or is that a known bug (or collateral damage) of the KDE4 -> KF5 porting?

And what about translations, are there translated versions?

kind regards,
   Thomas
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


Re: [kde-doc-english] where are the (translated) license texts in KF5 ?

2015-10-15 Thread Thomas Eschenbacher
Luigi Toscano wrote:
> [...]
>> KAboutLicense::text() only returns one single sentence
>> with the "ShortName".
> [...]
> Uhm, it seems it is a porting problem. Please file a bug against
> frameworks-kcoreaddons.

good to know, I filed a bug for it: #353939

thanks!
Thomas
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] KAboutData::translators() returns nothing

2015-10-15 Thread Thomas Eschenbacher
Hi,

could someone please give me a hint what is the secret clue behind
KAboutData::translators() ?
I use that call in my help/about dialog to get a list of translators.

I see that extract-messages.sh produces two entries in my application's
pot file:

msgctxt "NAME OF TRANSLATORS"
msgid "Your names"
msgstr ""

msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr ""

and in my po file I see the corresponding two entries, which IMHO are
correctly filled out:

msgctxt "NAME OF TRANSLATORS"
msgid "Your names"
msgstr "Thomas Eschenbacher"

msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "thomas.eschenbac...@gmx.de"

But what could then be the reason for KAboutData::translators() to fail?
I looked at the source of that function to see what goes on there. The
core seems to ne a call to QCoreApplication::translate to get the
translated texts, so I hacked these lined into my main.cpp, just before
the call to app.exec():

#define NAME_OF_TRANSLATORS "Your names"
QString name = QCoreApplication::translate("KAboutPerson",
NAME_OF_TRANSLATORS, "NAME OF TRANSLATORS");
qDebug("this fails: '%s'", name.toLocal8Bit().data()); // <- prints
"Your names"

But on the other hand: using i18n(...) works fine:
qDebug("this works: '%s'", i18n("Your names").toLocal8Bit().data());
// <- prints my name!

What the heck goes wrong here???

kind regards,
   Thomas
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


Re: [kde-doc-english] KAboutData::translators() returns nothing

2015-10-15 Thread Thomas Eschenbacher
Luigi Toscano wrote:
> [...]
>> could someone please give me a hint what is the secret clue behind
>> KAboutData::translators() ?
>> I use that call in my help/about dialog to get a list of translators.
[...]
> 
> I think it's better to ask on kde-i18n-doc@ or directly on 
> kde-frameworks-devel@.

sorry, I didn't find the right keywords in my first search on bugs.kde.org.
Today I found out that this is a known bug since march this year but
nobody fixed
that yet (#345320)

thanks,
   Thomas
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave/frameworks] /: added screenshot of the edit_label dialog

2015-10-17 Thread Thomas Eschenbacher
Git commit bf08602ab7768f4c2a7fb51c3ed4889e19187e9a by Thomas Eschenbacher.
Committed on 17/10/2015 at 16:34.
Pushed by eschenbacher into branch 'frameworks'.

added screenshot of the edit_label dialog

M  +1-0CHANGES
M  +0-1TODO
M  +11   -0doc/en/index.docbook
M  +3-3scripts/create-testfile.kwave
M  +9-0scripts/screenshots.kwave

http://commits.kde.org/kwave/bf08602ab7768f4c2a7fb51c3ed4889e19187e9a

diff --git a/CHANGES b/CHANGES
index 7f9a2a1..24ded78 100644
--- a/CHANGES
+++ b/CHANGES
@@ -19,6 +19,7 @@
title of the current block
  * workaround for bug in KDE #345320 (missing translators in help/about dialog)
  * about pugin: added info about translation team
+ * added screenshot of the edit_label dialog
 
 0.9.0 [2015-05-25]
 
diff --git a/TODO b/TODO
index cbe3f16..468ba3a 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,5 @@
 
 o PHONON playback is broken (skips input/too fast?)
-o screenshot for "editlabel()"
 
 o recording via Phonon
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 27f8a55..ce14bee 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -3468,6 +3468,17 @@
 

&no-i18n-cmd_edit_label;
+   
+   Screenshot
+   
+   
+   
+   
+   
+   Screenshot of the label editing dialog
+   
+   
+   


&i18n-cmd_syntax;&no-i18n-cmd_edit_label;(index)

diff --git a/scripts/create-testfile.kwave b/scripts/create-testfile.kwave
index 70a1e3a..8f498cc 100644
--- a/scripts/create-testfile.kwave
+++ b/scripts/create-testfile.kwave
@@ -23,9 +23,9 @@ view:zoom_all()
 selectall()
 plugin:execute(normalize)
 add_track()
-add_label(10478, "left")
-add_label(151500, "right")
-add_label(8, "middle")
+add_label(10478, Beethoven - Symphony No. 5)
+add_label(151500, right)
+add_label(8, middle)
 select_track:off(1)
 copy()
 select_track:invert()
diff --git a/scripts/screenshots.kwave b/scripts/screenshots.kwave
index e5939ad..1d6ec3c 100644
--- a/scripts/screenshots.kwave
+++ b/scripts/screenshots.kwave
@@ -124,6 +124,15 @@ main:
 sync()
 
 #
+# screenshot of the Edit Label dialog
+#
+edit-label:
+delayed(1000,window:screenshot(Kwave::LabelPropertiesWidget, 
/var/tmp/screenshots/${LANG}/kwave-edit-label.png))
+delayed(100,window:close(Kwave::LabelPropertiesWidget))
+edit_label(0)
+sync()
+
+#
 # screenshot of the Help/About dialog
 #
 plugin-about:
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: saveblocks: added pattern to include the title of the current block

2015-10-28 Thread Thomas Eschenbacher
Git commit 480833bd05f094ef22eea9df287f45b2e4b3f32d by Thomas Eschenbacher.
Committed on 28/10/2015 at 18:51.
Pushed by eschenbacher into branch 'master'.

saveblocks: added pattern to include the title of the current block

M  +2-1CHANGES
M  +13   -0doc/en/index.docbook
M  +69   -17   plugins/saveblocks/SaveBlocksPlugin.cpp
M  +15   -4plugins/saveblocks/SaveBlocksPlugin.h
M  +8-0plugins/saveblocks/SaveBlocksWidget.cpp

http://commits.kde.org/kwave/480833bd05f094ef22eea9df287f45b2e4b3f32d

diff --git a/CHANGES b/CHANGES
index faaa5e5..a3af7e2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -15,7 +15,8 @@
of patterns were ignored
  * saveblocks: allow path separators in filename patterns to make it possible
to create subdirectories
- * saveblocks: added pattern to include file info (file meta data)
+ * saveblocks: added patterns to include file info (file meta data) or the
+   title of the current block
 
 0.9.0 [2015-05-25]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 07e1746..27f8a55 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -6995,6 +6995,19 @@
for a list of all available 
keywords.


+   
+   
&no-i18n-tag;[%title]
+   
+   Will be replaced with the 
title the block, which is taken
+   from the descriptive text 
of the label at the
+   start 
of the block.
+   If that text is empty it 
will fall back to the title
+   of the file (see file 
information item
+   "Name").
+   If this also does not 
exist, it will fall back to the
+   base file name as described 
above.
+   
+   



diff --git a/plugins/saveblocks/SaveBlocksPlugin.cpp 
b/plugins/saveblocks/SaveBlocksPlugin.cpp
index 2d0453c..77ce529 100644
--- a/plugins/saveblocks/SaveBlocksPlugin.cpp
+++ b/plugins/saveblocks/SaveBlocksPlugin.cpp
@@ -28,6 +28,7 @@
 #include 
 
 #include "libkwave/CodecManager.h"
+#include "libkwave/FileInfo.h"
 #include "libkwave/Label.h"
 #include "libkwave/LabelList.h"
 #include "libkwave/MessageBox.h"
@@ -46,7 +47,7 @@ KWAVE_PLUGIN(Kwave::SaveBlocksPlugin, "saveblocks", "2.4",
 Kwave::SaveBlocksPlugin::SaveBlocksPlugin(Kwave::PluginManager &plugin_manager)
 :Kwave::Plugin(plugin_manager),
  m_url(), m_pattern(), m_numbering_mode(CONTINUE),
- m_selection_only(true)
+ m_selection_only(true), m_block_info()
 {
 }
 
@@ -73,6 +74,10 @@ QStringList *Kwave::SaveBlocksPlugin::setup(QStringList 
&previous_params)
  (selection_right + 1 >= signalLength()));
 bool enable_selection_only = selected_something && !selected_all;
 
+QString filename = m_url.path();
+QString base = findBase(filename, m_pattern);
+scanBlocksToSave(base, m_selection_only && enable_selection_only);
+
 QPointer dialog =
new(std::nothrow) Kwave::SaveBlocksDialog(
_("kfiledialog:///kwave_save_blocks"),
@@ -212,7 +217,8 @@ int Kwave::SaveBlocksPlugin::start(QStringList ¶ms)
 }
 
 // get the index range
-unsigned int count = blocksToSave(selection_only);
+scanBlocksToSave(base, selection_only);
+unsigned int count = m_block_info.count();
 unsigned int first = firstIndex(path, base, ext, m_pattern,
 m_numbering_mode, count);
 
@@ -396,13 +402,14 @@ int 
Kwave::SaveBlocksPlugin::interpreteParameters(QStringList ¶ms)
 }
 
 //***
-unsigned int Kwave::SaveBlocksPlugin::blocksToSave(bool selection_only)
+void Kwave::SaveBlocksPlugin::scanBlocksToSave(const QString &base,
+   bool selection_only)
 {
-unsigned int count = 0;
 sample_index_t selection_left, selection_right;
 
 sample_index_t block_start;
 sample_index_t block_end = 0;
+QStringblock_title;
 Kwave::LabelList labels(signalManager().metaData());
 Kwave::LabelListIterator it(labels);
 Kwave::Label label = (it.hasNext()) ? it.next() : Kwave::Label();
@@ -410,19 +417,39 @@ unsigned int Kwave:

[kde-doc-english] [kwave] /: index.docbook: changed to 'DTD DocBook XML V4.5-Based Variant V1.1'

2015-10-28 Thread Thomas Eschenbacher
Git commit db80b3d85412fc9a0a9059e21bae1740f2a8b4c6 by Thomas Eschenbacher.
Committed on 28/10/2015 at 18:51.
Pushed by eschenbacher into branch 'master'.

index.docbook: changed to 'DTD DocBook XML V4.5-Based Variant V1.1'

M  +3-0CHANGES
M  +2-1TODO
M  +1-1doc/en/index.docbook

http://commits.kde.org/kwave/db80b3d85412fc9a0a9059e21bae1740f2a8b4c6

diff --git a/CHANGES b/CHANGES
index cd8a267..83732e8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,7 @@
 
+0.9.x [2015-xx-xx]
+
+ * ported to KDE Frameworks 5 (KF5) / Qt5
  * bugfix: saved plugin parameter lists with escaped characters were not
unescaped when loading again
  * compile fix for armv7l
diff --git a/TODO b/TODO
index cebec6a..3d43f39 100644
--- a/TODO
+++ b/TODO
@@ -2,7 +2,8 @@
 o test: translated names and roles in about data
 o set KXMLGUI_NO_DEPRECATED
 o plugin about: license texts, list of translators
-o TODO: PHONON playback is broken (skips input/too fast?)
+o PHONON playback is broken (skips input/too fast?)
+o screenshot for "editlabel()"
 
 o recording via Phonon
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index b3b773b..c2be02a 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1,5 +1,5 @@
 
-Kwave">
   


___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: saveblocks: format strings of second and later invocations of patterns were ignored

2015-10-28 Thread Thomas Eschenbacher
Git commit 2b5bd016f123c22dc91d4d4202c41b0487accdbb by Thomas Eschenbacher.
Committed on 28/10/2015 at 18:51.
Pushed by eschenbacher into branch 'master'.

saveblocks: format strings of second and later invocations of patterns were 
ignored

saveblocks: added pattern to include file info (file meta data)

M  +4-1CHANGES
M  +9-0doc/en/index.docbook
M  +273  -242  libkwave/FileInfo.cpp
M  +48   -5libkwave/FileInfo.h
M  +60   -7plugins/saveblocks/SaveBlocksPlugin.cpp

http://commits.kde.org/kwave/2b5bd016f123c22dc91d4d4202c41b0487accdbb

diff --git a/CHANGES b/CHANGES
index 8994650..faaa5e5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,9 +10,12 @@
  * support for cmake > 3.3, fix for policy CMP0063
  * cmdline option "--nofork" no longer exists
  * bugfix: multiple issues in context of switching the GUI type in scripts
- * saveblocks: fixed issues with special characters in filenames and patterns
+ * bugfix: fixed issues in saveblocks saveblocks with special characters in
+   filenames and patterns, format strings of second and later invocations
+   of patterns were ignored
  * saveblocks: allow path separators in filename patterns to make it possible
to create subdirectories
+ * saveblocks: added pattern to include file info (file meta data)
 
 0.9.0 [2015-05-25]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 2169727..07e1746 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -6986,6 +6986,15 @@
without path and without 
extension.


+   
+   
&no-i18n-tag;[%fileinfo{keyword}]
+   
+   Will be replaced with the 
content of a file information
+   identified by 
keyword.
+   See section 
+   for a list of all available 
keywords.
+   
+   



diff --git a/libkwave/FileInfo.cpp b/libkwave/FileInfo.cpp
index 928c303..55fc747 100644
--- a/libkwave/FileInfo.cpp
+++ b/libkwave/FileInfo.cpp
@@ -22,240 +22,285 @@
 #include "libkwave/MetaDataList.h"
 #include "libkwave/String.h"
 
-/** FileInfo flag: for internal usage only, do not show to the user */
-#define FP_INTERNAL 0x0001
-
-/** FileInfo flag: readonly, cannot be modified by the user */
-#define FP_READONLY 0x0002
-
-/** FileInfo flag: available for the GUI, but not for loading/saving */
-#define FP_NO_LOAD_SAVE 0x0004
-
 /** prefix of all property names */
 #define FILE_INFO_PROPERTY_PREFIX _("FILE_INFO: ")
 
 /***/
 void Kwave::FileInfo::PropertyTypesMap::fill()
 {
-append(Kwave::INF_UNKNOWN, FP_INTERNAL | FP_NO_LOAD_SAVE,
-   QString(), QString());
-
-append(Kwave::INF_ALBUM, 0,
-_(I18N_NOOP("Album")),
-_(I18N_NOOP("Name of the album if the source is an album\n"
- "that consist of more medias.")));
-append(Kwave::INF_ANNOTATION, 0,
-_(I18N_NOOP("Annotation")),
-_(I18N_NOOP(
- "Provides general comments about the file or the subject of\n"
- "the file. If the comment is several sentences long, end\n"
- "each sentence with a period. Do not include newline\n"
- "characters!")));
-append(Kwave::INF_ARCHIVAL, 0,
-_(I18N_NOOP("Archival location")),
-_(I18N_NOOP("Indicates where the subject of the file is archived.")));
-append(Kwave::INF_AUTHOR, 0,
-_(I18N_NOOP("Author")),
-_(I18N_NOOP("Identifies the name of the author of the original\n"
- "subject of the file."
- "\nExample: 'van Beethoven, Ludwig'")));
-append(Kwave::INF_BITRATE_LOWER, FP_NO_LOAD_SAVE,
-_(I18N_NOOP("Lower Bitrate")),
-_(I18N_NOOP("Specifies the lower limit in a VBR bitstream.")));
-append(Kwave::INF_BITRATE_MODE, FP_INTERNAL | FP_NO_LOAD_SAVE,
-_(I18N_NOOP("Bitrate Mode")),
-_(I18N_NOOP("Bitrate Mode (ABR, VBR, CBR, etc...)")));
-append(Kwave::INF_BITRATE_NOMINAL, FP_NO_LOAD_SAVE,
-_(I18N_NOOP("Bitrate")),
-_(I18N_NOOP(
- "Nominal bitrate of the audio stream in bits per second")));
-appe

[kde-doc-english] [kwave] doc/en: fixed wrong image ref to old filename ('kwave-record.png' -> 'kwave-plugin-record.png') + fixed some wrong comments (tags for command/plugin reference updater script)

2015-10-28 Thread Thomas Eschenbacher
Git commit 5923e2bf11bfeed391f45572d1c12f557ef163e8 by Thomas Eschenbacher.
Committed on 28/10/2015 at 18:51.
Pushed by eschenbacher into branch 'master'.

fixed wrong image ref to old filename ('kwave-record.png' -> 
'kwave-plugin-record.png') + fixed some wrong comments (tags for command/plugin 
reference updater script)

M  +6-6doc/en/index.docbook

http://commits.kde.org/kwave/5923e2bf11bfeed391f45572d1c12f557ef163e8

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index db51eb0..b3b773b 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1984,7 +1984,7 @@



-   
+   


Screenshot of the Record Dialog
@@ -3499,7 +3499,7 @@
 
 &no-i18n-tag;f
 
-   
+   
&no-i18n-cmd_fileinfo;


&i18n-cmd_syntax;&no-i18n-cmd_fileinfo;(index)
@@ -5741,7 +5741,7 @@
 
 
 
-
+
 &no-i18n-plugin_codec_ogg; (Ogg Codec)
 

@@ -5823,7 +5823,7 @@
 
 
 
-
+
 &no-i18n-plugin_codec_wav; (WAV Codec)
 

@@ -5932,7 +5932,7 @@
 
 
 
-
+
 &no-i18n-plugin_fileinfo; (File Info)
 
Screenshot
@@ -6058,7 +6058,7 @@
 
 
 
-
+
 &no-i18n-plugin_insert_at; (Insert At)
 
Screenshot

___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: added screenshot of the edit_label dialog

2015-10-28 Thread Thomas Eschenbacher
Git commit 5c6506da42b2e552f6fb19404edda8a006825cae by Thomas Eschenbacher.
Committed on 28/10/2015 at 18:51.
Pushed by eschenbacher into branch 'master'.

added screenshot of the edit_label dialog

M  +1-0CHANGES
M  +0-1TODO
M  +11   -0doc/en/index.docbook
M  +3-3scripts/create-testfile.kwave
M  +9-0scripts/screenshots.kwave

http://commits.kde.org/kwave/5c6506da42b2e552f6fb19404edda8a006825cae

diff --git a/CHANGES b/CHANGES
index 7f9a2a1..24ded78 100644
--- a/CHANGES
+++ b/CHANGES
@@ -19,6 +19,7 @@
title of the current block
  * workaround for bug in KDE #345320 (missing translators in help/about dialog)
  * about pugin: added info about translation team
+ * added screenshot of the edit_label dialog
 
 0.9.0 [2015-05-25]
 
diff --git a/TODO b/TODO
index cbe3f16..468ba3a 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,5 @@
 
 o PHONON playback is broken (skips input/too fast?)
-o screenshot for "editlabel()"
 
 o recording via Phonon
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 27f8a55..ce14bee 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -3468,6 +3468,17 @@
 

&no-i18n-cmd_edit_label;
+   
+   Screenshot
+   
+   
+   
+   
+   
+   Screenshot of the label editing dialog
+   
+   
+   


&i18n-cmd_syntax;&no-i18n-cmd_edit_label;(index)

diff --git a/scripts/create-testfile.kwave b/scripts/create-testfile.kwave
index 70a1e3a..8f498cc 100644
--- a/scripts/create-testfile.kwave
+++ b/scripts/create-testfile.kwave
@@ -23,9 +23,9 @@ view:zoom_all()
 selectall()
 plugin:execute(normalize)
 add_track()
-add_label(10478, "left")
-add_label(151500, "right")
-add_label(8, "middle")
+add_label(10478, Beethoven - Symphony No. 5)
+add_label(151500, right)
+add_label(8, middle)
 select_track:off(1)
 copy()
 select_track:invert()
diff --git a/scripts/screenshots.kwave b/scripts/screenshots.kwave
index e5939ad..1d6ec3c 100644
--- a/scripts/screenshots.kwave
+++ b/scripts/screenshots.kwave
@@ -124,6 +124,15 @@ main:
 sync()
 
 #
+# screenshot of the Edit Label dialog
+#
+edit-label:
+delayed(1000,window:screenshot(Kwave::LabelPropertiesWidget, 
/var/tmp/screenshots/${LANG}/kwave-edit-label.png))
+delayed(100,window:close(Kwave::LabelPropertiesWidget))
+edit_label(0)
+sync()
+
+#
 # screenshot of the Help/About dialog
 #
 plugin-about:

___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: saveblocks: allow path separators in filename patterns to make it possible to create subdirectories

2015-10-28 Thread Thomas Eschenbacher
Git commit f74bff5eebba29cfa574bb8a65d575979e6b8a41 by Thomas Eschenbacher.
Committed on 28/10/2015 at 18:51.
Pushed by eschenbacher into branch 'master'.

saveblocks: allow path separators in filename patterns to make it possible to 
create subdirectories

M  +2-0CHANGES
M  +8-0doc/en/index.docbook
M  +94   -31   plugins/saveblocks/SaveBlocksPlugin.cpp
M  +12   -0plugins/saveblocks/SaveBlocksPlugin.h

http://commits.kde.org/kwave/f74bff5eebba29cfa574bb8a65d575979e6b8a41

diff --git a/CHANGES b/CHANGES
index 891d515..8994650 100644
--- a/CHANGES
+++ b/CHANGES
@@ -11,6 +11,8 @@
  * cmdline option "--nofork" no longer exists
  * bugfix: multiple issues in context of switching the GUI type in scripts
  * saveblocks: fixed issues with special characters in filenames and patterns
+ * saveblocks: allow path separators in filename patterns to make it possible
+   to create subdirectories
 
 0.9.0 [2015-05-25]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index c2be02a..2169727 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -6915,6 +6915,14 @@
a pattern that can contain the original file name, an index
and the number of sections.

+   
+   It is also allowed that the file name pattern contains forward
+   slashes as path separators, which allows saving the sections
+   into different sub directories. Please note that all whitespace
+   characters around such path separators are silently removed, to
+   avoid creation of directory names which begin or end with a
+   whitespace.
+   



diff --git a/plugins/saveblocks/SaveBlocksPlugin.cpp 
b/plugins/saveblocks/SaveBlocksPlugin.cpp
index 3c34813..298896f 100644
--- a/plugins/saveblocks/SaveBlocksPlugin.cpp
+++ b/plugins/saveblocks/SaveBlocksPlugin.cpp
@@ -153,6 +153,31 @@ QStringList *Kwave::SaveBlocksPlugin::setup(QStringList 
&previous_params)
 }
 
 //***
+QString Kwave::SaveBlocksPlugin::createDisplayList(
+const QStringList &list,
+unsigned int max_entries) const
+{
+if (!max_entries || list.isEmpty()) return QString();
+
+QString retval;
+unsigned int count = 0;
+
+foreach (const QString &entry, list) {
+   if (count == 0) // first entry
+   retval = _("");
+   if (count < max_entries)
+   retval += entry + _("");
+   else if (count == max_entries)
+   retval += i18n("...") + _("");
+
+   if (++count > max_entries)
+   break;
+}
+
+return retval;
+}
+
+//***
 int Kwave::SaveBlocksPlugin::start(QStringList ¶ms)
 {
 qDebug("SaveBlocksPlugin::start()");
@@ -166,6 +191,7 @@ int Kwave::SaveBlocksPlugin::start(QStringList ¶ms)
 QString path = file.absolutePath();
 QString ext  = file.suffix();
 QString base = findBase(filename, m_pattern);
+QByteArray sep("/");
 
 // determine the selection settings
 sample_index_t selection_left  = 0;
@@ -196,51 +222,81 @@ int Kwave::SaveBlocksPlugin::start(QStringList ¶ms)
 // qDebug("selection_only   = %d", selection_only);
 // qDebug("indices  = %u...%u (count=%u)", first, 
first+count-1,count);
 
-// check for filenames that might be overwritten
-const int max_overwrite_list_length = 7;
-QDir dir(path, _("*"));
-QStringList files;
-files = dir.entryList();
-
-QStringList overwritten;
+// iterate over all blocks to check for overwritten files and missing dirs
+QStringList  overwritten_files;
+QStringList  missing_dirs;
 for (unsigned int i = first; i < (first + count); i++) {
QString name = createFileName(base, ext, m_pattern, i, count,
  first + count - 1);
-   QRegExp rx(_("^(") + name + _(")$"),
-  Qt::CaseInsensitive);
-   QStringList matches = files.filter(rx);
-   if (matches.count() > 0) {
-   overwritten += Kwave::Parser::unescape(name);
-   if (overwritten.count() > max_overwrite_list_length)
-   break; // we have collected enough names...
+   QString display_name = Kwave::Parser::unescape(name);
+
+   // split the name into directory and file name
+   name = QString::fromLatin1(QUrl::toPercentEncoding(display_name, sep));
+   QUrl url = m_url.adjusted(QUrl::RemoveFilename);
+   url.setPath(url.path(QUrl::FullyEncoded) + name, QUrl::StrictMode);
+
+   QString filename = url.path();
+   QFileInfo file_info(filename);
+
+   // check for potentially overwritten file
+   if (file_info.exists())
+   overwritten_f

Re: [kde-doc-english] Generation of docbook for kwave fails in trunk

2015-10-30 Thread Thomas Eschenbacher
Freek de Kruijf wrote:

> When trying to generate the docbook for kwave in kdereview in KDE4 trunk I 
> get 
> a lot of undefined entities and the generation fails.
> 
> Generating other docbook files in KDE4 trunk works OK.

I analyzed this and yes, you are right. I recently changed the branches,
main development for KF5 is now on "master" and maintenance for KDE4 is
on the "Release-0_9_x_bugfixes" branch which was not available in the
web interface on projects.kde.org, so I changed it to "none".

Today I revisited the web interface and have seen that the KDE4 branch
was set back to "master", no idea why..., therefore the docbook file
from the master branch (KF5) was accidently used. But today the correct
branch was available and I changed it.

-> should be fixed now, sorry for the confusion,

Thomas
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


Re: [kde-doc-english] Generation of docbook for kwave fails in trunk

2015-11-01 Thread Thomas Eschenbacher
Freek de Kruijf wrote:
>>[...]
>> -> should be fixed now, sorry for the confusion,
> 
> I still get the same error.

that depends on where you look at.

The original file is here:
https://quickgit.kde.org/?p=kwave.git&a=blob&h=db51eb09f1bf6d5f9b64a8b394d0ac155478077c&hb=210ea799eb59efcfda21c677995a53042d34054a&f=doc%2Fen%2Findex.docbook

and only that one is under my influence. If you look at the second line
of that file, it should be
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: saveblocks: added pattern to include the title of the current block

2015-11-03 Thread Thomas Eschenbacher
Git commit c0dd251ee2877e3553801367e9b698278fbdb455 by Thomas Eschenbacher.
Committed on 03/11/2015 at 18:04.
Pushed by eschenbacher into branch 'master'.

saveblocks: added pattern to include the title of the current block

M  +2-1CHANGES
M  +13   -0doc/en/index.docbook
M  +69   -17   plugins/saveblocks/SaveBlocksPlugin.cpp
M  +15   -4plugins/saveblocks/SaveBlocksPlugin.h
M  +8-0plugins/saveblocks/SaveBlocksWidget.cpp

http://commits.kde.org/kwave/c0dd251ee2877e3553801367e9b698278fbdb455

diff --git a/CHANGES b/CHANGES
index faaa5e5..a3af7e2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -15,7 +15,8 @@
of patterns were ignored
  * saveblocks: allow path separators in filename patterns to make it possible
to create subdirectories
- * saveblocks: added pattern to include file info (file meta data)
+ * saveblocks: added patterns to include file info (file meta data) or the
+   title of the current block
 
 0.9.0 [2015-05-25]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 07e1746..27f8a55 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -6995,6 +6995,19 @@
for a list of all available 
keywords.


+   
+   
&no-i18n-tag;[%title]
+   
+   Will be replaced with the 
title the block, which is taken
+   from the descriptive text 
of the label at the
+   start 
of the block.
+   If that text is empty it 
will fall back to the title
+   of the file (see file 
information item
+   "Name").
+   If this also does not 
exist, it will fall back to the
+   base file name as described 
above.
+   
+   



diff --git a/plugins/saveblocks/SaveBlocksPlugin.cpp 
b/plugins/saveblocks/SaveBlocksPlugin.cpp
index 2d0453c..77ce529 100644
--- a/plugins/saveblocks/SaveBlocksPlugin.cpp
+++ b/plugins/saveblocks/SaveBlocksPlugin.cpp
@@ -28,6 +28,7 @@
 #include 
 
 #include "libkwave/CodecManager.h"
+#include "libkwave/FileInfo.h"
 #include "libkwave/Label.h"
 #include "libkwave/LabelList.h"
 #include "libkwave/MessageBox.h"
@@ -46,7 +47,7 @@ KWAVE_PLUGIN(Kwave::SaveBlocksPlugin, "saveblocks", "2.4",
 Kwave::SaveBlocksPlugin::SaveBlocksPlugin(Kwave::PluginManager &plugin_manager)
 :Kwave::Plugin(plugin_manager),
  m_url(), m_pattern(), m_numbering_mode(CONTINUE),
- m_selection_only(true)
+ m_selection_only(true), m_block_info()
 {
 }
 
@@ -73,6 +74,10 @@ QStringList *Kwave::SaveBlocksPlugin::setup(QStringList 
&previous_params)
  (selection_right + 1 >= signalLength()));
 bool enable_selection_only = selected_something && !selected_all;
 
+QString filename = m_url.path();
+QString base = findBase(filename, m_pattern);
+scanBlocksToSave(base, m_selection_only && enable_selection_only);
+
 QPointer dialog =
new(std::nothrow) Kwave::SaveBlocksDialog(
_("kfiledialog:///kwave_save_blocks"),
@@ -212,7 +217,8 @@ int Kwave::SaveBlocksPlugin::start(QStringList ¶ms)
 }
 
 // get the index range
-unsigned int count = blocksToSave(selection_only);
+scanBlocksToSave(base, selection_only);
+unsigned int count = m_block_info.count();
 unsigned int first = firstIndex(path, base, ext, m_pattern,
 m_numbering_mode, count);
 
@@ -396,13 +402,14 @@ int 
Kwave::SaveBlocksPlugin::interpreteParameters(QStringList ¶ms)
 }
 
 //***
-unsigned int Kwave::SaveBlocksPlugin::blocksToSave(bool selection_only)
+void Kwave::SaveBlocksPlugin::scanBlocksToSave(const QString &base,
+   bool selection_only)
 {
-unsigned int count = 0;
 sample_index_t selection_left, selection_right;
 
 sample_index_t block_start;
 sample_index_t block_end = 0;
+QStringblock_title;
 Kwave::LabelList labels(signalManager().metaData());
 Kwave::LabelListIterator it(labels);
 Kwave::Label label = (it.hasNext()) ? it.next() : Kwave::Label();
@@ -410,19 +417,39 @@ unsigned int Kwave:

[kde-doc-english] [kwave] doc/en: fixed wrong image ref to old filename ('kwave-record.png' -> 'kwave-plugin-record.png') + fixed some wrong comments (tags for command/plugin reference updater script)

2015-11-03 Thread Thomas Eschenbacher
Git commit cf8d428887b731be3e44c96ab96fb1e3c73dcecd by Thomas Eschenbacher.
Committed on 03/11/2015 at 18:04.
Pushed by eschenbacher into branch 'master'.

fixed wrong image ref to old filename ('kwave-record.png' -> 
'kwave-plugin-record.png') + fixed some wrong comments (tags for command/plugin 
reference updater script)

M  +6-6doc/en/index.docbook

http://commits.kde.org/kwave/cf8d428887b731be3e44c96ab96fb1e3c73dcecd

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index db51eb0..b3b773b 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1984,7 +1984,7 @@



-   
+   


Screenshot of the Record Dialog
@@ -3499,7 +3499,7 @@
 
 &no-i18n-tag;f
 
-   
+   
&no-i18n-cmd_fileinfo;


&i18n-cmd_syntax;&no-i18n-cmd_fileinfo;(index)
@@ -5741,7 +5741,7 @@
 
 
 
-
+
 &no-i18n-plugin_codec_ogg; (Ogg Codec)
 

@@ -5823,7 +5823,7 @@
 
 
 
-
+
 &no-i18n-plugin_codec_wav; (WAV Codec)
 

@@ -5932,7 +5932,7 @@
 
 
 
-
+
 &no-i18n-plugin_fileinfo; (File Info)
 
Screenshot
@@ -6058,7 +6058,7 @@
 
 
 
-
+
 &no-i18n-plugin_insert_at; (Insert At)
 
Screenshot

___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: saveblocks: format strings of second and later invocations of patterns were ignored

2015-11-03 Thread Thomas Eschenbacher
Git commit 2df3998ad91317e19b02ccaa48fe104eaa9bfba0 by Thomas Eschenbacher.
Committed on 03/11/2015 at 18:04.
Pushed by eschenbacher into branch 'master'.

saveblocks: format strings of second and later invocations of patterns were 
ignored

saveblocks: added pattern to include file info (file meta data)

M  +4-1CHANGES
M  +9-0doc/en/index.docbook
M  +273  -242  libkwave/FileInfo.cpp
M  +48   -5libkwave/FileInfo.h
M  +60   -7plugins/saveblocks/SaveBlocksPlugin.cpp

http://commits.kde.org/kwave/2df3998ad91317e19b02ccaa48fe104eaa9bfba0

diff --git a/CHANGES b/CHANGES
index 8994650..faaa5e5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,9 +10,12 @@
  * support for cmake > 3.3, fix for policy CMP0063
  * cmdline option "--nofork" no longer exists
  * bugfix: multiple issues in context of switching the GUI type in scripts
- * saveblocks: fixed issues with special characters in filenames and patterns
+ * bugfix: fixed issues in saveblocks saveblocks with special characters in
+   filenames and patterns, format strings of second and later invocations
+   of patterns were ignored
  * saveblocks: allow path separators in filename patterns to make it possible
to create subdirectories
+ * saveblocks: added pattern to include file info (file meta data)
 
 0.9.0 [2015-05-25]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 2169727..07e1746 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -6986,6 +6986,15 @@
without path and without 
extension.


+   
+   
&no-i18n-tag;[%fileinfo{keyword}]
+   
+   Will be replaced with the 
content of a file information
+   identified by 
keyword.
+   See section 
+   for a list of all available 
keywords.
+   
+   



diff --git a/libkwave/FileInfo.cpp b/libkwave/FileInfo.cpp
index 928c303..55fc747 100644
--- a/libkwave/FileInfo.cpp
+++ b/libkwave/FileInfo.cpp
@@ -22,240 +22,285 @@
 #include "libkwave/MetaDataList.h"
 #include "libkwave/String.h"
 
-/** FileInfo flag: for internal usage only, do not show to the user */
-#define FP_INTERNAL 0x0001
-
-/** FileInfo flag: readonly, cannot be modified by the user */
-#define FP_READONLY 0x0002
-
-/** FileInfo flag: available for the GUI, but not for loading/saving */
-#define FP_NO_LOAD_SAVE 0x0004
-
 /** prefix of all property names */
 #define FILE_INFO_PROPERTY_PREFIX _("FILE_INFO: ")
 
 /***/
 void Kwave::FileInfo::PropertyTypesMap::fill()
 {
-append(Kwave::INF_UNKNOWN, FP_INTERNAL | FP_NO_LOAD_SAVE,
-   QString(), QString());
-
-append(Kwave::INF_ALBUM, 0,
-_(I18N_NOOP("Album")),
-_(I18N_NOOP("Name of the album if the source is an album\n"
- "that consist of more medias.")));
-append(Kwave::INF_ANNOTATION, 0,
-_(I18N_NOOP("Annotation")),
-_(I18N_NOOP(
- "Provides general comments about the file or the subject of\n"
- "the file. If the comment is several sentences long, end\n"
- "each sentence with a period. Do not include newline\n"
- "characters!")));
-append(Kwave::INF_ARCHIVAL, 0,
-_(I18N_NOOP("Archival location")),
-_(I18N_NOOP("Indicates where the subject of the file is archived.")));
-append(Kwave::INF_AUTHOR, 0,
-_(I18N_NOOP("Author")),
-_(I18N_NOOP("Identifies the name of the author of the original\n"
- "subject of the file."
- "\nExample: 'van Beethoven, Ludwig'")));
-append(Kwave::INF_BITRATE_LOWER, FP_NO_LOAD_SAVE,
-_(I18N_NOOP("Lower Bitrate")),
-_(I18N_NOOP("Specifies the lower limit in a VBR bitstream.")));
-append(Kwave::INF_BITRATE_MODE, FP_INTERNAL | FP_NO_LOAD_SAVE,
-_(I18N_NOOP("Bitrate Mode")),
-_(I18N_NOOP("Bitrate Mode (ABR, VBR, CBR, etc...)")));
-append(Kwave::INF_BITRATE_NOMINAL, FP_NO_LOAD_SAVE,
-_(I18N_NOOP("Bitrate")),
-_(I18N_NOOP(
- "Nominal bitrate of the audio stream in bits per second")));
-appe

[kde-doc-english] [kwave] /: saveblocks: allow path separators in filename patterns to make it possible to create subdirectories

2015-11-03 Thread Thomas Eschenbacher
Git commit 2f09e7ee60d6553e545c7e677c3b64672a98448c by Thomas Eschenbacher.
Committed on 03/11/2015 at 18:04.
Pushed by eschenbacher into branch 'master'.

saveblocks: allow path separators in filename patterns to make it possible to 
create subdirectories

M  +2-0CHANGES
M  +8-0doc/en/index.docbook
M  +94   -31   plugins/saveblocks/SaveBlocksPlugin.cpp
M  +12   -0plugins/saveblocks/SaveBlocksPlugin.h

http://commits.kde.org/kwave/2f09e7ee60d6553e545c7e677c3b64672a98448c

diff --git a/CHANGES b/CHANGES
index 891d515..8994650 100644
--- a/CHANGES
+++ b/CHANGES
@@ -11,6 +11,8 @@
  * cmdline option "--nofork" no longer exists
  * bugfix: multiple issues in context of switching the GUI type in scripts
  * saveblocks: fixed issues with special characters in filenames and patterns
+ * saveblocks: allow path separators in filename patterns to make it possible
+   to create subdirectories
 
 0.9.0 [2015-05-25]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index c2be02a..2169727 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -6915,6 +6915,14 @@
a pattern that can contain the original file name, an index
and the number of sections.

+   
+   It is also allowed that the file name pattern contains forward
+   slashes as path separators, which allows saving the sections
+   into different sub directories. Please note that all whitespace
+   characters around such path separators are silently removed, to
+   avoid creation of directory names which begin or end with a
+   whitespace.
+   



diff --git a/plugins/saveblocks/SaveBlocksPlugin.cpp 
b/plugins/saveblocks/SaveBlocksPlugin.cpp
index 3c34813..298896f 100644
--- a/plugins/saveblocks/SaveBlocksPlugin.cpp
+++ b/plugins/saveblocks/SaveBlocksPlugin.cpp
@@ -153,6 +153,31 @@ QStringList *Kwave::SaveBlocksPlugin::setup(QStringList 
&previous_params)
 }
 
 //***
+QString Kwave::SaveBlocksPlugin::createDisplayList(
+const QStringList &list,
+unsigned int max_entries) const
+{
+if (!max_entries || list.isEmpty()) return QString();
+
+QString retval;
+unsigned int count = 0;
+
+foreach (const QString &entry, list) {
+   if (count == 0) // first entry
+   retval = _("");
+   if (count < max_entries)
+   retval += entry + _("");
+   else if (count == max_entries)
+   retval += i18n("...") + _("");
+
+   if (++count > max_entries)
+   break;
+}
+
+return retval;
+}
+
+//***
 int Kwave::SaveBlocksPlugin::start(QStringList ¶ms)
 {
 qDebug("SaveBlocksPlugin::start()");
@@ -166,6 +191,7 @@ int Kwave::SaveBlocksPlugin::start(QStringList ¶ms)
 QString path = file.absolutePath();
 QString ext  = file.suffix();
 QString base = findBase(filename, m_pattern);
+QByteArray sep("/");
 
 // determine the selection settings
 sample_index_t selection_left  = 0;
@@ -196,51 +222,81 @@ int Kwave::SaveBlocksPlugin::start(QStringList ¶ms)
 // qDebug("selection_only   = %d", selection_only);
 // qDebug("indices  = %u...%u (count=%u)", first, 
first+count-1,count);
 
-// check for filenames that might be overwritten
-const int max_overwrite_list_length = 7;
-QDir dir(path, _("*"));
-QStringList files;
-files = dir.entryList();
-
-QStringList overwritten;
+// iterate over all blocks to check for overwritten files and missing dirs
+QStringList  overwritten_files;
+QStringList  missing_dirs;
 for (unsigned int i = first; i < (first + count); i++) {
QString name = createFileName(base, ext, m_pattern, i, count,
  first + count - 1);
-   QRegExp rx(_("^(") + name + _(")$"),
-  Qt::CaseInsensitive);
-   QStringList matches = files.filter(rx);
-   if (matches.count() > 0) {
-   overwritten += Kwave::Parser::unescape(name);
-   if (overwritten.count() > max_overwrite_list_length)
-   break; // we have collected enough names...
+   QString display_name = Kwave::Parser::unescape(name);
+
+   // split the name into directory and file name
+   name = QString::fromLatin1(QUrl::toPercentEncoding(display_name, sep));
+   QUrl url = m_url.adjusted(QUrl::RemoveFilename);
+   url.setPath(url.path(QUrl::FullyEncoded) + name, QUrl::StrictMode);
+
+   QString filename = url.path();
+   QFileInfo file_info(filename);
+
+   // check for potentially overwritten file
+   if (file_info.exists())
+   overwritten_f

[kde-doc-english] [kwave] /: added screenshot of the edit_label dialog

2015-11-03 Thread Thomas Eschenbacher
Git commit b84f8fca38589c80d0ed9ad8a9cf8834b89577f2 by Thomas Eschenbacher.
Committed on 03/11/2015 at 18:04.
Pushed by eschenbacher into branch 'master'.

added screenshot of the edit_label dialog

M  +1-0CHANGES
M  +0-1TODO
M  +11   -0doc/en/index.docbook
M  +3-3scripts/create-testfile.kwave
M  +9-0scripts/screenshots.kwave

http://commits.kde.org/kwave/b84f8fca38589c80d0ed9ad8a9cf8834b89577f2

diff --git a/CHANGES b/CHANGES
index 7f9a2a1..24ded78 100644
--- a/CHANGES
+++ b/CHANGES
@@ -19,6 +19,7 @@
title of the current block
  * workaround for bug in KDE #345320 (missing translators in help/about dialog)
  * about pugin: added info about translation team
+ * added screenshot of the edit_label dialog
 
 0.9.0 [2015-05-25]
 
diff --git a/TODO b/TODO
index cbe3f16..468ba3a 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,5 @@
 
 o PHONON playback is broken (skips input/too fast?)
-o screenshot for "editlabel()"
 
 o recording via Phonon
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 27f8a55..ce14bee 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -3468,6 +3468,17 @@
 

&no-i18n-cmd_edit_label;
+   
+   Screenshot
+   
+   
+   
+   
+   
+   Screenshot of the label editing dialog
+   
+   
+   


&i18n-cmd_syntax;&no-i18n-cmd_edit_label;(index)

diff --git a/scripts/create-testfile.kwave b/scripts/create-testfile.kwave
index 70a1e3a..8f498cc 100644
--- a/scripts/create-testfile.kwave
+++ b/scripts/create-testfile.kwave
@@ -23,9 +23,9 @@ view:zoom_all()
 selectall()
 plugin:execute(normalize)
 add_track()
-add_label(10478, "left")
-add_label(151500, "right")
-add_label(8, "middle")
+add_label(10478, Beethoven - Symphony No. 5)
+add_label(151500, right)
+add_label(8, middle)
 select_track:off(1)
 copy()
 select_track:invert()
diff --git a/scripts/screenshots.kwave b/scripts/screenshots.kwave
index e5939ad..1d6ec3c 100644
--- a/scripts/screenshots.kwave
+++ b/scripts/screenshots.kwave
@@ -124,6 +124,15 @@ main:
 sync()
 
 #
+# screenshot of the Edit Label dialog
+#
+edit-label:
+delayed(1000,window:screenshot(Kwave::LabelPropertiesWidget, 
/var/tmp/screenshots/${LANG}/kwave-edit-label.png))
+delayed(100,window:close(Kwave::LabelPropertiesWidget))
+edit_label(0)
+sync()
+
+#
 # screenshot of the Help/About dialog
 #
 plugin-about:

___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: index.docbook: changed to 'DTD DocBook XML V4.5-Based Variant V1.1'

2015-11-03 Thread Thomas Eschenbacher
Git commit 65a83f4cb957c9ef486950ffb841b334e7b41d6d by Thomas Eschenbacher.
Committed on 03/11/2015 at 18:04.
Pushed by eschenbacher into branch 'master'.

index.docbook: changed to 'DTD DocBook XML V4.5-Based Variant V1.1'

M  +3-0CHANGES
M  +2-1TODO
M  +1-1doc/en/index.docbook

http://commits.kde.org/kwave/65a83f4cb957c9ef486950ffb841b334e7b41d6d

diff --git a/CHANGES b/CHANGES
index cd8a267..83732e8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,7 @@
 
+0.9.x [2015-xx-xx]
+
+ * ported to KDE Frameworks 5 (KF5) / Qt5
  * bugfix: saved plugin parameter lists with escaped characters were not
unescaped when loading again
  * compile fix for armv7l
diff --git a/TODO b/TODO
index cebec6a..3d43f39 100644
--- a/TODO
+++ b/TODO
@@ -2,7 +2,8 @@
 o test: translated names and roles in about data
 o set KXMLGUI_NO_DEPRECATED
 o plugin about: license texts, list of translators
-o TODO: PHONON playback is broken (skips input/too fast?)
+o PHONON playback is broken (skips input/too fast?)
+o screenshot for "editlabel()"
 
 o recording via Phonon
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index b3b773b..c2be02a 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1,5 +1,5 @@
 
-Kwave">
   


___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: playback: dropped Phonon support (was broken and no longer supported by KF5)

2015-11-12 Thread Thomas Eschenbacher
Git commit 3085f54797b0ab4b81be4554c97c5f8ff93ef12e by Thomas Eschenbacher.
Committed on 12/11/2015 at 20:01.
Pushed by eschenbacher into branch 'master'.

playback: dropped Phonon support (was broken and no longer supported by KF5)

M  +1-0CHANGES
M  +1-3CMakeLists.txt
M  +0-3LICENSES
M  +0-6TODO
D  +0-39   cmake/KwavePhononSupport.cmake
M  +0-3config.h.cmake
M  +0-6doc/en/index.docbook
M  +0-1doxy.cfg.in
M  +1-3kwave.ebuild.in
M  +0-1libkwave/PlayBackParam.h
M  +0-5libkwave/PlayBackTypesMap.cpp
M  +1-1libkwave/PlaybackController.h
M  +1-1plugins/CMakeLists.txt
M  +0-5plugins/playback/CMakeLists.txt
D  +0-367  plugins/playback/PlayBack-Phonon.cpp
D  +0-180  plugins/playback/PlayBack-Phonon.h
M  +1-11   plugins/playback/PlayBackPlugin.cpp

http://commits.kde.org/kwave/3085f54797b0ab4b81be4554c97c5f8ff93ef12e

diff --git a/CHANGES b/CHANGES
index 02eca13..5bf9912 100644
--- a/CHANGES
+++ b/CHANGES
@@ -23,6 +23,7 @@
  * bugfix: tooltips of fileinfo dialog were not translated
  * new make target: "make msgstats" to show the progress of translations
  * compile fix for armv7l
+ * playback: dropped Phonon support (was broken and no longer supported by KF5)
 
 0.9.0 [2015-05-25]
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d4ef5eb..d870a00 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,7 +33,6 @@ PROJECT(kwave)
 # OPTION(WITH_OGG_VORBIS "enable support for ogg/vorbis files [default=on]" ON)
 # OPTION(WITH_OSS"enable playback/recording via OSS [default=on]" ON)
 # OPTION(WITH_OPTIMIZED_MEMCPY "enable optimized memcpy [default=on]" ON)
-# OPTION(WITH_PHONON "enable playback via Phonon [default=off]" OFF)
 # OPTION(WITH_PULSEAUDIO "enable playback/recording via PulseAudio 
[default=on]" ON)
 
 #
@@ -271,12 +270,11 @@ INCLUDE(KwaveLibaudiofileSupport)
 INCLUDE(KwaveLibsamplerateSupport)
 
 #
-### optionally: OSS, ALSA, PulseAudio and Phonon support  ###
+### optionally: OSS, ALSA and PulseAudio support  ###
 ### for playback/recording###
 
 INCLUDE(KwaveOSSSupport)
 INCLUDE(KwaveALSASupport)
-INCLUDE(KwavePhononSupport)
 INCLUDE(KwavePulseAudioSupport)
 
 #
diff --git a/LICENSES b/LICENSES
index 6fffc46..32bd664 100644
--- a/LICENSES
+++ b/LICENSES
@@ -141,7 +141,6 @@ COMPLETE LIST OF FILES AND THEIR LICENSE
cmake/KwaveLibaudiofileSupport.cmakeGPL2+
cmake/KwaveLibsamplerateSupport.cmake   GPL2+
cmake/KwaveOSSSupport.cmake GPL2+
-   cmake/KwavePhononSupport.cmake  GPL2+
cmake/KwavePulseAudioSupport.cmake  GPL2+
cmake/KwaveRPMSupport.cmake GPL2+
cmake/KwaveSysinfo.cmakeGPL2+
@@ -723,8 +722,6 @@ COMPLETE LIST OF FILES AND THEIR LICENSE
plugins/playback/PlayBackDlg.ui (should be GPL2+)
plugins/playback/PlayBack-OSS.cpp   GPL2+
plugins/playback/PlayBack-OSS.h GPL2+
-   plugins/playback/PlayBack-Phonon.cppGPL2+
-   plugins/playback/PlayBack-Phonon.h  GPL2+
plugins/playback/PlayBack-PulseAudio.cppGPL2+
plugins/playback/PlayBack-PulseAudio.h  GPL2+
plugins/playback/PlayBackPlugin.cpp GPL2+
diff --git a/TODO b/TODO
index 14998bc..09eac44 100644
--- a/TODO
+++ b/TODO
@@ -1,8 +1,4 @@
 
-o PHONON playback is broken (skips input/too fast?)
-
-o recording via Phonon
-
 o auto-detect song borders set markers, for splitting recorded stuff into 
several
   parts and then save them to disc as separate files
 
@@ -108,8 +104,6 @@ o adjustable playback speed (similar to what vlcplayer 
offers)
 o support for compressed wav files, like those found on www.montypython.net
   -> MPEG 3 is still not supported by libaudiofile
 
-o get Phonon playback support running correctly
-
 o TrackPixmap: implement usage of "extra_samples" for interpolated mode
 
 o fileinfo plugin: auto-generate filename from "track - title"
diff --git a/cmake/KwavePhononSupport.cmake b/cmake/KwavePhononSupport.cmake
deleted file mode 100644
index 93281e8..000
--- a/cmake/KwavePhononSupport.cmake
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-##Kwave- cmake/KwavePhononSupport.cmake
-##   ---
-##begin    : Fri May 15 2009
-##copyright 

[kde-doc-english] [kwave] /: implemented playback via Qt Multimedia

2016-01-01 Thread Thomas Eschenbacher
Git commit f83d0a8413ba20a66b54c0154a69ae0f894b8d98 by Thomas Eschenbacher.
Committed on 01/01/2016 at 17:45.
Pushed by eschenbacher into branch 'master'.

implemented playback via Qt Multimedia

M  +1-1.kdev4/kwave.kdev4
M  +1-0CHANGES
M  +9-0CMakeLists.txt
M  +2-0LICENSES
M  +3-0config.h.cmake
M  +6-0doc/en/index.docbook
M  +1-0doxy.cfg.in
M  +1-0kwave.ebuild.in
M  +1-1kwave/FileContext.cpp
M  +5-0kwave/FileContext.h
M  +1-0libkwave/PlayBackParam.h
M  +5-0libkwave/PlayBackTypesMap.cpp
M  +9-5libkwave/PlaybackController.cpp
M  +5-0plugins/playback/CMakeLists.txt
M  +1-1plugins/playback/PlayBack-ALSA.cpp
M  +0-1plugins/playback/PlayBack-PulseAudio.cpp
M  +0-1plugins/playback/PlayBack-PulseAudio.h
A  +589  -0plugins/playback/PlayBack-Qt.cpp [License: GPL (v2+)]
A  +248  -0plugins/playback/PlayBack-Qt.h [License: GPL (v2+)]
M  +10   -0plugins/playback/PlayBackPlugin.cpp

http://commits.kde.org/kwave/f83d0a8413ba20a66b54c0154a69ae0f894b8d98

diff --git a/.kdev4/kwave.kdev4 b/.kdev4/kwave.kdev4
index ae69129..ff13b22 100644
--- a/.kdev4/kwave.kdev4
+++ b/.kdev4/kwave.kdev4
@@ -21,7 +21,7 @@ Install Directory=file:///usr
 
 [CustomDefinesAndIncludes][ProjectPath0]
 
Defines=\x00\x00\x00\x02\x00\x00\x00\x18\x00_\x00_\x00F\x00U\x00N\x00C\x00T\x00I\x00O\x00N\x00_\x00_\x00\x00\x00\n\x00\x00\x00\x00\x18\x00_\x00_\x00F\x00U\x00N\x00C\x00T\x00I\x00O\x00N\x00_\x00_\x00\x00\x00\x10\x00_\x00_\x00L\x00I\x00N\x00E\x00_\x00_\x00\x00\x00\n\x00\x00\x00\x00\x10\x00_\x00_\x00L\x00I\x00N\x00E\x00_\x00_
-Includes=\x00\x00\x00!\x00\x00\x00"\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00\x00\x00.\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00G\x00e\x00n\x00t\x00o\x00o\x00\x00\x00:\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00C\x00o\x00n\x00c\x00u\x00r\x00r\x00e\x00n\x00t\x00\x00\x00.\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00C\x00o\x00r\x00e\x00\x00\x00.\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00D\x00B\x00u\x00s\x00\x00\x00<\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00D\x00e\x00c\x00l\x00a\x00r\x00a\x00t\x00i\x00v\x00e\x00\x00\x006\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00D\x00e\x00s\x00i\x00g\x00n\x00e\x00r\x00\x00\x00J\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00D\x00e\x00s\x00i\x00g\x00n\x00e\x00r\x00C\x00o\x00m\x00p\x00o\x00n\x00e\x00n\x00t\x00s\x00\x00\x00,\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00G\x00u\x00i\x00\x00\x004\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00N\x00e\x00t\x00w\x00o\x00r\x00k\x00\x00\x002\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00O\x00p\x00e\x00n\x00G\x00L\x00\x00\x00F\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00O\x00p\x00e\x00n\x00G\x00L\x00E\x00x\x00t\x00e\x00n\x00s\x00i\x00o\x00n\x00s\x00\x00\x00D\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00P\x00l\x00a\x00t\x00f\x00o\x00r\x00m\x00H\x00e\x00a\x00d\x00e\x00r\x00s\x00\x00\x00D\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00P\x00l\x00a\x00t\x00f\x00o\x00r\x00m\x00S\x00u\x00p\x00p\x00o\x00r\x00t\x00\x00\x00>\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00P\x00r\x00i\x00n\x00t\x00S\x00u\x00p\x00p\x00o\x00r\x00t\x00\x00\x00,\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00Q\x00m\x00l\x00\x00\x000\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00Q\x00u\x00i\x00c\x00k\x00\x00\x00B\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00Q\x00u\x00i\x00c\x00k\x00P\x00a\x00r\x00t\x00i\x00c\x00l\x00e\x00s\x00\x00\x008\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00Q\x00u\x00i\x00c\x00k\x00T\x00e\x00s\x00t\x00\x00\x00>\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00Q\x00u\x00i\x00c\x00k\x00W\x00i\x00d\x00g\x00e\x00t\x00s\x00\x00\x002\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00S\x00c\x00r\x00i\x00p\x00t\x00\x00\x00,\x00/\x00u\x00s\x00r\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/\x00q\x00t\x005\x00/\x00Q\x00t\x00S\x00q\x00

[kde-doc-english] [kwave] doc/en: updated handbook to reflect the port to Qt5/KF5 and partial migration from SourceForge to KDE servers

2016-01-28 Thread Thomas Eschenbacher
Git commit 12c0a73a5474b50ba7f2ee5e1a3bbfc3ddce90c2 by Thomas Eschenbacher.
Committed on 28/01/2016 at 18:57.
Pushed by eschenbacher into branch 'master'.

updated handbook to reflect the port to Qt5/KF5 and partial migration from 
SourceForge to KDE servers

M  +34   -27   doc/en/index.docbook

http://commits.kde.org/kwave/12c0a73a5474b50ba7f2ee5e1a3bbfc3ddce90c2

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index a9d0348..9c350fa 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -17,6 +17,7 @@
   http://flac.sourceforge.net/";>
   http://kwave.sourceforge.net/";>
   http://id3lib.sourceforge.net/";>
+  http://projects.kde.org/projects/kdereview/kwave";>
   http://lame.sourceforge.net/";>
   https://web.archive.org/web/*/http://www.rikkus.info/esound-level-meter/";>
   http://www.68k.org/~michael/audiofile/";>
@@ -29,8 +30,8 @@
   http://www.ietf.org/rfc/rfc2361.txt";>
   http://sourceforge.net";>
   http://sox.sourceforge.net/";>
-  http://sourceforge.net/p/kwave/code/";>
-  http://sourceforge.net/p/kwave/code/commit_browser";>
+  http://quickgit.kde.org/?p=kwave.git";>
+  http://sourceforge.net/p/kwave/code/commit_browser";>
   http://sourceforge.net/p/kwave/code/ref/master~/tags/";>
   
   
@@ -347,7 +348,7 @@
 Introduction
 
 
-   This is "&kwave;", a simple sound editor for KDE-4.
+   This is "&kwave;", a simple sound editor for KDE Frameworks 5.
Its features include:


@@ -372,16 +373,16 @@
Recording functionality, including pre-recording


-   Playback via ALSA and OSS
+   Playback via Qt, PulseAudio, ALSA and OSS


-   Recording via ALSA and OSS
+   Recording via PulseAudio, ALSA and OSS


MP3 import/export


-   Ogg/Vorbis import/export
+   Ogg/Vorbis and Opus import/export


FLAC import/export
@@ -400,7 +401,7 @@


playback of multi channel audio files (audio output will be
-   mixed down to mono or stereo)
+   mixed down to mono or stereo if needed)


extendible through an easy-to-use plugin interface
@@ -450,15 +451,15 @@
GIT Repository


-   There also is a GIT repository, hosted by
+   There also is a new GIT repository hosted on KDE servers, and a
+   mirror repository hosted by
SourceForge where
you can get the sources of the latest development version.
For instructions on how to get access to the repository, read
in the chapter about
-   building from GIT,
-   or look at
-   "&url_git_instructions;".
-   There also is a nice web 
interface
+   building from GIT.
+   There also is a GIT web interface on KDE
+   and on SourceForge where
you can use to browse through the sources.
 
 
@@ -488,7 +489,13 @@
you can find the full history here:
 &url_changelog; or browse
through the sources on your own through the
-   GIT web interface.
+   GIT web interface.
+
+
+
+   &kwave; version v0.9.0 is the first version hosted on KDE (kdereview)
+   and SourceForge servers, followed by v0.9.1, the first version for
+   KDE Frameworks 5.
 
 
 

Re: [kde-doc-english] [kwave] doc/en: updated handbook to reflect the port to Qt5/KF5 and partial migration from SourceForge to KDE servers

2016-01-28 Thread Thomas Eschenbacher
Luigi Toscano wrote:
[...]
>>  
>> -This is "&kwave;", a simple sound editor for KDE-4.
>> +This is "&kwave;", a simple sound editor for KDE Frameworks 5.
>>  Its features include:
> 
> "This is "&kwave;", a simple sound editor built on KDE Frameworks 5."
> 
> "for" was appropriate at the beginning of KDE 4, when "KDE 4" was the desktop 
> (and not even that, given that kwave could run everywhere as it can now).
> 
> Can I commit it?

Hi Luigi,

thanks for the feedback, I will include this small change into my next
commit, I have to do some work on the handbook anyway and this change
may also apply to some other places, like lsm file, package descriptions
etc, let me check...

I also plan to add some section that tells how to get a translated
version of the application, where to get the translations from, how to
build them, and to handle this in packaging (I think I will offer a
kwave-l10n package for this, which needs to be reflected in the
documentation as well).

regards,
   Thomas
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: changed wording: "... for KDE 4" -> "... built on KDE Frameworks 5"

2016-01-29 Thread Thomas Eschenbacher
Git commit ef2633c1ef6b399d4e09bcb749233ee69e9ef9b3 by Thomas Eschenbacher.
Committed on 29/01/2016 at 18:24.
Pushed by eschenbacher into branch 'master'.

changed wording: "... for KDE 4" -> "... built on KDE Frameworks 5"

M  +11   -7README
M  +4-3doc/en/index.docbook
M  +1-1kwave.ebuild.in
M  +2-2kwave.lsm
M  +3-3kwave/main.cpp
M  +1-1libkwave/SignalManager.cpp
M  +1-1plugins/about/AboutDialog.cpp
M  +1-1plugins/record/RecordPlugin.cpp

http://commits.kde.org/kwave/ef2633c1ef6b399d4e09bcb749233ee69e9ef9b3

diff --git a/README b/README
index a278088..82bc82b 100644
--- a/README
+++ b/README
@@ -1,8 +1,12 @@
-This is the "Kwave" source distribution, a sound editor for KDE.
+ 
+| |
+|  This is "Kwave", a sound editor built on KDE Frameworks 5  |
+| |
+ 
 
  
-| It is hosted on SourceForge, so you are welcome to visit   |
-| the Kwave homepage at: "http://kwave.sourceforge.net";. |
+| It is hosted on KDE and on SourceForge, so you are welcome to visit|
+| the Kwave homepage at: "http://kwave.sourceforge.net"; for details. |
  
 
 If you are interested what has been done and what has to be done, then
@@ -142,6 +146,7 @@ I am currently developing under a Gentoo Linux distribution
 * fftw >= 3.0(for Sonagram plugin / FFT)
 * pulseaudio >= 0.9.16   (for record/playback via PulseAudio)
 * samplerate >= 0.1.3(for sample rate conversion)
+* gettext(for msgmerge)
 
 Some tools that are normally installed in every distribution:
 * sed, bash, msgcat, msgmerge, msgfmt, xgettext, cat, find, bzip2, perl
@@ -176,11 +181,10 @@ packets should be sufficient for building:
   - kxmlgui
   - kwidgetsaddons
 
-These programs are needed for generating the online help;
+additionally, for generating the online help;
 
-* po2xml and xml2pot (included in the "kdesdk" package)
-* msgmerge (included in the "gettext" package)
-* checkXML (included in kdelibs-4)
+  - poxml (for po2xml and xml2pot)
+  - kdoctools (for checkXML5)
 
 known distributions / architectures:
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 9c350fa..2c66f64 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -323,10 +323,11 @@
 2015-05-25
 &version;
 
-&kwave; is a simple sound editor for KDE.
+&kwave; is a simple sound editor built on KDE Frameworks 
5.
 
 
KDE
+   KF5
multimedia
sound
audio
@@ -348,7 +349,7 @@
 Introduction
 
 
-   This is "&kwave;", a simple sound editor for KDE Frameworks 5.
+   This is "&kwave;", a simple sound editor built on KDE Frameworks 5.
Its features include:


@@ -1646,7 +1647,7 @@

For example, the following command starts a &kwave; and opens all 
sounds
of the KDE window manager, each in a new window or sub window:
-   % kwave 
/usr/share/sounds/KDE_Window*.wav
+   % kwave 
/usr/share/sounds/KDE-*.ogg


It is also possible to pass &kwave; text commands, encoded as a
diff --git a/kwave.ebuild.in b/kwave.ebuild.in
index f747725..1d1b8e5 100644
--- a/kwave.ebuild.in
+++ b/kwave.ebuild.in
@@ -8,7 +8,7 @@ KDE_LINGUAS="@KWAVE_BUILD_LINGUAS_STRING@"
 KDE_HANDBOOK="optional"
 inherit kde5
 
-DESCRIPTION="A sound editor for KDE that can edit many types of audio files"
+DESCRIPTION="@RPM_DESCRIPTION@"
 HOMEPAGE="http://kwave.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}-1.tar.bz2"
 
diff --git a/kwave.lsm b/kwave.lsm
index f6c43b1..684dd62 100644
--- a/kwave.lsm
+++ b/kwave.lsm
@@ -2,13 +2,13 @@ Begin3
 Title:  kwave
 Version:   0.9.0
 Entered-date:  25MAY2015
-Description:A sound editor for KDE that can edit many types of audio files.
+Description:A sound editor built on KDE Frameworks 5 that can edit many 
types of audio files.
 Keywords:   KDE, Qt, WAV, Sound, Editor, Effects, playback, recording
 Author: Martin Wilz 
 Maintained-by:  Thomas Eschenbacher 
 Homepage:   http://kwave.sourceforge.net
 Primary-site:   http://kwave.sourceforge.net
 Original-site:  http://kwave.sourcefor

[kde-doc-english] how to handle build instructions? (was: Re: [kwave] doc/en: updated handbook to reflect the port to Qt5/KF5...)

2016-01-29 Thread Thomas Eschenbacher
Luigi Toscano wrote:
> [...]
>> I also plan to add some section that tells how to get a translated
>> version of the application, where to get the translations from, how to
>> build them, and to handle this in packaging (I think I will offer a
>> kwave-l10n package for this, which needs to be reflected in the
>> documentation as well).
> 
> I disagree with this. The docbook documentation is for end users, who usually 
> finds the program already installed. This is also why we started removing the 
> installation instruction (the appendix) from this documentation (see the last 
> version of docbook templates into KDocTools).
> 
> What you described is developer documentation, which could live in the usual 
> internal README, and on the other side the steps you would describe are 
> common 
> among all other projects hosted on kde.org (so a page on one of the wikis).

That's an interesting point! Do you have some links to these "wikis"?
I mean something that...

1) clearly explains the way from a git repository or tarball
   to an installable package
2) is describing how to get a translated GUI
3) includes a (translated) handbook, and
4) is available in different languages?

If you can point me to an adequate replacement that I can link to from
the homepage, then I can safely remove these sections from my handbook.

One point is that the handbook is currently also rendered as html and
made available on the project's homepage (including translated
versions!). This way the (translated) build instructions are available
even when not having the package installed.

I think the point is that there are two use cases: the "existing end
user" who already has the package installed - there I agree, for these
people the build instructions in the handbook are a waste of space. And
there is the "future user" who has access to the sources but who has a
Linux distribution that offers no (or only an outdated) version of the
application and wants some build instructions, preferrably in his language.

In "C" one would use "#ifdef" for distinguishing this, but in
docbook...? Maybe splitting it into two docbook files? But I guess that
if I split the "how to build from source" sections into a seperate
docbook file and put it into doc/en - nobody will care about translating
them, right?

regards,
   Thomas
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: prepared for release v0.9.1 [2016-02-21]

2016-02-06 Thread Thomas Eschenbacher
Git commit 996647e5f5b979addd10a4501ee68695073a483a by Thomas Eschenbacher.
Committed on 07/02/2016 at 07:52.
Pushed by eschenbacher into branch 'master'.

prepared for release v0.9.1 [2016-02-21]

M  +1-1CHANGES
M  +1-1VERSION
M  +4-4doc/en/index.docbook
M  +2-2kwave.lsm

http://commits.kde.org/kwave/996647e5f5b979addd10a4501ee68695073a483a

diff --git a/CHANGES b/CHANGES
index 1174966..54d6ed7 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,4 @@
-0.9.1 [2016-01-xx]
+0.9.1 [2016-02-21]
 
  * ported to KDE Frameworks 5 (KF5) / Qt5
  * playback via Qt Multimedia
diff --git a/VERSION b/VERSION
index ac39a10..f374f66 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.9.0
+0.9.1
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 2c66f64..ee23240 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -4,9 +4,9 @@
   

   
-  
-  
-  
+  
+  
+  
   
   http://sourceforge.net/p/kwave/code/ci/HEAD/tree/AUTHORS";>
   http://sourceforge.net/p/kwave/code/ci/HEAD/tree/CHANGES";>
@@ -320,7 +320,7 @@
 
 &FDLNotice;
 
-2015-05-25
+2016-02-21
 &version;
 
 &kwave; is a simple sound editor built on KDE Frameworks 
5.
diff --git a/kwave.lsm b/kwave.lsm
index 684dd62..ea89daf 100644
--- a/kwave.lsm
+++ b/kwave.lsm
@@ -1,7 +1,7 @@
 Begin3
 Title:  kwave
-Version:   0.9.0
-Entered-date:  25MAY2015
+Version:   0.9.1
+Entered-date:  21FEB2016
 Description:A sound editor built on KDE Frameworks 5 that can edit many 
types of audio files.
 Keywords:   KDE, Qt, WAV, Sound, Editor, Effects, playback, recording
 Author: Martin Wilz 
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave/Release-0_9_1] /: added localizations to release branch

2016-02-20 Thread Thomas Eschenbacher
Git commit b4e8ec6c0047ead3bd2965e4c8795971f617cbe2 by Thomas Eschenbacher.
Committed on 21/02/2016 at 01:21.
Pushed by eschenbacher into tag 'Release-0_9_1'.

added localizations to release branch

M  +138  -91   doc/de/index.docbook
A  +---doc/de/kwave-edit-label.png
M  +---doc/de/kwave-gui-mdi.png
M  +---doc/de/kwave-gui-sdi.png
M  +---doc/de/kwave-gui-tab.png
M  +---doc/de/kwave-main.png
M  +---doc/de/kwave-plugin-about.png
M  +---doc/de/kwave-plugin-amplifyfree.png
M  +---doc/de/kwave-plugin-band_pass.png
M  +---doc/de/kwave-plugin-codec_mp3.png
M  +---doc/de/kwave-plugin-fileinfo.png
M  +---doc/de/kwave-plugin-goto.png
M  +---doc/de/kwave-plugin-insert_at.png
M  +---doc/de/kwave-plugin-lowpass.png
M  +---doc/de/kwave-plugin-memory.png
M  +---doc/de/kwave-plugin-newsignal.png
M  +---doc/de/kwave-plugin-noise.png
M  +---doc/de/kwave-plugin-notch_filter.png
M  +---doc/de/kwave-plugin-pitch_shift.png
M  +---doc/de/kwave-plugin-playback.png
M  +---doc/de/kwave-plugin-record.png
M  +---doc/de/kwave-plugin-saveblocks.png
M  +---doc/de/kwave-plugin-selectrange.png
M  +---doc/de/kwave-plugin-sonagram-setup.png
M  +---doc/de/kwave-plugin-sonagram-window.png
M  +---doc/de/kwave-plugin-stringenter.png
M  +---doc/de/kwave-plugin-volume.png
M  +88   -41   doc/pt/index.docbook
A  +---doc/pt/kwave-edit-label.png
M  +---doc/pt/kwave-gui-mdi.png
M  +---doc/pt/kwave-gui-sdi.png
M  +---doc/pt/kwave-gui-tab.png
M  +---doc/pt/kwave-main.png
M  +---doc/pt/kwave-plugin-about.png
M  +---doc/pt/kwave-plugin-amplifyfree.png
M  +---doc/pt/kwave-plugin-band_pass.png
M  +---doc/pt/kwave-plugin-codec_mp3.png
M  +---doc/pt/kwave-plugin-fileinfo.png
M  +---doc/pt/kwave-plugin-goto.png
M  +---doc/pt/kwave-plugin-insert_at.png
M  +---doc/pt/kwave-plugin-lowpass.png
M  +---doc/pt/kwave-plugin-memory.png
M  +---doc/pt/kwave-plugin-newsignal.png
M  +---doc/pt/kwave-plugin-noise.png
M  +---doc/pt/kwave-plugin-notch_filter.png
M  +---doc/pt/kwave-plugin-pitch_shift.png
M  +---doc/pt/kwave-plugin-playback.png
M  +---doc/pt/kwave-plugin-record.png
M  +---doc/pt/kwave-plugin-saveblocks.png
M  +---doc/pt/kwave-plugin-selectrange.png
M  +---doc/pt/kwave-plugin-sonagram-setup.png
M  +---doc/pt/kwave-plugin-sonagram-window.png
M  +---doc/pt/kwave-plugin-stringenter.png
M  +---doc/pt/kwave-plugin-volume.png
M  +87   -40   doc/sv/index.docbook
A  +---doc/sv/kwave-edit-label.png
M  +---doc/sv/kwave-gui-mdi.png
M  +---doc/sv/kwave-gui-sdi.png
M  +---doc/sv/kwave-gui-tab.png
M  +---doc/sv/kwave-main.png
M  +---doc/sv/kwave-plugin-about.png
M  +---doc/sv/kwave-plugin-amplifyfree.png
M  +---doc/sv/kwave-plugin-band_pass.png
M  +---doc/sv/kwave-plugin-codec_mp3.png
M  +---doc/sv/kwave-plugin-fileinfo.png
M  +---doc/sv/kwave-plugin-goto.png
M  +---doc/sv/kwave-plugin-insert_at.png
M  +---doc/sv/kwave-plugin-lowpass.png
M  +---doc/sv/kwave-plugin-memory.png
M  +---doc/sv/kwave-plugin-newsignal.png
M  +---doc/sv/kwave-plugin-noise.png
M  +---doc/sv/kwave-plugin-notch_filter.png
M  +---doc/sv/kwave-plugin-pitch_shift.png
M  +---doc/sv/kwave-plugin-playback.png
M  +---doc/sv/kwave-plugin-record.png
M  +---doc/sv/kwave-plugin-saveblocks.png
M  +---doc/sv/kwave-plugin-selectrange.png
M  +---doc/sv/kwave-plugin-sonagram-setup.png
M  +---doc/sv/kwave-plugin-sonagram-window.png
M  +---doc/sv/kwave-plugin-stringenter.png
M  +---doc/sv/kwave-plugin-volume.png
M  +91   -44   doc/uk/index.docbook
A  +---doc/uk/kwave-edit-label.png
M  +---doc/uk/kwave-gui-mdi.png
M  +---doc/uk/kwave-gui-sdi.png
M  +---doc/uk/kwave-gui-tab.png
M  +---doc/uk/kwave-main.png
M  +---doc/uk/kwave-plugin-about.png
M  +---doc/uk/kwave-plugin-amplifyfree.png
M  +---doc/uk/kwave-plugin-band_pass.png
M  +---doc/uk/kwave-plugin-codec_mp3.png
M  +---doc/uk/kwave-plugin-fileinfo.png
M  +---doc/uk/kwave-plugin-goto.png
M  +---doc/uk/kwave-plugin-insert_at.png
M  +---doc/uk/kwave-plugin-lowpass.png
M  +---doc/uk/kwave-plugin-memory.png
M  +---doc/uk/kwave-plugin-newsignal.png
M  +---doc/uk/kwave-plugin-noise.png
M  +---doc/uk/kwave-plugin-notch_filter.png
M  +---doc/uk/kwave-plugin-pitch_shift.png
M  +---doc/uk/kwave-plugin-playback.png
M  +---doc/uk/kwave-plugin-record.png
M  +---doc/uk/kwave-plugin-savebl

[kde-doc-english] handling of *.desktop files of plugins

2016-03-12 Thread Thomas Eschenbacher
Hi,

I recently have ported the plugin system of Kwave to use the KDE
Services interface. Unfortunately the translated plugin names now can no
longer be extracted from the source files, instead I have a *.desktop
file for each plugin.

But before I release this change I have some questions:

Q1: do I have to do something, provide some script or so, to get the
messages extracted and to get the desktop files updated, or does this
work "out of the box" by the KDE scripts, maybe by the same magic that
already handles my .desktop file?

Q2: the files are all named
"plugins//kwaveplugin_.desktop.in". Is that ok, are
*.desktop.in files found, or does the suffix "*.in" prevent this?

Q3: The files will look like this:
-
[Desktop Entry]
Encoding=UTF-8
Comment=Low Pass Filter  <= to be translated
Comment[de]=Tiefpass-Filter
Type=Service
ServiceTypes=Kwave/Plugin
X-KDE-PluginInfo-Author=Thomas Eschenbacher
X-KDE-PluginInfo-Name=lowpass<= not to be translated
X-KDE-PluginInfo-Version=@KWAVE_VERSION_FULL@:2.3
X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-EnabledByDefault=true
-

Is that file format ok, and is it clear that only the "Comment" tag
should be translated?

Q4: I could easily write a script that extracts the translated messages,
which currently exist in some *.po file, and puts them into the desktop
file, so that they are present at first checkin (like in the example
above). Would these translated tags be kept, or would this be a waste of
time as they get overwritten by the KDE scripts.

kind regards,
   Thomas
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: decoding of Core Audio Format (*.caf), using ALAC, A-LAW, U-LAW and IMA compression

2016-04-21 Thread Thomas Eschenbacher
Git commit 7fc5846dd4df6d7264f0e434552147de92d906cd by Thomas Eschenbacher.
Committed on 21/04/2016 at 18:08.
Pushed by eschenbacher into branch 'master'.

decoding of Core Audio Format (*.caf), using ALAC, A-LAW, U-LAW and IMA 
compression

M  +2-0CHANGES
M  +23   -6doc/en/index.docbook
M  +0-1libkwave/Compression.cpp
M  +3-2libkwave/Compression.h
M  +4-1plugins/codec_audiofile/AudiofileDecoder.cpp

http://commits.kde.org/kwave/7fc5846dd4df6d7264f0e434552147de92d906cd

diff --git a/CHANGES b/CHANGES
index c43519b..ae61ff7 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,8 @@
  * removed optimized memcpy for PowerPC
  * record plugin: improved handling of error messages
  * record plugin: added retry mechanism in case of device busy
+ * decoding of Core Audio Format (*.caf), using ALAC, A-LAW, U-LAW and IMA
+   compression
 
 0.9.1 [2016-02-21]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index ab75b13..a84c553 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1807,12 +1807,14 @@

 

-   Additionally &kwave; supports many other common formats through the
-   audiofile
-   plugin. You can import files like *.au and
-   *.snd (NeXT,Sun Audio),
-   *.aiff (Audio Interchange Format) and
-   *.sf (Berkeley,IRCAM,Carl Sound Format).
+   Additionally you can import file formats like
+   *.au  (NeXT, Sun Audio),
+   *.aiff (Audio Interchange Format),
+   *.caf (Core Audio Format),
+   *.sf (Berkeley, IRCAM, Carl Sound Format),
+   *.snd (NeXT, Sun Audio)
+   and others through the audiofile
+   plugin.

 
 
@@ -5561,6 +5563,21 @@


&i18n-plugin-lbl_file_type_description;
+   Core Audio File Format
+   
+   
+   &i18n-plugin-lbl_file_type_extensions;
+   *.caf
+   
+   
+   &i18n-plugin-lbl_file_type_mime_types;
+   audio/x-caf
+   
+   
+
+   
+   
+   &i18n-plugin-lbl_file_type_description;
Berkeley, IRCAM, Carl Sound Format


diff --git a/libkwave/Compression.cpp b/libkwave/Compression.cpp
index ba5c074..58a1130 100644
--- a/libkwave/Compression.cpp
+++ b/libkwave/Compression.cpp
@@ -161,7 +161,6 @@ void Kwave::Compression::fillMap()
sfmt_int, false, false));
 
 /* compression types from libaudiofile (for display only, not supported) */
-
 static const struct {
int compression;
const char *name;
diff --git a/libkwave/Compression.h b/libkwave/Compression.h
index cfc3913..fd07a43 100644
--- a/libkwave/Compression.h
+++ b/libkwave/Compression.h
@@ -42,12 +42,13 @@ namespace Kwave
G711_ALAW= AF_COMPRESSION_G711_ALAW,
MS_ADPCM = AF_COMPRESSION_MS_ADPCM,
GSM  = AF_COMPRESSION_GSM,
+   FLAC = AF_COMPRESSION_FLAC,
+   ALAC = AF_COMPRESSION_ALAC,
MPEG_LAYER_I = 600,
MPEG_LAYER_II,
MPEG_LAYER_III,
OGG_VORBIS,
-   OGG_OPUS,
-   FLAC
+   OGG_OPUS
};
 
/**
diff --git a/plugins/codec_audiofile/AudiofileDecoder.cpp 
b/plugins/codec_audiofile/AudiofileDecoder.cpp
index c2f9b90..3540cfb 100644
--- a/plugins/codec_audiofile/AudiofileDecoder.cpp
+++ b/plugins/codec_audiofile/AudiofileDecoder.cpp
@@ -52,6 +52,9 @@ Kwave::AudiofileDecoder::AudiofileDecoder()
 addMimeType("audio/x-aiff", /* included in KDE */
 i18n("Audio Interchange Format"),
 "*.aif; *.AIF; *.aiff; *.AIFF");
+addMimeType("audio/x-caf",
+i18n("Core Audio File Format"),
+"*.caf; *.CAF");
 addMimeType("audio/x-ircam",
 i18n("Berkeley, IRCAM, Carl Sound Format"),
 "*.sf; *.SF");
@@ -79,7 +82,7 @@ bool Kwave::AudiofileDecoder::open(QWidget *widget, QIODevice 
&src)
 
 // try to open the source
 if (!src.open(QIODevice::ReadOnly)) {
-   qWarning("failed to open source !");
+   qWarning("AudiofileDecoder::open(), failed to open source !");
return false;
 }
 
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: decoding of Creative Voice files (*.voc)

2016-04-21 Thread Thomas Eschenbacher
Git commit 8e3000dca3c9170857a34e141598633734269d31 by Thomas Eschenbacher.
Committed on 21/04/2016 at 18:46.
Pushed by eschenbacher into branch 'master'.

decoding of Creative Voice files (*.voc)

M  +1-0CHANGES
M  +2-0CMakeLists.txt
M  +18   -1doc/en/index.docbook
M  +3-0plugins/codec_audiofile/AudiofileDecoder.cpp

http://commits.kde.org/kwave/8e3000dca3c9170857a34e141598633734269d31

diff --git a/CHANGES b/CHANGES
index ae61ff7..0e085b1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -12,6 +12,7 @@
  * record plugin: added retry mechanism in case of device busy
  * decoding of Core Audio Format (*.caf), using ALAC, A-LAW, U-LAW and IMA
compression
+ * decoding of Creative Voice files (*.voc)
 
 0.9.1 [2016-02-21]
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a388b1c..cdb387d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -353,7 +353,9 @@ SET(KWAVE_DESKTOP_MIME_TYPES 
"${KWAVE_DESKTOP_MIME_TYPES}audio/x-wav;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/basic;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-aifc;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-aiff;")
+SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-caf;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-ircam;")
+SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-voc;")
 IF (WITH_MP3)
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/mpeg;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-mp1;")
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index a84c553..d93cbc8 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1812,7 +1812,8 @@
*.aiff (Audio Interchange Format),
*.caf (Core Audio Format),
*.sf (Berkeley, IRCAM, Carl Sound Format),
-   *.snd (NeXT, Sun Audio)
+   *.snd (NeXT, Sun Audio),
+   *.voc (Creative Voice)
and others through the audiofile
plugin.

@@ -5589,6 +5590,22 @@
audio/x-ircam


+
+   
+   
+   &i18n-plugin-lbl_file_type_description;
+   Creative Voice
+   
+   
+   &i18n-plugin-lbl_file_type_extensions;
+   *.voc
+   
+   
+   &i18n-plugin-lbl_file_type_mime_types;
+   audio/x-voc
+   
+   
+



diff --git a/plugins/codec_audiofile/AudiofileDecoder.cpp 
b/plugins/codec_audiofile/AudiofileDecoder.cpp
index 3540cfb..623a344 100644
--- a/plugins/codec_audiofile/AudiofileDecoder.cpp
+++ b/plugins/codec_audiofile/AudiofileDecoder.cpp
@@ -58,6 +58,9 @@ Kwave::AudiofileDecoder::AudiofileDecoder()
 addMimeType("audio/x-ircam",
 i18n("Berkeley, IRCAM, Carl Sound Format"),
 "*.sf; *.SF");
+addMimeType("audio/x-voc",
+i18n("Creative Voice"),
+"*.voc; *.VOC");
 }
 
 //***
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: import of NIST SPHERE Audio File Format (*.nist)

2016-04-21 Thread Thomas Eschenbacher
Git commit 2d74061275cb95bc58bca738249a0351f4089f48 by Thomas Eschenbacher.
Committed on 21/04/2016 at 19:00.
Pushed by eschenbacher into branch 'master'.

import of NIST SPHERE Audio File Format (*.nist)

M  +3-2CHANGES
M  +1-0CMakeLists.txt
M  +16   -0doc/en/index.docbook
M  +3-0plugins/codec_audiofile/AudiofileDecoder.cpp

http://commits.kde.org/kwave/2d74061275cb95bc58bca738249a0351f4089f48

diff --git a/CHANGES b/CHANGES
index 0e085b1..3ba7a38 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,9 +10,10 @@
  * removed optimized memcpy for PowerPC
  * record plugin: improved handling of error messages
  * record plugin: added retry mechanism in case of device busy
- * decoding of Core Audio Format (*.caf), using ALAC, A-LAW, U-LAW and IMA
+ * import of Core Audio Format (*.caf), using ALAC, A-LAW, U-LAW and IMA
compression
- * decoding of Creative Voice files (*.voc)
+ * import of Creative Voice files (*.voc)
+ * import of NIST SPHERE Audio File Format (*.nist)
 
 0.9.1 [2016-02-21]
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cdb387d..c902ef6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -355,6 +355,7 @@ SET(KWAVE_DESKTOP_MIME_TYPES 
"${KWAVE_DESKTOP_MIME_TYPES}audio/x-aifc;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-aiff;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-caf;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-ircam;")
+SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-nist;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-voc;")
 IF (WITH_MP3)
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/mpeg;")
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index d93cbc8..b7863bb 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1811,6 +1811,7 @@
*.au  (NeXT, Sun Audio),
*.aiff (Audio Interchange Format),
*.caf (Core Audio Format),
+   *.nist (NIST SPHERE Audio File Format),
*.sf (Berkeley, IRCAM, Carl Sound Format),
*.snd (NeXT, Sun Audio),
*.voc (Creative Voice)
@@ -5594,6 +5595,21 @@


&i18n-plugin-lbl_file_type_description;
+   NIST SPHERE Audio File Format
+   
+   
+   &i18n-plugin-lbl_file_type_extensions;
+   *.nist
+   
+   
+   &i18n-plugin-lbl_file_type_mime_types;
+   audio/x-nist
+   
+   
+
+   
+   
+   &i18n-plugin-lbl_file_type_description;
Creative Voice


diff --git a/plugins/codec_audiofile/AudiofileDecoder.cpp 
b/plugins/codec_audiofile/AudiofileDecoder.cpp
index 623a344..239fa3f 100644
--- a/plugins/codec_audiofile/AudiofileDecoder.cpp
+++ b/plugins/codec_audiofile/AudiofileDecoder.cpp
@@ -55,6 +55,9 @@ Kwave::AudiofileDecoder::AudiofileDecoder()
 addMimeType("audio/x-caf",
 i18n("Core Audio File Format"),
 "*.caf; *.CAF");
+addMimeType("audio/x-nist",
+i18n("NIST SPHERE Audio File Format"),
+"*.nist; *.NIST");
 addMimeType("audio/x-ircam",
 i18n("Berkeley, IRCAM, Carl Sound Format"),
 "*.sf; *.SF");
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: import of Sample Vision Format (*.smp)

2016-04-21 Thread Thomas Eschenbacher
Git commit ea9833c564e5381b84e230fdbb65ce24688b720e by Thomas Eschenbacher.
Committed on 21/04/2016 at 19:23.
Pushed by eschenbacher into branch 'master'.

import of Sample Vision Format (*.smp)

M  +2-1CHANGES
M  +1-0CMakeLists.txt
M  +16   -0doc/en/index.docbook
M  +6-3plugins/codec_audiofile/AudiofileDecoder.cpp

http://commits.kde.org/kwave/ea9833c564e5381b84e230fdbb65ce24688b720e

diff --git a/CHANGES b/CHANGES
index 3ba7a38..d0d7de5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -12,8 +12,9 @@
  * record plugin: added retry mechanism in case of device busy
  * import of Core Audio Format (*.caf), using ALAC, A-LAW, U-LAW and IMA
compression
- * import of Creative Voice files (*.voc)
+ * import of Sample Vision Format (*.smp)
  * import of NIST SPHERE Audio File Format (*.nist)
+ * import of Creative Voice files (*.voc)
 
 0.9.1 [2016-02-21]
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c902ef6..32f9c93 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -356,6 +356,7 @@ SET(KWAVE_DESKTOP_MIME_TYPES 
"${KWAVE_DESKTOP_MIME_TYPES}audio/x-aiff;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-caf;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-ircam;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-nist;")
+SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-smp;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-voc;")
 IF (WITH_MP3)
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/mpeg;")
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index b7863bb..48790c0 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1813,6 +1813,7 @@
*.caf (Core Audio Format),
*.nist (NIST SPHERE Audio File Format),
*.sf (Berkeley, IRCAM, Carl Sound Format),
+   *.smp (Sample Vision Format),
*.snd (NeXT, Sun Audio),
*.voc (Creative Voice)
and others through the audiofile
@@ -5610,6 +5611,21 @@


&i18n-plugin-lbl_file_type_description;
+   Sample Vision Format
+   
+   
+   &i18n-plugin-lbl_file_type_extensions;
+   *.smp
+   
+   
+   &i18n-plugin-lbl_file_type_mime_types;
+   audio/x-smp
+   
+   
+
+   
+   
+   &i18n-plugin-lbl_file_type_description;
Creative Voice


diff --git a/plugins/codec_audiofile/AudiofileDecoder.cpp 
b/plugins/codec_audiofile/AudiofileDecoder.cpp
index 239fa3f..9378bc4 100644
--- a/plugins/codec_audiofile/AudiofileDecoder.cpp
+++ b/plugins/codec_audiofile/AudiofileDecoder.cpp
@@ -55,12 +55,15 @@ Kwave::AudiofileDecoder::AudiofileDecoder()
 addMimeType("audio/x-caf",
 i18n("Core Audio File Format"),
 "*.caf; *.CAF");
-addMimeType("audio/x-nist",
-i18n("NIST SPHERE Audio File Format"),
-"*.nist; *.NIST");
 addMimeType("audio/x-ircam",
 i18n("Berkeley, IRCAM, Carl Sound Format"),
 "*.sf; *.SF");
+addMimeType("audio/x-nist",
+i18n("NIST SPHERE Audio File Format"),
+"*.nist; *.NIST");
+addMimeType("audio/x-smp",
+i18n("Sample Vision Format"),
+"*.smp; *.SMP");
 addMimeType("audio/x-voc",
 i18n("Creative Voice"),
 "*.voc; *.VOC");
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: import of Audio Visual Research File Format (*.avr)

2016-04-21 Thread Thomas Eschenbacher
Git commit 35400586c9fc37534535218630ff81bfd683ab87 by Thomas Eschenbacher.
Committed on 21/04/2016 at 19:37.
Pushed by eschenbacher into branch 'master'.

import of Audio Visual Research File Format (*.avr)

M  +1-0CHANGES
M  +1-0CMakeLists.txt
M  +18   -0doc/en/index.docbook
M  +3-0plugins/codec_audiofile/AudiofileDecoder.cpp

http://commits.kde.org/kwave/35400586c9fc37534535218630ff81bfd683ab87

diff --git a/CHANGES b/CHANGES
index d0d7de5..8b874d0 100644
--- a/CHANGES
+++ b/CHANGES
@@ -15,6 +15,7 @@
  * import of Sample Vision Format (*.smp)
  * import of NIST SPHERE Audio File Format (*.nist)
  * import of Creative Voice files (*.voc)
+ * import Audio Visual Research File Format (*.avr)
 
 0.9.1 [2016-02-21]
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 32f9c93..53fbb5d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -353,6 +353,7 @@ SET(KWAVE_DESKTOP_MIME_TYPES 
"${KWAVE_DESKTOP_MIME_TYPES}audio/x-wav;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/basic;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-aifc;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-aiff;")
+SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-avr;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-caf;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-ircam;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-nist;")
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 48790c0..23b2a78 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1810,6 +1810,7 @@
Additionally you can import file formats like
*.au  (NeXT, Sun Audio),
*.aiff (Audio Interchange Format),
+   *.avr (Audio Visual Research File Format),
*.caf (Core Audio Format),
*.nist (NIST SPHERE Audio File Format),
*.sf (Berkeley, IRCAM, Carl Sound Format),
@@ -5566,6 +5567,23 @@


&i18n-plugin-lbl_file_type_description;
+   Audio Visual Research File Format
+   
+   
+   &i18n-plugin-lbl_file_type_extensions;
+   
+   *.avr
+   
+   
+   
+   &i18n-plugin-lbl_file_type_mime_types;
+   audio/x-avr
+   
+   
+
+   
+   
+   &i18n-plugin-lbl_file_type_description;
Core Audio File Format


diff --git a/plugins/codec_audiofile/AudiofileDecoder.cpp 
b/plugins/codec_audiofile/AudiofileDecoder.cpp
index 9378bc4..5ea74b7 100644
--- a/plugins/codec_audiofile/AudiofileDecoder.cpp
+++ b/plugins/codec_audiofile/AudiofileDecoder.cpp
@@ -52,6 +52,9 @@ Kwave::AudiofileDecoder::AudiofileDecoder()
 addMimeType("audio/x-aiff", /* included in KDE */
 i18n("Audio Interchange Format"),
 "*.aif; *.AIF; *.aiff; *.AIFF");
+addMimeType("audio/x-avr",
+i18n("Audio Visual Research File Format"),
+"*.avr; *.AVR");
 addMimeType("audio/x-caf",
 i18n("Core Audio File Format"),
 "*.caf; *.CAF");
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kwave] /: import of Amiga IFF/8SVX Sound File Format (*.8svx)

2016-04-21 Thread Thomas Eschenbacher
Git commit 6ba3dc26b2801a22cb11c53262e6a9e1d287de1b by Thomas Eschenbacher.
Committed on 21/04/2016 at 19:57.
Pushed by eschenbacher into branch 'master'.

import of Amiga IFF/8SVX Sound File Format (*.8svx)

M  +1-0CHANGES
M  +1-0CMakeLists.txt
M  +18   -0doc/en/index.docbook
M  +3-0plugins/codec_audiofile/AudiofileDecoder.cpp

http://commits.kde.org/kwave/6ba3dc26b2801a22cb11c53262e6a9e1d287de1b

diff --git a/CHANGES b/CHANGES
index 8b874d0..1b09efd 100644
--- a/CHANGES
+++ b/CHANGES
@@ -16,6 +16,7 @@
  * import of NIST SPHERE Audio File Format (*.nist)
  * import of Creative Voice files (*.voc)
  * import Audio Visual Research File Format (*.avr)
+ * import of Amiga IFF/8SVX Sound File Format (*.8svx)
 
 0.9.1 [2016-02-21]
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 53fbb5d..7916434 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -351,6 +351,7 @@ CONFIGURE_FILE(
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/wav;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-wav;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/basic;")
+SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-8svx;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-aifc;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-aiff;")
 SET(KWAVE_DESKTOP_MIME_TYPES "${KWAVE_DESKTOP_MIME_TYPES}audio/x-avr;")
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 23b2a78..b13961d 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1808,6 +1808,7 @@
 

Additionally you can import file formats like
+   *.8svx (Amiga IFF/8SVX Sound File Format),
*.au  (NeXT, Sun Audio),
*.aiff (Audio Interchange Format),
*.avr (Audio Visual Research File Format),
@@ -5513,6 +5514,23 @@

&i18n-plugin_lbl_file_types;

+
+   
+   
+   &i18n-plugin-lbl_file_type_description;
+   Amiga IFF/8SVX Sound File Format
+   
+   
+   &i18n-plugin-lbl_file_type_extensions;
+   *.8svx
+   *.iff
+   
+   
+   &i18n-plugin-lbl_file_type_mime_types;
+   audio/x-8svx
+   
+   
+


&i18n-plugin-lbl_file_type_description;
diff --git a/plugins/codec_audiofile/AudiofileDecoder.cpp 
b/plugins/codec_audiofile/AudiofileDecoder.cpp
index 5ea74b7..c31da57 100644
--- a/plugins/codec_audiofile/AudiofileDecoder.cpp
+++ b/plugins/codec_audiofile/AudiofileDecoder.cpp
@@ -46,6 +46,9 @@ Kwave::AudiofileDecoder::AudiofileDecoder()
 "*.au; *.AU; *.snd; *.SND");
 
 /* some others, mime types might be wrong (I found no RFC or similar)  */
+addMimeType("audio/x-8svx",
+i18n("Amiga IFF/8SVX Sound File Format"),
+"*.iff; *.IFF; *.8svx; *.8SVX");
 addMimeType("audio/x-aifc",
 i18n("Compressed Audio Interchange Format"),
 "*.aifc; *.AIFC");
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kwave] /: removed memory setup from menu tree and handbook

2019-06-23 Thread Thomas Eschenbacher
Git commit 5c437ea2254fa52d12bc1cddad233ab032261f98 by Thomas Eschenbacher.
Committed on 23/06/2019 at 07:28.
Pushed by eschenbacher into branch 'master'.

removed memory setup from menu tree and handbook

M  +0-172  doc/en/index.docbook
M  +0-1kwave/menus.config

https://commits.kde.org/kwave/5c437ea2254fa52d12bc1cddad233ab032261f98

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 2320cb2b..5097f67f 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -154,7 +154,6 @@
   
   
   
-  
   
   
   
@@ -871,61 +870,6 @@
 
 
 
-
-
-
-Memory 
Setup
-
-
-   When using &kwave; for the first time, you should go to the memory
-   setup dialog and modify the settings to be suitable for your needs
-   and the installed memory of your computer. You can reach it under
-   
-   SettingsMemory...
-   .
-
-
-   
-   
-   Here's a screenshot of &kwave;'s memory setup dialog
-   
-   
-   
-   
-   
-   
-   Screenshot of the Memory Setup Dialog
-   
-   
-   
-
-
-   &kwave; is able to use two types of memory: 
physical
-   and virtual memory.
-
-
-   Physical memory is the memory (RAM) that is
-   installed in your computer.
-   You should limit the usage of physical memory to some reasonable
-   size, as a rule of thumb, half of the installed memory should be ok.
-   If you set the limit too high, Linux will take memory from other
-   applications, which means that it swaps out memory of other programs
-   to the hard disk (swap), which is rather slow. If you set the limit
-   too low, you might lose some performance when working with big files,
-   because you use less of the fast physical memory than you could.
-
-
-   If you enable virtual memory, &kwave; is able to
-   load and process files
-   that are bigger than the amount of real installed physical memory.
-   &kwave; does this by using temporary files in a configurable directory,
-   which is much faster and more cooperative to other applications than
-   using the operating system's swapping. The directory that you
-   configure should be on your local hard disk.
-
-
-
-
 
 
 
@@ -4480,9 +4424,6 @@
l


-   m
-   
-   
n


@@ -5870,119 +5811,6 @@
 
 
 
-
-&no-i18n-plugin_memory; (Memory Settings)
-
-   Screenshot
-   
-   
-   
-   
-   
-   Screenshot of the Memory Setup Plugin
-   
-   
-
-
-   
-   &i18n-plugin_lbl_internal_name;
-   
&no-i18n-plugin_memory;
-   
-   
-   &i18n-plugin_lbl_type;
-   &GUI;
-   
-   
-   &i18n-plugin_lbl_description;
-   
-   
-   Provides a dialog to set up the memory usage of &kwave;.
-   Please refer to the section about the
-   
-   in this manual for more information.
-   
-   
-   
-   
-   &i18n-plugin_lbl_parameters;
-   
-   
-   
-   physical limited
-   
-   
-   If zero, the use of physical memory will not
-   limited, otherwise the use of physical memory
-   will be limited.
-   
-   
-   
-   
-   physical limit
-   
-   
-   Limitation of the physical memory in units of
-   whole MB. Only has an effect when the parameter
-   physical limited
-   has been set to a non zero value.
-   
-   
-   
-
-   
-   virtual enabled
-   
-   
-   If zero, the use of virtual memory will be
-   disabled, otherwise the use of virtual memory
-   will be enabled.
-   
-   
-   
-   
-   virtual limited
-   
-   
-   If zero, the use of virtual memory will be not
-   limited, otherwise the use of virtual memo

[multimedia/kwave] doc: updated URLs in documentation, removed link to mailing list (no longer exists), fixed broken link

2020-07-06 Thread Thomas Eschenbacher
Git commit 2ca8d861db154f2a56590be0620b0cc87b45aff8 by Thomas Eschenbacher.
Committed on 06/07/2020 at 07:57.
Pushed by eschenbacher into branch 'master'.

updated URLs in documentation, removed link to mailing list (no longer exists), 
fixed broken link

M  +1-1doc/CMakeLists.txt
M  +8-13   doc/devel.docbook
M  +8-9doc/en/index.docbook

https://invent.kde.org/multimedia/kwave/commit/2ca8d861db154f2a56590be0620b0cc87b45aff8

diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 37a3626e..9322f028 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -165,7 +165,7 @@ ENDFOREACH(_file ${_files})
 #
 ### "make html_doc_devel" ###
 
-SET(_common_en_dir 
${CMAKE_INSTALL_PREFIX}/${HTML_INSTALL_DIR}/en/kdoctools5-common)
+SET(_common_en_dir ${CMAKE_INSTALL_PREFIX}/share/help/en/kdoctools5-common)
 SET(_html_dir_devel ${CMAKE_CURRENT_BINARY_DIR}/devel)
 GET_TARGET_PROPERTY(MEINPROC_EXECUTABLE ${KDOCTOOLS_MEINPROC_EXECUTABLE} 
LOCATION)
 
diff --git a/doc/devel.docbook b/doc/devel.docbook
index 3c772ade..1bffac07 100644
--- a/doc/devel.docbook
+++ b/doc/devel.docbook
@@ -3,22 +3,21 @@
   Kwave">

   
-  
-  
+  
+  
   
-  http://commits.kde.org/kwave";>
-  
+  https://invent.kde.org/multimedia/kwave/";>
+  
   http://www.cmake.org";>
   http://kwave.sourceforge.net/download.html";>
   http://www.stack.nl/~dimitri/doxygen";>
   http://kwave.sourceforge.net/";>
   http://www.kde.org/applications/multimedia/kwave/";>
-  https://lists.sourceforge.net/lists/listinfo/kwave-devel";>
   
   http://sourceforge.net";>
   http://sourceforge.net/p/kwave/code/commit_browser";>
-  http://commits.kde.org/kwave.git/refs/";>
-  
+  
+  https://invent.kde.org/multimedia/kwave.git";>
 ]>
 
 
@@ -44,7 +43,7 @@
 
 &FDLNotice;
 
-2018-03-23
+2020-07-06
 &version;
 
 &kwave; is a simple sound editor built on 
&kf5-full;.
@@ -325,8 +324,6 @@
cmake, a make system
that is also used by KDE itself. So if you know how to build other KDE
applications, you should not have any difficulties in building &kwave;.
-   If you run into problems please report them to
-   the &kwave; mailing list.
 
 
 
@@ -704,9 +701,7 @@
 
 If you want to write a plugin, contribute something to this
 project (or maybe write the converter mentioned above), please
-   feel free to contact one of the authors directly
-   and / or subscribe to the &kwave; mailing list:
-"&url_mailinglist;".
+   feel free to contact one of the authors directly.
Help is always welcome!
 
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 5097f67f..1e1c190d 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -3,15 +3,14 @@
   Kwave">

   
-  
-  
-  
+  
+  
   
   https://creativecommons.org/licenses/by-sa/4.0/";>
-  http://kwave.sourceforge.net/doc/devel/building_rpm_from_git.html";>
+  http://kwave.sourceforge.net/doc/devel/fetching_sources_from_git.html";>
   http://kwave.sourceforge.net/doc/devel/requirements.html";>
-  https://commits.kde.org/kwave";>
-  
+  https://invent.kde.org/multimedia/kwave/";>
+  
   
   
   https://www.debian.org";>
@@ -317,8 +316,8 @@
 
 &FDLNotice;
 
-2017-01-29
-0.9.3 (Applications 16.12)
+2020-07-06
+20.07.70
 
 &kwave; is a simple sound editor built on 
&kf5-full;.
 
@@ -448,7 +447,7 @@
you can get the sources of the latest development version.
For instructions on how to get access to the repository, read
in the chapter about
-   building from 
GIT
+   building from GIT
in the developer documentation.
There also is a GIT web interface on &kde;
and on SourceForge that


[multimedia/kwave] /: updated minimal Qt version to 5.14

2020-07-06 Thread Thomas Eschenbacher
Git commit 927afc76fc29f61bfc91006d3e3b5cc47cdbcaf6 by Thomas Eschenbacher.
Committed on 06/07/2020 at 11:56.
Pushed by eschenbacher into branch 'master'.

updated minimal Qt version to 5.14

M  +1-1CMakeLists.txt
M  +2-2README
M  +2-2doc/devel.docbook

https://invent.kde.org/multimedia/kwave/commit/927afc76fc29f61bfc91006d3e3b5cc47cdbcaf6

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 950e40d6..7bf08bc5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -87,7 +87,7 @@ IF (POLICY CMP0075)
 ENDIF (POLICY CMP0075)
 
 SET(ECM_MIN_VERSION "1.7.0")
-SET(QT_MIN_VERSION  "5.4.0")
+SET(QT_MIN_VERSION  "5.14.0")
 SET(KF5_MIN_VERSION "5.33.0")
 
 #
diff --git a/README b/README
index 93be3154..bb08a60c 100644
--- a/README
+++ b/README
@@ -156,14 +156,14 @@ packets should be sufficient for building:
 
 [WARNING: this list might be a bit outdated]
 
-* the following Qt packages Qt >= 5.4.0
+* the following Qt packages Qt >= 5.14
   - qtcore
   - qtconcurrent
   - qtnetwork
   - qtgui
   - qtmultimedia
   - qtwidgets
-* the following KDE Frameworks packages, KF5 >= 5.2.0
+* the following KDE Frameworks packages, KF5 >= 5.33
   - extra-cmake-modules
   - kconfig
   - kconfigwidgets
diff --git a/doc/devel.docbook b/doc/devel.docbook
index 1bffac07..b439a125 100644
--- a/doc/devel.docbook
+++ b/doc/devel.docbook
@@ -142,12 +142,12 @@
hear the result of your work?)


-   KDE Frameworks 5.2 (KF5) or higher (at least the libraries,
+   KDE Frameworks 5.33 (KF5) or higher (at least the libraries,
if you are using a different desktop, you can also run &kwave;
if the proper libraries are installed).


-   Qt-5.4 or higher (normally comes as a dependency of KF5)
+   Qt-5.14 or higher (normally comes as a dependency of KF5)


ALSA 1.0.14 or higher (for record/playback)


[kwave] doc/en: handbook: changed some URLs from SF to KDE servers

2016-11-11 Thread Thomas Eschenbacher
Git commit 1e75f507b960c8233d8a98a2ffde06c732001d0e by Thomas Eschenbacher.
Committed on 12/11/2016 at 07:31.
Pushed by eschenbacher into branch 'master'.

handbook: changed some URLs from SF to KDE servers
  removed section about RPM optimizations

M  +19   -131  doc/en/index.docbook

http://commits.kde.org/kwave/1e75f507b960c8233d8a98a2ffde06c732001d0e

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index c5bd5c4..7508796 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -7,8 +7,10 @@
   
   
   
-  http://sourceforge.net/p/kwave/code/ci/HEAD/tree/AUTHORS";>
-  http://sourceforge.net/p/kwave/code/ci/HEAD/tree/CHANGES";>
+  http://projects.kde.org/?p=kwave.git";>
+  
+  
+  
   http://www.cmake.org";>
   http://www.debian.org";>
   http://kwave.sourceforge.net/download.html";>
@@ -16,23 +18,22 @@
   http://flac.sourceforge.net/";>
   http://kwave.sourceforge.net/";>
   http://id3lib.sourceforge.net/";>
-  http://commits.kde.org/kwave";>
+  http://www.kde.org/applications/multimedia/kwave/";>
   http://lame.sourceforge.net/";>
   https://web.archive.org/web/*/http://www.rikkus.info/esound-level-meter/";>
   http://www.68k.org/~michael/audiofile/";>
   http://www.underbit.com/products/mad/";>
   http://www.mega-nerd.com/libsndfile/";>
-  http://sourceforge.net/p/kwave/code/ci/HEAD/tree/LICENSES";>
+  
   https://lists.sourceforge.net/lists/listinfo/kwave-devel";>
   http://www.xiph.org";>
-  http://sourceforge.net/p/kwave/code/ci/HEAD/tree/README";>
+  
   http://www.ietf.org/rfc/rfc2361.txt";>
   http://sourceforge.net";>
   http://sox.sourceforge.net/";>
-  http://commits.kde.org/kwave";>
   http://sourceforge.net/p/kwave/code/commit_browser";>
-  http://sourceforge.net/p/kwave/code/ref/master~/tags/";>
-  
+  
+  
   
   
   
@@ -526,7 +527,7 @@
 
There also is a KDE project page
at &url_kde_project; which
-   is mostly interesting for developers.
+   shows a short summary of the application.
 
 
 
@@ -1093,113 +1094,8 @@
 
 
 
-
-
-
-
-
-Building CPU optimized packages
-
-
-   If you are owner of a Pentium, an AMD K6, Athlon or Athlon-XP CPU,
-   you might want to use compiler optimizations to compile your version of
-   &kwave; that is running some percents faster. The gain in speed will
-   be up to 30% on some systems, whereas the functions dealing with
-   signal manipulation and all functions that do complex time-frequency
-   operations (like FFT and Sonagram) will profit most from it.
-
-
-   You do not need to understand much about programming for using an
-   optimized compiler to compile &kwave;, but maybe you will need some
-   time to get the compiler itself working and installed.
-
-
-
-RPM optimizations
-
-
-   You can easily compile the RPM package optimized for Athlon,
-   Athlon-XP, Pentium and Pentium Pro
-   (and some other CPUs) by using some defines in your 
rpmrc file.
-   You can either modify your system's rpmrc
-   file in /usr/lib/rpm or the
-   .rpmrc file in your home directory.
-   There you can specify option lines like these:
-
-
-optflags: i586 -O2 -march=pentium -DNDEBUG 
-fomit-frame-pointer
-optflags: i686 -O2 -march=pentiumpro -DNDEBUG 
-fomit-frame-pointer
-optflags: athlon -O2 -march=athlon -DNDEBUG 
-fomit-frame-pointer
-optflags: k6 -O3 -march=k6 -DNDEBUG 
-fomit-frame-pointer
-optflags: k7 -O3 -march=athlon-xp -DNDEBUG 
-fomit-frame-pointer
-
-
-   (I found those nice tricks at
-   http://www.keywarrior.net/duesti/rpmopt.en.html";>
-   http://www.keywarrior.net/duesti/rpmopt.en.html.
-   Thanks to Matthias Düsterhöft!).
-
-
-
-
-   This means that on a k7 architecture the
-   rpm package will be compiled using
-   -O3 -march=athlon-xp -DNDEBUG
-   -fomit-frame-pointer
-   as compiler option and so
-   on, you might extend or adapt these to your own needs.
-   The settings apply to all of the sections before in all
-   places where rpmbuild -ta is used or where a binary
-   RPM is to be created out of a source rpm using
-   rpmbuild --rebuild.
-
-
-
-   If rpm refuses to install
-   your package because it seems not to fit to your computer's
-   architecture, you can normally just install an optimized package
-   by specifying the additional parameter --ignorearch
-   and don't care.
-
-
-
-
-
-How to pass optimizer options to the compiler manually
-
-   The invocation of the compiler is quite simple. It normally
-   is sufficient to set the environment variables
-   CFLAGS and 
CXXFLAGS
-   in the correct way and 

[kwave] doc/en: fixed repo links using the generic redirect

2016-11-21 Thread Thomas Eschenbacher
Git commit b2923905af344999677dfdc0e87f3396455d272b by Thomas Eschenbacher, on 
behalf of Burkhard Lück.
Committed on 21/11/2016 at 21:53.
Pushed by eschenbacher into branch 'master'.

fixed repo links using the generic redirect
use releaseinfo scheme defined in kdoctools template
fix command line options and replace Xt with Qt
KDE -> &plasma;
use entities for dolphin + konqueror

REVIEW: 129522

M  +11   -11   doc/en/index.docbook

http://commits.kde.org/kwave/b2923905af344999677dfdc0e87f3396455d272b

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 7508796..916c3c8 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -7,8 +7,8 @@
   
   
   
-  http://projects.kde.org/?p=kwave.git";>
-  
+  http://commits.kde.org/kwave";>
+  
   
   
   http://www.cmake.org";>
@@ -32,7 +32,7 @@
   http://sourceforge.net";>
   http://sox.sourceforge.net/";>
   http://sourceforge.net/p/kwave/code/commit_browser";>
-  
+  http://commits.kde.org/kwave.git/refs/";>
   
   
   
@@ -321,7 +321,7 @@
 &FDLNotice;
 
 2016-06-26
-&kwave; 0.9.2
+0.9.2 (Applications 16.12)
 
 &kwave; is a simple sound editor built on 
&kf5-full;.
 
@@ -1553,7 +1553,7 @@
 
GUI Type

-   The parameter 
--gui-type=SDI|MDI|TAB
+   The parameter 
--gui=SDI|MDI|TAB
lets &kwave; start in one of the three possible
GUI modes:
SDI,
@@ -1562,10 +1562,10 @@


 
-   Xt Toolkit options
+   Qt Toolkit options

In addition to a list of files, you can specify a list of
-   Xt toolkit options like 
-geometry
+   Qt toolkit options like 
-qwindowgeometry
for specifying the size and/or position of the first opened &kwave;
window and/or -display for starting the &kwave; 
on a
different display.
@@ -1575,7 +1575,7 @@
width of 600 pixels and a height of 400 pixels, with the right 
border
positioned 30 pixels away from the right and 0 pixels away from the 
top
of the screen.
-   % kwave -geometry 
600x400-30+0
+   % kwave 
--disable-splashscreen -qwindowgeometry 
600x400-30+0


 
@@ -2611,10 +2611,10 @@
 Clipboard
 
 
-&kwave; since v0.8.1 uses the clipboard of KDE. This way it
+&kwave; uses the clipboard of &plasma;. This way it
 is possible to exchange audio data between different &kwave; windows.
 It might be possible as well to exchange data between &kwave; and other
-audio applications, depending on their ability to use the KDE
+audio applications, depending on their ability to use the &plasma;
 clipboard.
 
 
@@ -2639,7 +2639,7 @@
 
 
 &kwave; supports the KDE Drag and Drop protocol. This enables you
-to open files just by picking them up in a konqueror
+to open files just by picking them up in a &dolphin; or &konqueror;
 window or the Desktop and let them drop into a window of &kwave;.
 
 


[kwave] /: prepared for next release, v0.9.3, at 2017-01-29

2017-01-06 Thread Thomas Eschenbacher
Git commit 85463c19f2b011ece59e920ac06c03f2fc749d39 by Thomas Eschenbacher.
Committed on 06/01/2017 at 13:11.
Pushed by eschenbacher into branch 'master'.

prepared for next release, v0.9.3, at 2017-01-29

M  +1-1CHANGES
M  +6-6README
M  +1-1VERSION
M  +5-5doc/en/index.docbook
M  +2-2kwave.lsm

https://commits.kde.org/kwave/85463c19f2b011ece59e920ac06c03f2fc749d39

diff --git a/CHANGES b/CHANGES
index 336ce96a..f5a34df8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,5 @@
 
-0.9.3 [2016-xx-xx]
+0.9.3 [2017-01-29]
 
   * project moved from kdereview to kdemultimedia
   * added genre types 126..191
diff --git a/README b/README
index 295023a1..93be3154 100644
--- a/README
+++ b/README
@@ -36,10 +36,10 @@ of your choice and then generate it in a separate build 
directory.
 For example:
 
 cd ${HOME}/src
-tar -xvzf kwave-0.9.2-1.tar.bz2
+tar -xvzf kwave-0.9.3-1.tar.bz2
 mkdir kwave-build
 cd kwave-build
-cmake ../kwave-0.9.2
+cmake ../kwave-0.9.3
 
 make
 make install
@@ -63,15 +63,15 @@ Installing the rpm package normally requires root 
permissions.
 2.1 Building a binary rpm from archive file:
 ---
 
-Simply get the source archive (for example kwave-0.9.2-1.tar.bz2) and
+Simply get the source archive (for example kwave-0.9.3-1.tar.bz2) and
 then type:
 
-rpmbuild -ta kwave-0.9.2-1.tar.bz2
+rpmbuild -ta kwave-0.9.3-1.tar.bz2
 
 If you want to build for a different architecture than your current, you
 might want to add the parameter "--target ...", for example:
 
-rpmbuild -ta --target i586 kwave-0.9.2-1.tar.bz2
+rpmbuild -ta --target i586 kwave-0.9.3-1.tar.bz2
 
 compiles for i586 architecture.
 
@@ -105,7 +105,7 @@ build the package on a system with the KDE base directory 
set to some
 location (like for example /usr) and install it on some other system
 and/or into a different directory.
 
-rpm -Uvh --prefix=/usr/local kwave-0.9.2-1.i586.rpm
+rpm -Uvh --prefix=/usr/local kwave-0.9.3-1.i586.rpm
 
 This modifies the path where the program is installed and it is strongly
 recommended that this is a directory that is contained in the KDEDIRS
diff --git a/VERSION b/VERSION
index 2003b639..965065db 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.9.2
+0.9.3
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 916c3c86..fb008278 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -3,9 +3,9 @@
   Kwave">

   
-  
-  
-  
+  
+  
+  
   
   http://commits.kde.org/kwave";>
   
@@ -320,8 +320,8 @@
 
 &FDLNotice;
 
-2016-06-26
-0.9.2 (Applications 16.12)
+2017-01-29
+0.9.3
 
 &kwave; is a simple sound editor built on 
&kf5-full;.
 
diff --git a/kwave.lsm b/kwave.lsm
index 83c4853b..04b98305 100644
--- a/kwave.lsm
+++ b/kwave.lsm
@@ -1,7 +1,7 @@
 Begin3
 Title:  kwave
-Version:   0.9.2
-Entered-date:  26JUN2016
+Version:   0.9.3
+Entered-date:  29JAN2017
 Description:A sound editor built on KDE Frameworks 5 that can edit many 
types of audio files.
 Keywords:   KDE, Qt, WAV, Sound, Editor, Effects, playback, recording
 Author: Martin Wilz 


[kwave] doc/en: Revert "prepared for next release, v0.9.3, at 2017-01-29"

2017-01-08 Thread Thomas Eschenbacher
Git commit 13da181d378ac9b72d17d9ec7fb6e641b255db60 by Thomas Eschenbacher.
Committed on 08/01/2017 at 09:49.
Pushed by eschenbacher into branch 'master'.

Revert "prepared for next release, v0.9.3, at 2017-01-29"
(partially)

This reverts commit 85463c19f2b011ece59e920ac06c03f2fc749d39.

M  +1-1doc/en/index.docbook

https://commits.kde.org/kwave/13da181d378ac9b72d17d9ec7fb6e641b255db60

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index fb008278..db841109 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -321,7 +321,7 @@
 &FDLNotice;
 
 2017-01-29
-0.9.3
+0.9.3 (Applications 16.12)
 
 &kwave; is a simple sound editor built on 
&kf5-full;.
 


Re: [kwave] /: prepared for next release, v0.9.3, at 2017-01-29

2017-01-08 Thread Thomas Eschenbacher
Hello Luigi,

sorry, I didn't know about that!
I searched through the KDE web sites, but found nothing about this topic.

For the moment I reverted the change to the docbook file only.

It is fine for me to follow the KDE release cycle and abandon the
old/own release scheme. But, to be consequent, there are some more
places to consider. It would be great to get some hints about how to I
handle these...

1) help_en.docbook

-> is it ok and sufficient to just remove the old version, so that it
reads like this:
"Applications 16.12" ?

-> should I rely on the release team to update this information when
needed, or do I have to take care about that in my build system / scripting?

2) kwave.lsm
-> does it still make sense to keep that file, or should I remove it?

3) README
-> same as for kwave.lsm, remove it?

4) filling KAboutData and app.setApplicationVersion(...)
-> any reference implementation about how to fill in the version field?

5) build system
-> is there any cmake variable that I can use, just in case I need the
application version number?

regards,
   Thomas

Luigi Toscano wrote:

> Thomas Eschenbacher ha scritto:
>> Git commit 85463c19f2b011ece59e920ac06c03f2fc749d39 by Thomas Eschenbacher.
>> Committed on 06/01/2017 at 13:11.
>> Pushed by eschenbacher into branch 'master'.
>>
>> prepared for next release, v0.9.3, at 2017-01-29
>>
>> M  +1-1CHANGES
>> M  +6-6README
>> M  +1-1VERSION
>> M  +5-5doc/en/index.docbook
>> M  +2-2kwave.lsm
>>
> 
> Hi Thomas,
> 
> kwave is part of KDE Applications, which means that you don't have your own
> release cycle anymore. This was explained when you requested to join KDE
> Applications.
> The next patch release of KDE Applications (so only bug fixes) will be tagged
> next Monday:
> https://community.kde.org/Schedules/Applications/16.12_Release_Schedule#Monday.2C_January_9.2C_2017:_KDE_Applications_16.12.1_tagging
> 
> And the next major release will be around April (schedule not fixed yet).
> 
> If you want to keep your release schedule and do your release when you like,
> you can certainly do so, but then kwave should be moved to extragear.
> 
> 

-- 
__
Thomas Eschenbacher   


[kwave] /: - re-activated the "label" menu

2017-02-25 Thread Thomas Eschenbacher
Git commit ae8afc101ca932bb0c3bb7eff09ee4f64562bec4 by Thomas Eschenbacher.
Committed on 25/02/2017 at 09:09.
Pushed by eschenbacher into branch 'master'.

- re-activated the "label" menu
- renamed command "add_label"-> "label:add"
- renamed command "delete_label" -> "label:delete"
- renamed command "edit_label"   -> "label:edit"

M  +4-0CHANGES
M  +0-2TODO
M  +64   -64   doc/en/index.docbook
M  +9-34   kwave/MainWidget.cpp
M  +21   -3kwave/TopWidget.cpp
M  +13   -22   kwave/menus.config
M  +2-2libgui/LabelItem.cpp
M  +8-5libgui/MenuManager.cpp
M  +5-1libgui/MenuManager.h
M  +1-1libgui/TrackView.cpp
M  +1-1libkwave/SignalManager.cpp
M  +3-3scripts/create-testfile.kwave
M  +1-1scripts/screenshots.kwave

https://commits.kde.org/kwave/ae8afc101ca932bb0c3bb7eff09ee4f64562bec4

diff --git a/CHANGES b/CHANGES
index 9078fb7b..dd83bf08 100644
--- a/CHANGES
+++ b/CHANGES
@@ -39,6 +39,10 @@
   * saveblocks: use the block title (description of the left side label) as
 tile of saved block
   * bugfix: file was left in "modified" state after adding a label and 
canceling
+  * re-activated the "label" menu
+  * renamed command "add_label"-> "label:add"
+  * renamed command "delete_label" -> "label:delete"
+  * renamed command "edit_label"   -> "label:edit"
 
 0.9.2 [2016-06-26]
 
diff --git a/TODO b/TODO
index 7374926b..9ef771ab 100644
--- a/TODO
+++ b/TODO
@@ -76,8 +76,6 @@ o JACK audio support
 
 o maybe some effects from soundtouch
 
-o re-activate the "label" menu
-
 o use some xml file for the menu instead of a macro
 
 o support for Speex codec: http://www.speex.org/
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index db841109..59403a03 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -48,7 +48,6 @@
   
   
   
-  
   
   
   
@@ -58,16 +57,17 @@
   
   
   
-  
   
   
-  
   
   
   
   
   
   
+  
+  
+  
   
   
   
@@ -3014,7 +3014,6 @@

a

-   


c
@@ -3028,12 +3027,11 @@
d


-   



e
-   
+   


f
@@ -3048,6 +3046,8 @@


l
+   
+   



@@ -3160,22 +3160,6 @@


 
-   
-   &no-i18n-cmd_add_label;
-   
-   
&i18n-cmd_syntax;&no-i18n-cmd_add_label;(pos[,text])
-   
-   Add a new label at a given position. If the given position 
already
-   contains a label, then this command does nothing. The label can
-   be given an optional description.
-   
-   
-   Parameters
-   pos:position in 
samples where to insert the label
-   text:some 
descriptive text (optional)
-   
-   
-

&no-i18n-cmd_add_track;

@@ -,24 +3317,10 @@


 
-   
-   &no-i18n-cmd_delete_label;
-   
-   
&i18n-cmd_syntax;&no-i18n-cmd_delete_label;(index)
-   
-   Deletes a label, identified by its index (starting from zero).
-   If no label with the given index exists, this command does 
nothing.
-   
-   
-   Parameters
-   index:index of 
the label to delete, starting with 0
-   
-   
-

&no-i18n-cmd_delete_track;

-   
&i18n-cmd_syntax;&no-i18n-cmd_delete_label;(index)
+   
&i18n-cmd_syntax;&no-i18n-cmd_label_delete;(index)

Deletes a track, identified by its index (starting from zero).
If no track with the given index exists, this command exits 
with an error.
@@ -3376,33 +3346,6 @@
 
 &no-i18n-tag;e
 
-   
-   &no-i18n-cmd_edit_label;
-   
-   Screenshot
-   
-   
-   
-   
-   
-   Screenshot of the label editing dialog
-   
-   
-   
-   
-   
&i18n-cmd_syntax;&no-i18n-cmd_edit_label;(index)
-   
-   Opens a window in which the user can edit the position and the
-   description of a label, which is identified by its index
-   (starting from zero). If no label with the given index exists,
-   this command does nothing.
-   
-   
-   Parameters
-   index:index of 
the label to edit, starting with 0
-   
-   
-

&no-i18n-cmd_expandtolabel;

[kwave] /: allow special value -1 as index for label:delete(...) to delete _all_ labels

2017-02-25 Thread Thomas Eschenbacher
Git commit bd05f88d5dd1de5dd6f3dbd3dd3220cdf3d43f9e by Thomas Eschenbacher.
Committed on 25/02/2017 at 12:52.
Pushed by eschenbacher into branch 'master'.

allow special value -1 as index for label:delete(...) to delete _all_ labels

M  +1-0CHANGES
M  +5-3doc/en/index.docbook
M  +32   -9libkwave/SignalManager.cpp

https://commits.kde.org/kwave/bd05f88d5dd1de5dd6f3dbd3dd3220cdf3d43f9e

diff --git a/CHANGES b/CHANGES
index 70d85c0d..fad166c8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -44,6 +44,7 @@
   * renamed command "delete_label" -> "label:delete"
   * renamed command "edit_label"   -> "label:edit"
   * implemented loading and saving of labels
+  * allow special value -1 as index for label:delete to delete _all_ labels
 
 0.9.2 [2016-06-26]
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 59403a03..89218ac7 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -3320,7 +3320,7 @@

&no-i18n-cmd_delete_track;

-   
&i18n-cmd_syntax;&no-i18n-cmd_label_delete;(index)
+   
&i18n-cmd_syntax;&no-i18n-cmd_delete_track;(index)

Deletes a track, identified by its index (starting from zero).
If no track with the given index exists, this command exits 
with an error.
@@ -3483,12 +3483,14 @@


&i18n-cmd_syntax;&no-i18n-cmd_label_delete;(index)

-   Deletes a label, identified by its index (starting from 
zero).
+   Deletes a label, identified by its index (starting from 
zero), or all
+   labels when using the special value -1 as index.
If no label with the given index exists, this command does 
nothing.


Parameters
-   
index:index of the label to 
delete, starting with 0
+   
index:index of the label to 
delete,
+   starting with 0 or -1 to delete all 
labels


 
diff --git a/libkwave/SignalManager.cpp b/libkwave/SignalManager.cpp
index a21ad8e9..48f4554b 100644
--- a/libkwave/SignalManager.cpp
+++ b/libkwave/SignalManager.cpp
@@ -1905,20 +1905,43 @@ Kwave::Label 
Kwave::SignalManager::addLabel(sample_index_t pos,
 void Kwave::SignalManager::deleteLabel(int index, bool with_undo)
 {
 Kwave::LabelList labels(m_meta_data);
+int count = Kwave::toInt(labels.count());
+if (!count) return;
 
-if ((index < 0) || (index >= Kwave::toInt(labels.count( return;
+if (index == -1) {
+   // special handling for index == -1 -> delete all labels
 
-Kwave::MetaData label(labels.at(index));
+   if (with_undo) startUndoTransaction(i18n("Delete All Labels"));
 
-// register the undo action
-if (with_undo) {
-   Kwave::UndoTransactionGuard undo(*this, i18n("Delete Label"));
-   if (!registerUndoAction(new(std::nothrow)
-   UndoDeleteMetaDataAction(Kwave::MetaDataList(label
-   return;
+   for (index = count - 1; index >= 0; index--) {
+   Kwave::MetaData label(labels.at(index));
+   if (with_undo) {
+   if (!registerUndoAction(new(std::nothrow)
+   UndoDeleteMetaDataAction(Kwave::MetaDataList(label
+   break;
+   }
+   m_meta_data.remove(label);
+   }
+} else {
+   // delete a single label
+   if ((index < 0) || (index >= count)) return;
+
+   Kwave::MetaData label(labels.at(index));
+
+   // register the undo action
+   if (with_undo) {
+   startUndoTransaction(i18n("Delete Label"));
+   if (!registerUndoAction(new(std::nothrow)
+   UndoDeleteMetaDataAction(Kwave::MetaDataList(label {
+   abortUndoTransaction();
+   return;
+   }
+   }
+
+   m_meta_data.remove(label);
 }
 
-m_meta_data.remove(label);
+if (with_undo) closeUndoTransaction();
 
 // register this as a modification
 setModified(true);


[kwave] /: doc: split off developer sections from handbook into seperate file

2017-02-28 Thread Thomas Eschenbacher
Git commit d425295c7e127ad5dc09aae299ade55348ddcb58 by Thomas Eschenbacher.
Committed on 28/02/2017 at 22:04.
Pushed by eschenbacher into branch 'master'.

doc: split off developer sections from handbook into seperate file
to reduce load of translators. new make target "html_doc_devel"
(included in "apidoc")

M  +3-0CHANGES
M  +4-2CMakeLists.txt
M  +24   -0doc/CMakeLists.txt
A  +776  -0doc/devel.docbook
M  +7-703  doc/en/index.docbook
M  +1-1doxy.cfg.in

https://commits.kde.org/kwave/d425295c7e127ad5dc09aae299ade55348ddcb58

diff --git a/CHANGES b/CHANGES
index a896affd..21aa155b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -45,6 +45,9 @@
   * renamed command "edit_label"   -> "label:edit"
   * implemented loading and saving of labels
   * allow special value -1 as index for label:delete(...) to delete _all_ 
labels
+  * doc: split off developer sections from handbook into seperate file, to
+reduce load of translators. new make target "html_doc_devel"
+(included in "apidoc")
 
 0.9.2 [2016-06-26]
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 01c013a6..4f421346 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -421,7 +421,7 @@ FIND_PROGRAM(DOXYGEN_EXECUTABLE doxygen)
 
 IF (DOXYGEN_EXECUTABLE AND RM_EXECUTABLE)
 SET(DOXYFILE ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
-SET(DOXYGEN_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/apidoc)
+SET(DOXYGEN_OUTPUT_DIR ${CMAKE_BINARY_DIR}/doc/api)
 SET(DOXYGEN_LOGFILE ${CMAKE_CURRENT_BINARY_DIR}/doxygen.log)
 
 MESSAGE(STATUS "Found doxygen: ${DOXYGEN_EXECUTABLE}")
@@ -433,7 +433,9 @@ IF (DOXYGEN_EXECUTABLE AND RM_EXECUTABLE)
 )
 
 ADD_CUSTOM_TARGET(apidoc
-   COMMAND "${RM_EXECUTABLE}" -R -f "${CMAKE_CURRENT_BINARY_DIR}/html"
+   DEPENDS html_doc_devel
+   COMMAND "${RM_EXECUTABLE}" -R -f "${CMAKE_BINARY_DIR}/doc/api"
+   COMMAND "${CMAKE_COMMAND}" -E make_directory 
"${CMAKE_BINARY_DIR}/doc/api"
COMMAND "${DOXYGEN_EXECUTABLE}" "${DOXYFILE}"
COMMAND "${CAT_EXECUTABLE}" "${DOXYGEN_LOGFILE}"
DEPENDS ${DOXYFILE}
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 4dd89eab..37a3626e 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -163,4 +163,28 @@ FOREACH(_file ${_files})
 ENDFOREACH(_file ${_files})
 
 #
+### "make html_doc_devel" ###
+
+SET(_common_en_dir 
${CMAKE_INSTALL_PREFIX}/${HTML_INSTALL_DIR}/en/kdoctools5-common)
+SET(_html_dir_devel ${CMAKE_CURRENT_BINARY_DIR}/devel)
+GET_TARGET_PROPERTY(MEINPROC_EXECUTABLE ${KDOCTOOLS_MEINPROC_EXECUTABLE} 
LOCATION)
+
+ADD_CUSTOM_TARGET(html_doc_devel
+COMMENT "Generating HTML developer documentation"
+DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/devel.docbook
+# start with an empty output (_html_dir)
+COMMAND ${CMAKE_COMMAND} -E remove_directory ${_html_dir_devel}
+COMMAND ${CMAKE_COMMAND} -E make_directory   ${_html_dir_devel}
+# create the HTML pages from docbook
+COMMAND cd ${_html_dir_devel} && ${MEINPROC_EXECUTABLE}
+--check ${CMAKE_CURRENT_SOURCE_DIR}/devel.docbook
+# copy files for the "common" directory
+COMMAND ${CMAKE_COMMAND} -E make_directory  ${_html_dir_devel}/common
+COMMAND ${CP_EXECUTABLE} -n ${_common_en_dir}/* ${_html_dir_devel}/common/
+# fix wrong paths in the HTML pages
+COMMAND cd ${_html_dir_devel} && ${CMAKE_SOURCE_DIR}/doc/fix-common
+WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+#
 #
diff --git a/doc/devel.docbook b/doc/devel.docbook
new file mode 100644
index ..84612841
--- /dev/null
+++ b/doc/devel.docbook
@@ -0,0 +1,776 @@
+
+Kwave">
+   
+  
+  
+  
+  
+  
+  http://commits.kde.org/kwave";>
+  
+  http://www.cmake.org";>
+  http://kwave.sourceforge.net/download.html";>
+  http://www.stack.nl/~dimitri/doxygen";>
+  http://kwave.sourceforge.net/";>
+  http://www.kde.org/applications/multimedia/kwave/";>
+  https://lists.sourceforge.net/lists/listinfo/kwave-devel";>
+  
+  http://sourceforge.net";>
+  http://sourceforge.net/p/kwave/code/commit_browser";>
+  http://commits.kde.org/kwave.git/refs/";>
+  
+]>
+
+
+
+
+The &kwave; Developer Handbook
+
+
+   
+   Thomas
+   Eschenbacher
+   
+   thomas.eschenbac...@gmx.de
+   
+   
+
+   
+
+
+
+1998-2000Martin Wilz
+&version_year;Thomas 
Eschenbacher
+
+&FDLNotice;
+
+2017-01-29
+  

[kwave] /: new plugin: export to K3B project file

2017-04-22 Thread Thomas Eschenbacher
Git commit 4fe719ff71c31e7bb1735519788b6cdb8844740d by Thomas Eschenbacher.
Committed on 22/04/2017 at 19:14.
Pushed by eschenbacher into branch 'master'.

new plugin: export to K3B project file

M  +5-0AUTHORS
M  +1-0CHANGES
M  +1-0CMakeLists.txt
M  +12   -0LICENSES
M  +239  -1doc/en/index.docbook
M  +1-0plugins/CMakeLists.txt
A  +43   -0plugins/export_k3b/CMakeLists.txt
A  +95   -0plugins/export_k3b/K3BExportDialog.cpp [License: GPL (v2+)]
A  +95   -0plugins/export_k3b/K3BExportDialog.h [License: GPL (v2+)]
A  +789  -0plugins/export_k3b/K3BExportPlugin.cpp [License: GPL (v2+)]
A  +179  -0plugins/export_k3b/K3BExportPlugin.h [License: GPL (v2+)]
A  +125  -0plugins/export_k3b/K3BExportWidget.cpp [License: GPL (v2+)]
A  +83   -0plugins/export_k3b/K3BExportWidget.h [License: GPL (v2+)]
A  +204  -0plugins/export_k3b/K3BExportWidgetBase.ui
A  +11   -0plugins/export_k3b/kwaveplugin_export_k3b.desktop.in
M  +3-6plugins/saveblocks/SaveBlocksPlugin.cpp
M  +12   -0scripts/screenshots.kwave

https://commits.kde.org/kwave/4fe719ff71c31e7bb1735519788b6cdb8844740d

diff --git a/AUTHORS b/AUTHORS
index d113f274..588b3135 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -62,6 +62,11 @@ Sven-Steffen Arndt 
 minor contributors, copyright holders and others
 
 
+Sebastian Trueg ,
+Gustavo Pichorim Boiko 
+Michal Malek 
+   * parts of plugins/export_k3b/K3BExportPlugin.cpp
+
 Aaron Holtzman 
* libkwave/cpu_accel.cpp
 
diff --git a/CHANGES b/CHANGES
index d41d049a..e38d2fea 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,7 @@ xx.xx.x [-xx-xx]
 
   * reduced flicker of position widget
   * bugfix: deleting labels per menu did not work
+  * new plugin: export to K3B project file
 
 17.04.0 [2017-03-19]
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 70b6c873..b509ab12 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -219,6 +219,7 @@ INCLUDE(GenerateExportHeader)
 INCLUDE(FeatureSummary)
 
 FIND_PACKAGE(KF5 REQUIRED COMPONENTS
+Archive
 Completion
 Config
 ConfigWidgets
diff --git a/LICENSES b/LICENSES
index c20a07ac..56bda8a6 100644
--- a/LICENSES
+++ b/LICENSES
@@ -630,6 +630,18 @@ COMPLETE LIST OF FILES AND THEIR LICENSE
plugins/debug/DebugPlugin.h GPL2+
plugins/debug/kwaveplugin_debug.desktop.in  GPL2+
 
+   plugins/export_k3b/CMakeLists.txt   BSD (3 clause)
+   plugins/export_k3b/K3BExportDialog.cpp  GPL2+
+   plugins/export_k3b/K3BExportDialog.hGPL2+
+   plugins/export_k3b/K3BExportPlugin.cpp  GPL2+ / Sebastian Trueg 
,
+   Gustavo 
Pichorim Boiko 
+   Michal Malek 

+   plugins/export_k3b/K3BExportPlugin.hGPL2+
+   plugins/export_k3b/K3BExportWidget.cpp  GPL2+
+   plugins/export_k3b/K3BExportWidget.hGPL2+
+   plugins/export_k3b/K3BExportWidegetBase.ui  GPL2+
+   plugins/export_k3b/kwaveplugin_export_k3b.desktop.inGPL2+
+
plugins/goto/CMakeLists.txt BSD (3 clause)
plugins/goto/GotoDialog.cpp GPL2+
plugins/goto/GotoDialog.h   GPL2+
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 84f17b1d..4079b4fc 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -17,6 +17,7 @@
   http://flac.sourceforge.net/";>
   http://kwave.sourceforge.net/";>
   http://id3lib.sourceforge.net/";>
+  http://www.k3b.org/";>
   http://lame.sourceforge.net/";>
   https://web.archive.org/web/*/http://www.rikkus.info/esound-level-meter/";>
   http://www.68k.org/~michael/audiofile/";>
@@ -147,6 +148,7 @@
   
   
   
+  
   
   
   
@@ -4456,6 +4458,9 @@
d


+   e
+   
+   
f


@@ -5355,6 +5360,227 @@
 
 
 
+
+&no-i18n-plugin_export_k3b; (Export to K3B 
Project)
+   
+   Screenshot
+   
+   
+   
+   
+   
+   Screenshot of the K3B Export Plugin
+   
+   
+   
+   
+   
+   &i18n-plugin_lbl_internal_name;
+   
&no-i18n-plugin_export_k3b;
+   
+   
+   &i18n-plugin_lbl_type;
+   function
+   
+   
+   &i18n-plugin_lbl_description;
+   
+   
+   Saves all sections between markers into a separate file 
and creates
+   a K3B project file. After having successfully written 
all files it
+  

[kwave] doc/en: handbook: fixed URL of ISRC intro page

2017-07-19 Thread Thomas Eschenbacher
Git commit 77c50c3018156dfdb0c80887b694829d9eef4e6e by Thomas Eschenbacher.
Committed on 20/07/2017 at 05:39.
Pushed by eschenbacher into branch 'master'.

handbook: fixed URL of ISRC intro page

M  +2-1doc/en/index.docbook

https://commits.kde.org/kwave/77c50c3018156dfdb0c80887b694829d9eef4e6e

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 02626a1a..c650cbcb 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -17,6 +17,7 @@
   http://flac.sourceforge.net/";>
   http://kwave.sourceforge.net/";>
   http://id3lib.sourceforge.net/";>
+  http://http://isrc.ifpi.org/";>
   http://www.k3b.org/";>
   http://lame.sourceforge.net/";>
   https://web.archive.org/web/*/http://www.rikkus.info/esound-level-meter/";>
@@ -8234,7 +8235,7 @@

ISRC number for the track; see the ISRC intro page for more
 information on ISRC numbers.
-http://www.ifpi.org/site-content/online/isrc_intro.html
+ &url_isrc;





[kwave] doc/en: handbook: fixed dead URL in description text of file info

2017-07-20 Thread Thomas Eschenbacher
Git commit 6e2fcbf1af65b679257a7521921bee3f22fbf93f by Thomas Eschenbacher.
Committed on 20/07/2017 at 17:31.
Pushed by eschenbacher into branch 'master'.

handbook: fixed dead URL in description text of file info

M  +7-6doc/en/index.docbook

https://commits.kde.org/kwave/6e2fcbf1af65b679257a7521921bee3f22fbf93f

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index c650cbcb..d3b57de8 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -7,6 +7,7 @@
   
   
   
+  https://creativecommons.org/licenses/by-sa/4.0/";>
   http://kwave.sourceforge.net/doc/devel/building_rpm_from_git.html";>
   http://kwave.sourceforge.net/doc/devel/requirements.html";>
   http://commits.kde.org/kwave";>
@@ -8260,12 +8261,12 @@

&no-i18n-tag;License

-   License information, e.g., All Rights Reserved,
-Any Use Permitted, an URL to a license or the 
EFF
-Open Audio License (distributed under the terms of the
-Open Audio License. See
-http://www.eff.org/IP/Open_licenses/eff_oal.html for
-details), etc.
+License information, e.g., All Rights Reserved,
+Any Use Permitted, an URL to a license or the
+Attribution-ShareAlike 4.0 International
+(distributed under the terms of the
+Attribution-ShareAlike 4.0 International License. See
+&url_cc_by_sa_4; for details), etc.





[kwave] /: switched on MP3 support per default,

2017-11-05 Thread Thomas Eschenbacher
Git commit df6640205e71d3a3378c35a5a5fad6a19c19c10d by Thomas Eschenbacher.
Committed on 05/11/2017 at 12:45.
Pushed by eschenbacher into branch 'master'.

switched on MP3 support per default,
removed Q&A entry about MP3 and patent issues from handbook

M  +1-0CHANGES
M  +1-19   doc/en/index.docbook
M  +1-3kwave.spec.in
M  +1-1plugins/codec_mp3/CMakeLists.txt

https://commits.kde.org/kwave/df6640205e71d3a3378c35a5a5fad6a19c19c10d

diff --git a/CHANGES b/CHANGES
index 18f1cc13..b695ddfc 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,7 @@
 
 xx.xx.x [-xx-xx]
 
+  * switched on MP3 support per default
   * new plugin: export to K3b project file
   * reduced flicker of position widget
   * bugfix: deleting labels per menu did not work
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index d3b57de8..d11bfcbb 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -1147,7 +1147,7 @@
The plans for future include support for import and also export 
filters
for more formats and maybe some filter that uses a user-definable 
script
with a call to an external filter, so that even formats not 
supported
-   by SoX (like MP3) can be read and/or written.
+   by SoX can be read and/or written.
 
 
 
@@ -7641,24 +7641,6 @@


 
-   
-   
-   
-   What about MP3 support?
-   
-   
-   
-   
-   Well, as long as there are patent issues, we support only 
MP3
-   import through the mad library and export via the external
-   program lame.
-   Additionally you need to have the permission to use code
-   covered by the MP3 patents when generating a Kwave package
-   for distributing!
-   
-   
-   
-
 

[kwave] /: updated developer handbook

2018-03-24 Thread Thomas Eschenbacher
Git commit 12046ef9e4fab947458949e971794ce79981559c by Thomas Eschenbacher.
Committed on 24/03/2018 at 08:06.
Pushed by eschenbacher into branch 'master'.

updated developer handbook

M  +1-0CHANGES
M  +222  -213  doc/devel.docbook

https://commits.kde.org/kwave/12046ef9e4fab947458949e971794ce79981559c

diff --git a/CHANGES b/CHANGES
index 2dc9221f..647fbaca 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,7 @@
 
   * enabled support for high dpi displays (icon scaling)
   * show error message if no plugins were found and terminate
+  * updated developer handbook
 
 18.03 [2017-11-13]
 
diff --git a/doc/devel.docbook b/doc/devel.docbook
index 84612841..b7ed2dab 100644
--- a/doc/devel.docbook
+++ b/doc/devel.docbook
@@ -3,9 +3,8 @@
   Kwave">

   
-  
-  
-  
+  
+  
   
   http://commits.kde.org/kwave";>
   
@@ -45,8 +44,8 @@
 
 &FDLNotice;
 
-2017-01-29
-0.9.3 (Applications 16.12)
+2018-03-23
+&version;
 
 &kwave; is a simple sound editor built on 
&kf5-full;.
 
@@ -228,11 +227,98 @@
 
 
 
+
+
+
+
+
+   Fetching sources from GIT
+
+   Checking out the sources
+
+   
+   For initially checking out the sources you will need some disk 
space
+   (about 25 megabytes) in a directory of your choice, the git 
package
+   of your favorite distribution and full access to the Internet. 
If you
+   get error messages about rejected connections you either have 
typed
+   something wrong or your provider doesn't give you full access.
+   A good place for the source files will be 
"$HOME/src".
+   
+
+   
+   
+   First create the directory that will receive the 
subdirectory with
+   &kwave; sources and change into it:
+
+% mkdir -p 
$HOME/src
+% cd 
$HOME/src
+
+   
+   
+   
+   Then check out the latest sources from the GIT server:
+
+% git clone &url_git_master; kwave
+
+   
+   
+   or you can check out a specific release with the 
following commands:
+
+% git clone &url_git_master; kwave
+% cd kwave
+% git checkout 
tags/[release-tag] 
+
+   You can look up the names of the release tags in the 
git web page at
+
&url_git_list_tags;.
+   Older release tags (until v0.9.2) 
are built out
+   of the word Release- and the version
+   number of the release, with underscores instead of dots.
+   Newer release tags consist only of a version number
+   (starting with v16.11.80).
+   For example "v&version;" for 
v&version;.
+   
+   
+   
+
+   
+   There must not be a directory named
+   kwave under
+   the directory you want to check out. Otherwise the git 
program will
+   complain about already existing files and the checkout will
+   not work.
+   
+
+   
+
+   Updating fresh sources from GIT
+   
+   The procedure described in the previous section is only 
necessary
+   once. For further updates it is much easier. Just change into 
the
+   directory where you have the checked out sources and do the 
following
+   to update to the latest version:
+
+% git pull
+
+   
+   
+   If you think that you have messed up your local source tree 
or if there
+   are conflicts during updating and you want to start through 
from a clean
+   state, you can do the following to discard all local 
changes and switch
+   back to the latest version from the master branch:
+
+% git clean --force -d
+% git reset --hard
+% git checkout 
master
+
+   
+   
+
+
 
-
+
 
 
-Manual Compilation and 
installation
+Invocation of 
cmake
 
 
Since version 0.7.10 &kwave; uses
@@ -252,26 +338,22 @@
 
 
For example, assuming that your sources are already
-   unpacked in 
$HOME/src/kwave-&version;, you
+   unpacked in 
$HOME/src/kwave, you
can do the following:
 
 % mkdir /tmp/kwave-build
 % cd /tmp/kwave-build
-% cmake 
$HOME/src/kwave-&version; [build 
options]
-% make
-% su root -c "make install"
+% cmake $HOME/src/kwave 
[build options]
 
-   (Specifying build options is a way to enable or disable specific 
features.
-   See the following section for descriptions)
+   Specifying build options is a way to enable or disable specific 
features.
+   

[kwave] /: search&replace: 'KWave' -> 'Kwave'

2018-03-24 Thread Thomas Eschenbacher
Git commit 6f655b90c6d4ceb6bf8ad0c3b0de5c9cae3e17cd by Thomas Eschenbacher.
Committed on 24/03/2018 at 09:43.
Pushed by eschenbacher into branch 'master'.

search&replace: 'KWave' -> 'Kwave'

M  +2-0CHANGES
M  +1-1doc/devel.docbook
M  +11   -11   kwave/org.kde.kwave.appdata.xml
M  +4-4kwave/org.kde.kwave.desktop.in
M  +1-1plugins/about/kwaveplugin_about.desktop.in
M  +2-2plugins/kwave-plugin.desktop

https://commits.kde.org/kwave/6f655b90c6d4ceb6bf8ad0c3b0de5c9cae3e17cd

diff --git a/CHANGES b/CHANGES
index 647fbaca..93e7c421 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,6 @@
 
+18.07.70 [2018-03-24]
+
   * enabled support for high dpi displays (icon scaling)
   * show error message if no plugins were found and terminate
   * updated developer handbook
diff --git a/doc/devel.docbook b/doc/devel.docbook
index b7ed2dab..3c772ade 100644
--- a/doc/devel.docbook
+++ b/doc/devel.docbook
@@ -3,7 +3,7 @@
   Kwave">

   
-  
+  
   
   
   http://commits.kde.org/kwave";>
diff --git a/kwave/org.kde.kwave.appdata.xml b/kwave/org.kde.kwave.appdata.xml
index 4782adf3..dd43b8f7 100644
--- a/kwave/org.kde.kwave.appdata.xml
+++ b/kwave/org.kde.kwave.appdata.xml
@@ -10,13 +10,13 @@
   Kwave
   Kwave
   Kwave
-  KWave
+  Kwave
   Kwave
   Kwave
   Kwave
   Kwave
   Kwave
-  KWave
+  Kwave
   Kwave
   Kwave
   Kwave
@@ -36,15 +36,15 @@
   Kwave is a sound editor built on KDE Frameworks 5
   El Kwave és un editor de so construït amb els 
Frameworks 5 del KDE
   El Kwave és un editor de so construït amb 
els Frameworks 5 del KDE
-  KWave je editor zvuku postavený na KDE Frameworks 
5
+  Kwave je editor zvuku postavený na KDE Frameworks 
5
   Kwave er et lydredigeringsprogram som er bygget på 
KDE Frameworks 5
-  KWave ist ein Sound-Editor für die KDE-Frameworks 
5
+  Kwave ist ein Sound-Editor für die KDE-Frameworks 
5
   Το Kwave είναι ένας επεξεργαστής ήχου στη βάση του 
KDE Frameworks 5
   Kwave is a sound editor built on KDE Frameworks 
5
   Kwave es un editor de sonido construido sobre KDE 
Frameworks 5
   Kwave on KDE Frameworks 5 peale ehitatud 
heliredaktor
   Kwave on KDE Frameworks 5 -alustalle suunniteltu 
äänimuokkain
-  KWave est un éditeur de sons développé sous KDE 
Frameworks 5
+  Kwave est un éditeur de sons développé sous KDE 
Frameworks 5
   Kwave é un editor de son construído coa versión 5 das 
infraestruturas de KDE
   Kwave è un editor per il suono basato su KDE 
Frameworks 5
   Kwave는 KDE 프레임워크 5를 사용하는 소리 편집기입니다
@@ -64,17 +64,17 @@
 
   With Kwave you can record, play back, import and edit many sorts of 
audio files including multi channel files.
 
-Sa KWave možete snimati, reprodukovati, uvoziti i 
uređivati mnogo vrsta audio datoteka uključujući višekanalne datoteke.
+Sa Kwave možete snimati, reprodukovati, uvoziti i 
uređivati mnogo vrsta audio datoteka uključujući višekanalne datoteke.
 Amb el Kwave podeu enregistrar, escoltar, importar i 
editar molts tipus de fitxers d'àudio inclosos els fitxers multicanal.
 Amb el Kwave podeu enregistrar, escoltar, 
importar i editar molts tipus de fitxers d'àudio inclosos els fitxers 
multicanal.
 Med Kwave kan du optage, afspille, importere og redigere 
mange slags lydfiler, inklusiv multikanalfiler.
-Mit KWave können Sie aufnehmen, abspielen und viele Arten 
von Audio-Dateien importieren und bearbeiten, einschließlich Dateien mit 
mehreren Spuren.
+Mit Kwave können Sie aufnehmen, abspielen und viele Arten 
von Audio-Dateien importieren und bearbeiten, einschließlich Dateien mit 
mehreren Spuren.
 Με το Kwave μπορείτε να κάνετε ηχογράφηση, αναπαραγωγή, 
εισαγωγή και επεξεργασία πολλών ειδών αρχείων ήχου συμπεριλαμβανομένων και 
πολυκάναλων.
 With Kwave you can record, play back, import and edit 
many sorts of audio files including multi channel files.
 Con Kwave puede grabar, reproducir, importar y editar 
muchos tipos de archivos de sonido, incluidos los archivos multicanal.
-KWave võimaldab salvestada, esitada, importida ja muuta 
väga mitut laadi helifaile, kaasa arvatud mitme kanaliga faile.
+Kwave võimaldab salvestada, esitada, importida ja muuta 
väga mitut laadi helifaile, kaasa arvatud mitme kanaliga faile.
 Kwavella voit äänittää, toistaa, tuoda ja muokata 
monenlaisia äänitiedostoja, myös useampikanavaisia.
-KWave vous permet d'enregistrer, lire, importer et éditer 
des fichiers audio sous plusieurs formats, y compris les fichiers 
multi-pistes.
+Kwave vous permet d'enregistrer, lire, importer et éditer 
des fichiers audio sous plusieurs formats, y compris les fichiers 
multi-pistes.
 Kwave permítelle gravar, reproducir, importar e editar 
moitos tipos de ficheiros de son, incluídos ficheiros de varias canles.
 Con Kwave puoi registrare, riprodurre, importare e 
modificare molti tipi di file audio, inclusi i file multicanale.
 Kwave를 사용하여 오디오 파일을 녹음, 재생

Re: Improvements for Kwave doc

2018-06-02 Thread Thomas Eschenbacher
Hello Toni,

thanks for your work!

I reviewed your patch an will apply it in the next days.
As far as I can see you have changed these things:

1) http -> https for some URLs
   -> why? is this required?

2) search&replace: "e.g." -> "⪚"
   -> ok

3) search&replace: "etc" -> "&etc;"
   -> ok

4) search&replace: "sub window" -> "sub-window"
   -> ok

5) search&replace: "directory" -> "folder"
   -> ok, but to be consequent this would also have to be changed
  in the user interface (in the c++ source code + ui files)
  and I am not sure if this search&replace is always correct.
  need some in-depth review...

Antoni Bella Pérez wrote:> [...]
>   I have translated the KWave doc into Catalan (ca) and now I am doing my 
> hard 
  ^
  where did you have this from???
I tried to eliminate that wrong spelling wherever possible. Please fix
that if you find it -> correct is "Kwave" !

> [...]
>* Must be misspelled?
> Makes a menu entry or menu/sub menu that has been previously disabled 
> enabled again.

I cannot see anything wrong in this, looks correct to me.

>* Can anyone confirm if that is OK? Maybe it's plasma ...
> &kde-frameworks; Drag and Drop protocol

IMHO this is ok.

regards,
   Thomas


[kwave] doc/en: some documentation fixes (partial):

2018-06-04 Thread Thomas Eschenbacher
Git commit 2dce56bbb42503b63b6590e5dc0247916741a33a by Thomas Eschenbacher, on 
behalf of Antoni Bella Pérez.
Committed on 05/06/2018 at 04:44.
Pushed by eschenbacher into branch 'master'.

some documentation fixes (partial):
- search&replace: "e.g." -> "⪚"
- search&replace: "etc" -> "&etc;"
- search&replace: "sub window" -> "sub-window"
- and some other minor fixes...

not (yet) included from original patch author:
- URL changes from http to https
- wording change "directory" -> "folder"
- misleading text in description of the "menu" command

M  +42   -39   doc/en/index.docbook

https://commits.kde.org/kwave/2dce56bbb42503b63b6590e5dc0247916741a33a

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index d11bfcbb..26a1ac9c 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -438,12 +438,12 @@
 Project Homepage
 For information about new up-to-date releases or some other
information about this project, take a look at
-   the &kwave; homepage
+   the &kwave; homepage.
 
 
 Mailing List
If you need some help on using &kwave; or want to get involved
-   in the development, join the Kwave developer mailing list
+   in the development, join the &kwave; developer mailing list
by visiting
 "&url_mailinglist;".

@@ -451,7 +451,7 @@
GIT Repository


-   There also is a new GIT repository hosted on KDE servers, and a
+   There also is a new GIT repository hosted on &kde; servers, and a
mirror repository hosted by
SourceForge where
you can get the sources of the latest development version.
@@ -459,8 +459,8 @@
in the chapter about
building from 
GIT
in the developer documentation.
-   There also is a GIT web interface on KDE
-   and on SourceForge where
+   There also is a GIT web interface on &kde;
+   and on SourceForge that
you can use to browse through the sources.
 
 
@@ -494,11 +494,13 @@
 
 
 
-   &kwave; version v0.9.0 is the first version hosted on KDE (kdereview)
+   &kwave; version v0.9.0 is the first version hosted on &kde; (kdereview)
and SourceForge servers, followed by v0.9.1, the first version for
&kf5-full;.
 
 
+
+
 
 
@@ -519,7 +521,8 @@
literature.
 
 
-The analogue world
+
+The analogue world
 
 
First of all, one must know that the
@@ -826,12 +829,12 @@
Same Window (MDI):
When using the Multi Document Interface
(MDI), there is only one &kwave; main window, but within 
this
-   window you have an area which shows sub windows, which
+   window you have an area which shows sub-windows, which
can be resized, moved, tiled, cascaded or minimized.


You can select a window from the Windows
-   menu or cycle through the sub windows with
+   menu or cycle through the sub-windows with
&Ctrl;Tab.


@@ -945,12 +948,12 @@
If you start &kwave; from the command line, you can specify a list
of files that should be opened. The first specified file will be 
opened
first, then the other files. Each file will be opened in an own new
-   window or sub window of the same &kwave; instance. If you specify
+   window or sub-window of the same &kwave; instance. If you specify
wildcards, you can open a large number of files at once.


For example, the following command starts a &kwave; and opens all 
sounds
-   provided by the freedesktop XDG sound theme, each in a new window 
or sub window:
+   provided by the freedesktop XDG sound theme, each in a new window 
or sub-window:
% kwave 
/usr/share/sounds/freedesktop/stereo/*.ogg


@@ -1084,7 +1087,7 @@

 The favourite file format of &kwave; is (like you can guess from 
the
 name) .wav. This format is very common to 
other
-   "operating systems" and also is commonly used within the KDE 
environment.
+   "operating systems" and also is commonly used within the &plasma; 
environment.


 The second format that &kwave; supports is "ASCII". You can export 
to
@@ -2047,7 +2050,7 @@
 Drag and Drop
 
 
-&kwave; supports the KDE Drag and Drop p

[kwave] doc/en: rewrote some misleading sections of the description of the internal command 'menu(...)'

2018-06-05 Thread Thomas Eschenbacher
Git commit 8e84e3733c4b4572f91dbfb9b3a4bca8180e8ba7 by Thomas Eschenbacher.
Committed on 05/06/2018 at 16:53.
Pushed by eschenbacher into branch 'master'.

rewrote some misleading sections of the description of the internal command 
'menu(...)'

M  +10   -12   doc/en/index.docbook

https://commits.kde.org/kwave/8e84e3733c4b4572f91dbfb9b3a4bca8180e8ba7

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 26a1ac9c..63ff0927 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -3053,25 +3053,23 @@

&no-i18n-tag;#checkable:

-   Makes a menu entry checkable, so that
+   Makes the menu entry checkable, so that
it can be switched on or off.


&no-i18n-tag;#disabled:

-   Lets the menu entry or menu/sub menu be
-   disabled.
+   Disables the menu, sub menu or menu 
entry.


&no-i18n-tag;#enabled:

-   Makes a menu entry or menu/sub menu that has been previously
-   disabled enabled again.
+   Enables the menu, sub menu or menu 
entry.


#exclusive(group):

-   Makes a menu entry be part of an 
exclusive
+   Adds the menu entry to an exclusive
group (one
of many selection). The group that is given as parameter
should not be used for any other purpose. Only one entry
@@ -3080,14 +3078,14 @@

#group(list):

-   Adds the menu entry or menu/sub menu to one or more
+   Adds the menu, sub menu or menu entry to one or more
a groups, so that the application can
enable/disable a bunch of menu entries without need to know
all their unique ids. Multiple groups can be passed as a
list with a , as
separator. Group names have to start
with a @.
-   The following groups predefined:
+   The following groups are predefined:


&no-i18n-tag;@CLIPBOARD:
@@ -3138,11 +3136,11 @@

&no-i18n-tag;#hidden:

-   Hides the menu entry or menu/sub menu.
+   Hides the menu, sub menu or menu entry.

#icon(name):

-   Assigns an icon to a menu entry. The
+   Assigns an icon to the menu entry. The
icon name
should correspond to an icon file (without
path and file extension) that is installed on the system or
@@ -3160,8 +3158,8 @@
parameter has to contain 
%1
as parameter, which will be replaced with the text of the
menu entry when it is activated.
-   (This sub command is internally used for the list of
-   recent files, list of tracks and window list).
+   This sub command is internally used for the list of
+   recent files, list of tracks and window list.


&no-i18n-tag;#separator:


Re: Improvements for Kwave doc

2018-06-05 Thread Thomas Eschenbacher
On 03.06.2018 14:16, Antoni Bella Pérez wrote:
> [...]
>> > * Must be misspelled?
>> > Makes a menu entry or menu/sub menu that has been previously disabled
>> > enabled again.
> [...]
> That reference to "disabled enabled" together is confused for my.

You are right, this has been misunderstood already, as you have shown by
some examples in other languages, so thanks for the hint!

I rewrote some portions of this section, in the hope that it is simpler
and easier to understand (and to translate) now.

regards,
   Thomas


[kwave] doc/en: URL updates in documentation

2018-06-13 Thread Thomas Eschenbacher
Git commit 50e778234c05b85c8ca17eb67ea6b7dabcfbacdb by Thomas Eschenbacher, on 
behalf of Antoni Bella Pérez.
Committed on 14/06/2018 at 04:55.
Pushed by eschenbacher into branch 'master'.

URL updates in documentation
(partial merge)

not included from original patch author:
- wording change "directory" -> "folder"

M  +10   -10   doc/en/index.docbook

https://commits.kde.org/kwave/50e778234c05b85c8ca17eb67ea6b7dabcfbacdb

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 63ff0927..42ec9e3e 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -10,28 +10,28 @@
   https://creativecommons.org/licenses/by-sa/4.0/";>
   http://kwave.sourceforge.net/doc/devel/building_rpm_from_git.html";>
   http://kwave.sourceforge.net/doc/devel/requirements.html";>
-  http://commits.kde.org/kwave";>
+  https://commits.kde.org/kwave";>
   
   
   
-  http://www.debian.org";>
-  http://flac.sourceforge.net/";>
+  https://www.debian.org";>
+  https://xiph.org/flac/";>
   http://kwave.sourceforge.net/";>
   http://id3lib.sourceforge.net/";>
-  http://http://isrc.ifpi.org/";>
-  http://www.k3b.org/";>
+  http://isrc.ifpi.org/";>
+  https://userbase.kde.org/K3b/";>
   http://lame.sourceforge.net/";>
   https://web.archive.org/web/*/http://www.rikkus.info/esound-level-meter/";>
-  http://www.68k.org/~michael/audiofile/";>
-  http://www.underbit.com/products/mad/";>
+  https://audiofile.68k.org/";>
+  https://www.underbit.com/products/mad/";>
   http://www.mega-nerd.com/libsndfile/";>
   
   https://lists.sourceforge.net/lists/listinfo/kwave-devel";>
-  http://www.xiph.org";>
+  https://www.xiph.org";>
   http://www.ietf.org/rfc/rfc2361.txt";>
-  http://sourceforge.net";>
+  https://sourceforge.net";>
   http://sox.sourceforge.net/";>
-  http://sourceforge.net/p/kwave/code/commit_browser";>
+  https://sourceforge.net/p/kwave/code/commit_browser";>
   
   
   


D13589: Review of Kwave documentation

2018-06-18 Thread Thomas Eschenbacher
the requested changes to this revision.
the added a comment.
This revision now requires changes to proceed.


  Your steps 1. ... 10. look ok to me -> accepted.
  
  11. what are those final points good for? There is a simple list with some 
tokens / abbrev., not complete sentences.  IMHO that change is wrong. 
Additionally: all these texts are created by a tool (extracted from source 
code) and will be overwritten the next time I run that tool. This means that 
these texts have to be in sync with the source code (which also does not 
support entities).
  
  12. ok, accepted
  
  13. I am not sure, isn't 	 a predefined entity for the tabulator key? 
Then it would be mis-used in that case.
  
  How did you take the screenshot? Please do not manually create screenshots! 
There is a Kwave macro file (scripts/screenshots.kwave) that should be used to 
create all screenshots, in a unified way, showing the same content for all 
languages.
  
  BTW: This is a lot of stuff to review and comment within one single pass, it 
would be easier if things had been split into several steps.

REPOSITORY
  R347 KWave

REVISION DETAIL
  https://phabricator.kde.org/D13589

To: Abella, the
Cc: ltoscano, kde-doc-english, skadinna


D13589: Review of Kwave documentation

2018-06-20 Thread Thomas Eschenbacher
the accepted this revision.
the added a comment.
This revision is now accepted and ready to land.


  thanks a lot for your contribution!
  From my point of view, this is all ok now.
  
  Regarding the use of entities like "&GUI;" or "&CD;", we could do an 
additional pass, and if you think that there is much benefit from using them, I 
could extend the tool that extracts them from the source code to do some 
search&replace and use the tags.
  
  Just a note to the change in lines 6252..6263: this also needs a change in 
the source code of the "pitch" plugin, which has a similar text (I will do that 
for you).
  
  If you need some assistance in creating the screenshots, please write me per 
PM!

REPOSITORY
  R347 KWave

REVISION DETAIL
  https://phabricator.kde.org/D13589

To: Abella, the
Cc: ltoscano, kde-doc-english, skadinna


D13589: Review of Kwave documentation

2018-07-12 Thread Thomas Eschenbacher
the added a comment.


  Ship it!

REPOSITORY
  R347 KWave

REVISION DETAIL
  https://phabricator.kde.org/D13589

To: Abella, the
Cc: ltoscano, kde-doc-english, skadinna


[kwave] doc/en: Review of Kwave documentation

2018-07-22 Thread Thomas Eschenbacher
Git commit 372f2e0f004633ef266bfb51fcf49ca8c2670169 by Thomas Eschenbacher, on 
behalf of Antoni Bella Pérez.
Committed on 22/07/2018 at 19:59.
Pushed by eschenbacher into branch 'master'.

Review of Kwave documentation

Summary:
  Common changes:
# Windows  -> Window
# mickey mouse efect  -> Mickey Mouse efect (proper noun)

  Entities of the KDE project:
# &Left;, &Right;, &Ctrl;, &PgUp;, etc.

  Improves:
# title: Zooming in and out ('listitem' reorder -- without button images?)
# title: Scrolling left and right ('listitem' reorder and adding 'goto 
position' -- without button images?)
# title: Selecting sample ('listitem' reorder and fixes)
# using a dot as decimal separator.   -> using a dot as decimal 
separator.
# Opens a window in which -> Opens a dialog 
window in which

  Style:
# view_scroll_right;. -> view_scroll_right;().
# select_gui_type(mode) -> highlight (all 's' section afected)
# Appendix A. File Info -> final points
# OK and Cancel buttons -> 'guibutton' tag is enough
# tab mode-> Tab mode (unify the style)

# Missing screenshot
kwave-plugin-export_k3b.png

Reviewers: the

Reviewed By: the

Subscribers: ltoscano, kde-doc-english

Tags: #documentation

Differential Revision: https://phabricator.kde.org/D13589

M  +193  -177  doc/en/index.docbook

https://commits.kde.org/kwave/372f2e0f004633ef266bfb51fcf49ca8c2670169

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 42ec9e3e..988c55b0 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -833,9 +833,9 @@
can be resized, moved, tiled, cascaded or minimized.


-   You can select a window from the Windows
+   You can select a window from the Window
menu or cycle through the sub-windows with
-   &Ctrl;Tab.
+   &Ctrl;	.


screenshot of &kwave; in MDI mode
@@ -859,9 +859,9 @@
some popular Internet browsers.


-   You can activate a tab via the Windows
+   You can activate a tab via the Window
menu or cycle through the tabs with
-   &Ctrl;Tab.
+   &Ctrl;	.


screenshot of &kwave; in TAB mode
@@ -958,16 +958,15 @@


It is also possible to pass &kwave; text commands, encoded as a
-   special URIuniversal resource 
identifier,
+   special &URI;universal resource 
identifier,
this will be described in a later 
section.


 
-   GUI Type
+   &GUI; Type

The parameter 
--gui=SDI|MDI|TAB
-   lets &kwave; start in one of the three possible
-   GUI modes:
+   lets &kwave; start in one of the three possible &GUI; modes:
SDI,
MDI or
TAB.
@@ -1001,7 +1000,7 @@

The command line option --iconic lets &kwave;
start up minimized (iconified). This might be useful when you want 
to
-   start &kwave; without GUI interaction, ⪚ when running from a 
script.
+   start &kwave; without &GUI; interaction, ⪚ when running from a 
script.
This option also implicitly disables the splash screen!

 
@@ -1515,14 +1514,14 @@
 
 

-   Space
+   &Space;
PlayPause
: Pause the playback at the current position. Only
available when the playback is running.
 
 

-   Space
+   &Space;
PlayContinue
: Continue the playback from the position where it
has been paused. Only available if the playback is paused.
@@ -1591,103 +1590,103 @@
 Zooming in and out
 
 
-   
+   
 
-   zoom to whole signal:
-   selects a zoom factor that makes the whole signal visible in the
-   current window.
+   zoom in:
+   zooms in to see more details, magnifies by factor 3.


-   menu entry:
+   menu entry / keyboard shortcut:

-   ViewZoom to whole 
signal
+   
&Ctrl;+
+   ViewZoom In



toolbar button: 
-   
-   zoom all 
button
+   
+   zoom 
in

  

D13589: Review of Kwave documentation

2018-07-22 Thread Thomas Eschenbacher
the closed this revision.

REPOSITORY
  R347 KWave

REVISION DETAIL
  https://phabricator.kde.org/D13589

To: Abella, the
Cc: ltoscano, kde-doc-english, skadinna


[kwave] doc/en: removed links to the Kwave mailing list from documentation

2018-07-22 Thread Thomas Eschenbacher
Git commit 6bfd8434bb864b57f489fb3ee1b7945911f9455d by Thomas Eschenbacher.
Committed on 22/07/2018 at 20:11.
Pushed by eschenbacher into branch 'master'.

removed links to the Kwave mailing list from documentation
(as it is practically unused for quite a while and will be shut down soon)

M  +1-12   doc/en/index.docbook

https://commits.kde.org/kwave/6bfd8434bb864b57f489fb3ee1b7945911f9455d

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 988c55b0..acf225e5 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -26,7 +26,6 @@
   https://www.underbit.com/products/mad/";>
   http://www.mega-nerd.com/libsndfile/";>
   
-  https://lists.sourceforge.net/lists/listinfo/kwave-devel";>
   https://www.xiph.org";>
   http://www.ietf.org/rfc/rfc2361.txt";>
   https://sourceforge.net";>
@@ -440,13 +439,6 @@
information about this project, take a look at
the &kwave; homepage.
 
-
-Mailing List
-   If you need some help on using &kwave; or want to get involved
-   in the development, join the &kwave; developer mailing list
-   by visiting
-"&url_mailinglist;".
-   

GIT Repository

@@ -516,9 +508,6 @@
 
This chapter should give a short introduction about the basics of
digital audio processing, without going too much into details.
-   Of course this might be a bit incomplete, but if you have questions,
-   you can ask at the &kwave; mailing list or consult some further
-   literature.
 
 
 
@@ -2399,7 +2388,7 @@
of a script. If you want to implement a possibility for the user to
end a script, you can use the
command msgbox(text).
-   This shows a message box with the two buttons 
+   This shows a message box with the two buttons
 OK (which lets the script
continue) and Cancel (which
returns an error code and stops the script).


[kwave] doc/en: typo in manual (wrong plural)

2018-09-13 Thread Thomas Eschenbacher
Git commit 2bef6e24d15e9118534898db24f753e436442992 by Thomas Eschenbacher.
Committed on 13/09/2018 at 17:17.
Pushed by eschenbacher into branch 'master'.

typo in manual (wrong plural)

M  +1-1doc/en/index.docbook

https://commits.kde.org/kwave/2bef6e24d15e9118534898db24f753e436442992

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index acf225e5..f0254080 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -3624,7 +3624,7 @@

&i18n-cmd_syntax;&no-i18n-cmd_select_gui_type;(mode)

Select a &GUI; mode, which can be either SDI, MDI or Tab mode.
-   Please be aware that this changes will immediately take
+   Please be aware that this change will immediately take
effect!




[multimedia/kwave] /: set minimum required cmake version to 3.16.0 (fixes build warnings)

2021-10-14 Thread Thomas Eschenbacher
Git commit 77273e87fdd96a8fb914891d096f0dc0a7d5a5f9 by Thomas Eschenbacher.
Committed on 14/10/2021 at 19:47.
Pushed by eschenbacher into branch 'master'.

set minimum required cmake version to 3.16.0 (fixes build warnings)

M  +1-1CMakeLists.txt
M  +1-1doc/devel.docbook

https://invent.kde.org/multimedia/kwave/commit/77273e87fdd96a8fb914891d096f0dc0a7d5a5f9

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b5e08dfe..2471187f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -64,7 +64,7 @@ set (RELEASE_SERVICE_VERSION_MICRO "70")
 #
 ### required versions ###
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12 FATAL_ERROR)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.16.0 FATAL_ERROR)
 
 # Honor visibility properties for all target types (since cmake 3.3)
 IF (POLICY CMP0063)
diff --git a/doc/devel.docbook b/doc/devel.docbook
index b439a125..5136743d 100644
--- a/doc/devel.docbook
+++ b/doc/devel.docbook
@@ -182,7 +182,7 @@
If you intend to compile &kwave; from the sources, you will need at 
least:


-   cmake-2.8.12 or newer
+   cmake-3.16.0 or newer


A recent C/C++ compiler. GCC-4.x works fine, some older and any


[multimedia/kwave/branch_doc_from_Toni_directory2folder] doc/en: branch from Toni

2022-07-24 Thread Thomas Eschenbacher
Git commit bdf36eb6e6af25d9f49a7b951bfbf199ad98ab6d by Thomas Eschenbacher.
Committed on 14/06/2018 at 04:58.
Pushed by eschenbacher into branch 'branch_doc_from_Toni_directory2folder'.

branch from Toni

M  +9-9doc/en/index.docbook

https://invent.kde.org/multimedia/kwave/commit/bdf36eb6e6af25d9f49a7b951bfbf199ad98ab6d

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 42ec9e3e..c6d15967 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -929,10 +929,10 @@
If you enable virtual memory, &kwave; is able to
load and process files
that are bigger than the amount of real installed physical memory.
-   &kwave; does this by using temporary files in a configurable directory,
+   &kwave; does this by using temporary files in a configurable folder,
which is much faster and more cooperative to other applications than
-   using the operating system's swapping. The directory that you
-   configure should be on your local hard disk.
+   using the operating system's swapping. The folder that you configure
+should be on your local hard disk.
 
 
 
@@ -3587,7 +3587,7 @@

Saves the currently opened file under a given file name. If no
file name is given as parameter, a dialog will be shown to
-   select the directory and to enter a file name.
+   select the folder and to enter a file name.


Parameters
@@ -5521,14 +5521,14 @@


&no-i18n-tag;0

-   Save to the same 
directory as the
+   Save to the same folder 
as the
K3b project file.




&no-i18n-tag;1

-   Save into a 
subdirectory of the directory of the
+   Save into a subfolder 
of the folder of the
K3b project file, using 
the K3b project file
name as base and 
appending

.dir.
@@ -5960,10 +5960,10 @@



-   virtual 
directory
+   virtual folder


-   Directory to use for storing swap files that
+   Folder to use for storing swap files that
will be used for providing virtual memory.
Only has an effect if the parameter
virtual enabled
@@ -6768,7 +6768,7 @@
slashes as path separators, which allows saving the sections
into different sub directories. Please note that all whitespace
characters around such path separators are silently removed, to
-   avoid creation of directory names which begin or end with a
+   avoid creation of folder names which begin or end with a
whitespace.




[multimedia/kwave/branch_doc_from_Toni_20180608] doc/en: from_Toni_20180608

2022-07-24 Thread Thomas Eschenbacher
Git commit cc0ce9f38b44f805b6bd649f6581816164ee809b by Thomas Eschenbacher.
Committed on 16/06/2018 at 19:48.
Pushed by eschenbacher into branch 'branch_doc_from_Toni_20180608'.

from_Toni_20180608

M  +154  -134  doc/en/index.docbook

https://invent.kde.org/multimedia/kwave/commit/cc0ce9f38b44f805b6bd649f6581816164ee809b

diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 42ec9e3e..e9383c83 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -833,9 +833,9 @@
can be resized, moved, tiled, cascaded or minimized.


-   You can select a window from the Windows
+   You can select a window from the Window
menu or cycle through the sub-windows with
-   &Ctrl;Tab.
+   &Ctrl;	.


screenshot of &kwave; in MDI mode
@@ -859,9 +859,9 @@
some popular Internet browsers.


-   You can activate a tab via the Windows
+   You can activate a tab via the Window
menu or cycle through the tabs with
-   &Ctrl;Tab.
+   &Ctrl;	.


screenshot of &kwave; in TAB mode
@@ -958,16 +958,15 @@


It is also possible to pass &kwave; text commands, encoded as a
-   special URIuniversal resource 
identifier,
+   special &URI;universal resource 
identifier,
this will be described in a later 
section.


 
-   GUI Type
+   &GUI; Type

The parameter 
--gui=SDI|MDI|TAB
-   lets &kwave; start in one of the three possible
-   GUI modes:
+   lets &kwave; start in one of the three possible &GUI; modes:
SDI,
MDI or
TAB.
@@ -1001,7 +1000,7 @@

The command line option --iconic lets &kwave;
start up minimized (iconified). This might be useful when you want 
to
-   start &kwave; without GUI interaction, ⪚ when running from a 
script.
+   start &kwave; without &GUI; interaction, ⪚ when running from a 
script.
This option also implicitly disables the splash screen!

 
@@ -1515,14 +1514,14 @@
 
 

-   Space
+   &Space;
PlayPause
: Pause the playback at the current position. Only
available when the playback is running.
 
 

-   Space
+   &Space;
PlayContinue
: Continue the playback from the position where it
has been paused. Only available if the playback is paused.
@@ -1591,103 +1590,103 @@
 Zooming in and out
 
 
-   
+   
 
-   zoom to whole signal:
-   selects a zoom factor that makes the whole signal visible in the
-   current window.
+   zoom in:
+   zooms in to see more details, magnifies by factor 3.


-   menu entry:
+   menu entry / keyboard shortcut:

-   ViewZoom to whole 
signal
+   
&Ctrl;+
+   ViewZoom In



toolbar button: 
-   
-   zoom all 
button
+   
+   zoom 
in



-
-   
+   
+   
 
-   zoom to 100%:
-   zooms in up to a scale where on sample is represented by on pixel
-   on the screen.
+   zoom out:
+   zooms in to see less details, shrinks by factor 3.


-   menu entry:
+   menu entry / keyboard shortcut:

-   ViewZoom to 100%
+   
&Ctrl;-
+   ViewZoom Out



toolbar button: 
-   
-   zoom to 100% 
button
+   
+   zoom 
out



 
-   
+   
 
-   zoom in:
-   zooms in to see more details, magnifies by factor 3.
+   zoom selection:
+   zooms to a factor where the current selection is completely
+   visible in the current view.


menu entry / keyboard shortcut:

-   
&Ctrl;+
-   ViewZoom In
+   &Ctrl;&Space;
+   ViewZoom to 
Selection



tool