Version 0.3.0

This commit is contained in:
Markus Gans 2016-11-27 19:16:52 +01:00
parent 4da63ebcac
commit 4012cdb7b0
12 changed files with 39 additions and 29 deletions

View File

@ -1,3 +1,7 @@
2016-11-27 Markus Gans <guru.mail@muenster.de>
* Some minor bug fixes
* Version 0.3.0
2016-11-26 Markus Gans <guru.mail@muenster.de> 2016-11-26 Markus Gans <guru.mail@muenster.de>
* Improvements for ansi terminal emulators * Improvements for ansi terminal emulators
* Add the opti-move test program * Add the opti-move test program

24
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # 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. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@ -587,8 +587,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='finalcut' PACKAGE_NAME='finalcut'
PACKAGE_TARNAME='finalcut' PACKAGE_TARNAME='finalcut'
PACKAGE_VERSION='0.2.0' PACKAGE_VERSION='0.3.0'
PACKAGE_STRING='finalcut 0.2.0' PACKAGE_STRING='finalcut 0.3.0'
PACKAGE_BUGREPORT='' PACKAGE_BUGREPORT=''
PACKAGE_URL='' 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. # 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. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF 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]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1392,7 +1392,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of finalcut 0.2.0:";; short | recursive ) echo "Configuration of finalcut 0.3.0:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -1502,7 +1502,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
finalcut configure 0.2.0 finalcut configure 0.3.0
generated by GNU Autoconf 2.69 generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
@ -1988,7 +1988,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. 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 generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
@ -2857,7 +2857,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='finalcut' PACKAGE='finalcut'
VERSION='0.2.0' VERSION='0.3.0'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
@ -15728,7 +15728,7 @@ Usage: $0 [OPTIONS]
Report bugs to <bug-libtool@gnu.org>." Report bugs to <bug-libtool@gnu.org>."
lt_cl_version="\ lt_cl_version="\
finalcut config.lt 0.2.0 finalcut config.lt 0.3.0
configured by $0, generated by GNU Autoconf 2.69. configured by $0, generated by GNU Autoconf 2.69.
Copyright (C) 2011 Free Software Foundation, Inc. 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 ### 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) ### Update this value for every release! (A:B:C will map to foo.so.(A-C).C.B)
### using libtool's versioning system. ### 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 # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" 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 generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -17673,7 +17673,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\ ac_cs_version="\\
finalcut config.status 0.2.0 finalcut config.status 0.3.0
configured by $0, generated by GNU Autoconf 2.69, configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"

View File

@ -4,7 +4,7 @@
# Process this file with autoconf to produce a configure script. # 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]) AC_CONFIG_HEADER([config.h])
AX_PREFIX_CONFIG_H([src/fconfig.h], [F]) AX_PREFIX_CONFIG_H([src/fconfig.h], [F])
AC_CONFIG_SRCDIR([src/fobject.cpp]) AC_CONFIG_SRCDIR([src/fobject.cpp])
@ -48,7 +48,7 @@ LT_OUTPUT
### This defines the version number of the installed .so files ### 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) ### Update this value for every release! (A:B:C will map to foo.so.(A-C).C.B)
### using libtool's versioning system. ### using libtool's versioning system.
AC_SUBST(SO_VERSION, ["2:0:2"]) AC_SUBST(SO_VERSION, ["3:0:3"])
AC_SUBST([LIBTOOL_DEPS]) AC_SUBST([LIBTOOL_DEPS])

View File

@ -8,7 +8,7 @@ Name: finalcut
%define libname libfinal %define libname libfinal
%define libsoname %{libname}0 %define libsoname %{libname}0
Version: 0.2.0 Version: 0.3.0
Release: %{buildno} Release: %{buildno}
License: GPL-3.0 License: GPL-3.0
Summary: The Final Cut Summary: The Final Cut
@ -137,6 +137,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/%{libname}.a %{_libdir}/%{libname}.a
%changelog %changelog
* Sat Nov 27 2016 Markus Gans <guru.mail@muenster.de> - 0.3.0-1
- Release (version 0.3.0)
* Sat Dec 19 2015 Markus Gans <guru.mail@muenster.de> - 0.2.0-1 * Sat Dec 19 2015 Markus Gans <guru.mail@muenster.de> - 0.2.0-1
- Release (version 0.2.0) - Release (version 0.2.0)

View File

@ -3,7 +3,7 @@
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# This is where make install will install the library # This is where make install will install the library
VERSION = "0.2.0" VERSION = "0.3.0"
MAJOR := $(shell echo ${VERSION} | cut -d. -f1) MAJOR := $(shell echo ${VERSION} | cut -d. -f1)
LIBDIR = /usr/local/lib64 LIBDIR = /usr/local/lib64
INCLUDEDIR = /usr/local/include/final INCLUDEDIR = /usr/local/include/final

View File

@ -3,7 +3,7 @@
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# This is where make install will install the library # This is where make install will install the library
VERSION = "0.2.0" VERSION = "0.3.0"
MAJOR := $(shell echo ${VERSION} | cut -d. -f1) MAJOR := $(shell echo ${VERSION} | cut -d. -f1)
LIBDIR = /usr/local/lib64 LIBDIR = /usr/local/lib64
INCLUDEDIR = /usr/local/include/final INCLUDEDIR = /usr/local/include/final

View File

@ -144,7 +144,7 @@
/* Define to the full name and version of this package. */ /* Define to the full name and version of this package. */
#ifndef F_PACKAGE_STRING #ifndef F_PACKAGE_STRING
#define F_PACKAGE_STRING "finalcut 0.2.0" #define F_PACKAGE_STRING "finalcut 0.3.0"
#endif #endif
/* Define to the one symbol short name of this package. */ /* Define to the one symbol short name of this package. */
@ -159,7 +159,7 @@
/* Define to the version of this package. */ /* Define to the version of this package. */
#ifndef F_PACKAGE_VERSION #ifndef F_PACKAGE_VERSION
#define F_PACKAGE_VERSION "0.2.0" #define F_PACKAGE_VERSION "0.3.0"
#endif #endif
/* Define to 1 if you have the ANSI C header files. */ /* Define to 1 if you have the ANSI C header files. */
@ -169,7 +169,7 @@
/* Version number of package */ /* Version number of package */
#ifndef F_VERSION #ifndef F_VERSION
#define F_VERSION "0.2.0" #define F_VERSION "0.3.0"
#endif #endif
/* once: _SRC_FCONFIG_H */ /* once: _SRC_FCONFIG_H */

View File

@ -1035,10 +1035,6 @@ void FDialog::drawDialogShadow()
return; return;
drawShadow(); drawShadow();
setPrintPos (1, 1+getHeight());
setTransparent();
print(' ');
unsetTransparent();
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------

View File

@ -129,9 +129,12 @@ void FVTerm::clearTerm (int fillchar)
for (int i=0; i < getLineNumber(); i++) for (int i=0; i < getLineNumber(); i++)
{ {
setTermXY (0,i); setTermXY (0,i);
FString blank_line(term_width, wchar_t(fillchar)); next->code = fillchar;
appendOutputBuffer (blank_line.c_str());
term_pos->setPoint(term_width,i); for (int n=0; n < term_width; n++)
appendCharacter(next);
term_pos->setPoint(term_width+1, i);
} }
setTermXY (0,0); setTermXY (0,0);

View File

@ -22,6 +22,7 @@ FWidget::widgetList* FWidget::dialog_list = 0;
FWidget::widgetList* FWidget::always_on_top_list = 0; FWidget::widgetList* FWidget::always_on_top_list = 0;
FWidget::widgetList* FWidget::close_widget = 0; FWidget::widgetList* FWidget::close_widget = 0;
FWidget::widget_colors FWidget::wc; FWidget::widget_colors FWidget::wc;
bool FWidget::init_desktop;
bool FWidget::hideable; bool FWidget::hideable;
@ -1092,7 +1093,7 @@ void FWidget::show()
if ( ! visible ) if ( ! visible )
return; return;
if ( getMainWidget() == this ) if ( ! init_desktop )
{ {
// Important: Do not use setNewFont() or setVGAFont() after // Important: Do not use setNewFont() or setVGAFont() after
// the console character mapping has been initialized // the console character mapping has been initialized
@ -1108,6 +1109,7 @@ void FWidget::show()
FWidget* r = getRootWidget(); FWidget* r = getRootWidget();
setColor(r->getForegroundColor(), r->getBackgroundColor()); setColor(r->getForegroundColor(), r->getBackgroundColor());
clearArea (vdesktop); clearArea (vdesktop);
init_desktop = true;
} }
if ( ! show_root_widget ) if ( ! show_root_widget )
@ -2163,6 +2165,7 @@ void FWidget::init()
foreground_color = wc.term_fg; foreground_color = wc.term_fg;
background_color = wc.term_bg; background_color = wc.term_bg;
init_desktop = false;
accelerator_list = new Accelerators(); accelerator_list = new Accelerators();
} }

View File

@ -514,6 +514,7 @@ class FWidget : public FVTerm
static FMenuBar* menubar; static FMenuBar* menubar;
static FWidget* show_root_widget; static FWidget* show_root_widget;
static FWidget* redraw_root_widget; static FWidget* redraw_root_widget;
static bool init_desktop;
static bool hideable; static bool hideable;
// Friend class // Friend class

View File

@ -33,7 +33,7 @@ bool keyPressed()
ret = true; ret = true;
else else
ret = false; ret = false;
tcsetattr (STDIN_FILENO, TCSADRAIN, &save); tcsetattr (STDIN_FILENO, TCSADRAIN, &save);
return ret; return ret;
} }