diff --git a/ChangeLog b/ChangeLog index 779920c4..c4868570 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-11-27 Markus Gans + * Some minor bug fixes + * Version 0.3.0 + 2016-11-26 Markus Gans * Improvements for ansi terminal emulators * Add the opti-move test program diff --git a/configure b/configure index b69c6707..f4ffc9a4 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for finalcut 0.2.0. +# Generated by GNU Autoconf 2.69 for finalcut 0.3.0. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='finalcut' PACKAGE_TARNAME='finalcut' -PACKAGE_VERSION='0.2.0' -PACKAGE_STRING='finalcut 0.2.0' +PACKAGE_VERSION='0.3.0' +PACKAGE_STRING='finalcut 0.3.0' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1322,7 +1322,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures finalcut 0.2.0 to adapt to many kinds of systems. +\`configure' configures finalcut 0.3.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1392,7 +1392,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of finalcut 0.2.0:";; + short | recursive ) echo "Configuration of finalcut 0.3.0:";; esac cat <<\_ACEOF @@ -1502,7 +1502,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -finalcut configure 0.2.0 +finalcut configure 0.3.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1988,7 +1988,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by finalcut $as_me 0.2.0, which was +It was created by finalcut $as_me 0.3.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2857,7 +2857,7 @@ fi # Define the identity of the package. PACKAGE='finalcut' - VERSION='0.2.0' + VERSION='0.3.0' cat >>confdefs.h <<_ACEOF @@ -15728,7 +15728,7 @@ Usage: $0 [OPTIONS] Report bugs to ." lt_cl_version="\ -finalcut config.lt 0.2.0 +finalcut config.lt 0.3.0 configured by $0, generated by GNU Autoconf 2.69. Copyright (C) 2011 Free Software Foundation, Inc. @@ -16959,7 +16959,7 @@ $lt_cl_success || as_fn_exit 1 ### This defines the version number of the installed .so files ### Update this value for every release! (A:B:C will map to foo.so.(A-C).C.B) ### using libtool's versioning system. -SO_VERSION="2:0:2" +SO_VERSION="3:0:3" @@ -17607,7 +17607,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by finalcut $as_me 0.2.0, which was +This file was extended by finalcut $as_me 0.3.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17673,7 +17673,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -finalcut config.status 0.2.0 +finalcut config.status 0.3.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 0cb60efd..87c65f40 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ # Process this file with autoconf to produce a configure script. -AC_INIT([finalcut], [0.2.0]) +AC_INIT([finalcut], [0.3.0]) AC_CONFIG_HEADER([config.h]) AX_PREFIX_CONFIG_H([src/fconfig.h], [F]) AC_CONFIG_SRCDIR([src/fobject.cpp]) @@ -48,7 +48,7 @@ LT_OUTPUT ### This defines the version number of the installed .so files ### Update this value for every release! (A:B:C will map to foo.so.(A-C).C.B) ### using libtool's versioning system. -AC_SUBST(SO_VERSION, ["2:0:2"]) +AC_SUBST(SO_VERSION, ["3:0:3"]) AC_SUBST([LIBTOOL_DEPS]) diff --git a/finalcut.spec b/finalcut.spec index 1f3abc23..712cae15 100644 --- a/finalcut.spec +++ b/finalcut.spec @@ -8,7 +8,7 @@ Name: finalcut %define libname libfinal %define libsoname %{libname}0 -Version: 0.2.0 +Version: 0.3.0 Release: %{buildno} License: GPL-3.0 Summary: The Final Cut @@ -137,6 +137,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/%{libname}.a %changelog +* Sat Nov 27 2016 Markus Gans - 0.3.0-1 +- Release (version 0.3.0) + * Sat Dec 19 2015 Markus Gans - 0.2.0-1 - Release (version 0.2.0) diff --git a/src/Makefile.clang b/src/Makefile.clang index bd57fd39..ddb359e0 100644 --- a/src/Makefile.clang +++ b/src/Makefile.clang @@ -3,7 +3,7 @@ #----------------------------------------------------------------------------- # This is where make install will install the library -VERSION = "0.2.0" +VERSION = "0.3.0" MAJOR := $(shell echo ${VERSION} | cut -d. -f1) LIBDIR = /usr/local/lib64 INCLUDEDIR = /usr/local/include/final diff --git a/src/Makefile.gcc b/src/Makefile.gcc index d99c74c6..b908ca09 100644 --- a/src/Makefile.gcc +++ b/src/Makefile.gcc @@ -3,7 +3,7 @@ #----------------------------------------------------------------------------- # This is where make install will install the library -VERSION = "0.2.0" +VERSION = "0.3.0" MAJOR := $(shell echo ${VERSION} | cut -d. -f1) LIBDIR = /usr/local/lib64 INCLUDEDIR = /usr/local/include/final diff --git a/src/fconfig.h b/src/fconfig.h index caf06d89..a37b0fa6 100644 --- a/src/fconfig.h +++ b/src/fconfig.h @@ -144,7 +144,7 @@ /* Define to the full name and version of this package. */ #ifndef F_PACKAGE_STRING -#define F_PACKAGE_STRING "finalcut 0.2.0" +#define F_PACKAGE_STRING "finalcut 0.3.0" #endif /* Define to the one symbol short name of this package. */ @@ -159,7 +159,7 @@ /* Define to the version of this package. */ #ifndef F_PACKAGE_VERSION -#define F_PACKAGE_VERSION "0.2.0" +#define F_PACKAGE_VERSION "0.3.0" #endif /* Define to 1 if you have the ANSI C header files. */ @@ -169,7 +169,7 @@ /* Version number of package */ #ifndef F_VERSION -#define F_VERSION "0.2.0" +#define F_VERSION "0.3.0" #endif /* once: _SRC_FCONFIG_H */ diff --git a/src/fdialog.cpp b/src/fdialog.cpp index ea6d7bd2..5bfe5b25 100644 --- a/src/fdialog.cpp +++ b/src/fdialog.cpp @@ -1035,10 +1035,6 @@ void FDialog::drawDialogShadow() return; drawShadow(); - setPrintPos (1, 1+getHeight()); - setTransparent(); - print(' '); - unsetTransparent(); } //---------------------------------------------------------------------- diff --git a/src/fvterm.cpp b/src/fvterm.cpp index 1c4d483f..5cd53989 100644 --- a/src/fvterm.cpp +++ b/src/fvterm.cpp @@ -129,9 +129,12 @@ void FVTerm::clearTerm (int fillchar) for (int i=0; i < getLineNumber(); i++) { setTermXY (0,i); - FString blank_line(term_width, wchar_t(fillchar)); - appendOutputBuffer (blank_line.c_str()); - term_pos->setPoint(term_width,i); + next->code = fillchar; + + for (int n=0; n < term_width; n++) + appendCharacter(next); + + term_pos->setPoint(term_width+1, i); } setTermXY (0,0); diff --git a/src/fwidget.cpp b/src/fwidget.cpp index 17a25d0b..648d6b0c 100644 --- a/src/fwidget.cpp +++ b/src/fwidget.cpp @@ -22,6 +22,7 @@ FWidget::widgetList* FWidget::dialog_list = 0; FWidget::widgetList* FWidget::always_on_top_list = 0; FWidget::widgetList* FWidget::close_widget = 0; FWidget::widget_colors FWidget::wc; +bool FWidget::init_desktop; bool FWidget::hideable; @@ -1092,7 +1093,7 @@ void FWidget::show() if ( ! visible ) return; - if ( getMainWidget() == this ) + if ( ! init_desktop ) { // Important: Do not use setNewFont() or setVGAFont() after // the console character mapping has been initialized @@ -1108,6 +1109,7 @@ void FWidget::show() FWidget* r = getRootWidget(); setColor(r->getForegroundColor(), r->getBackgroundColor()); clearArea (vdesktop); + init_desktop = true; } if ( ! show_root_widget ) @@ -2163,6 +2165,7 @@ void FWidget::init() foreground_color = wc.term_fg; background_color = wc.term_bg; + init_desktop = false; accelerator_list = new Accelerators(); } diff --git a/src/fwidget.h b/src/fwidget.h index 81678528..adfb26bc 100644 --- a/src/fwidget.h +++ b/src/fwidget.h @@ -514,6 +514,7 @@ class FWidget : public FVTerm static FMenuBar* menubar; static FWidget* show_root_widget; static FWidget* redraw_root_widget; + static bool init_desktop; static bool hideable; // Friend class diff --git a/test/opti-move.cpp b/test/opti-move.cpp index 2f188d3f..1d0c7168 100644 --- a/test/opti-move.cpp +++ b/test/opti-move.cpp @@ -33,7 +33,7 @@ bool keyPressed() ret = true; else ret = false; - + tcsetattr (STDIN_FILENO, TCSADRAIN, &save); return ret; }