Version 0.6.0

This commit is contained in:
Markus Gans 2019-10-17 01:13:18 +02:00
parent 7499f424dc
commit 5e4a71dc0d
18 changed files with 5827 additions and 4788 deletions

View File

@ -1,3 +1,6 @@
2019-10-15 Markus Gans <guru.mail@muenster.de>
* Version 0.6.0
2019-10-13 Markus Gans <guru.mail@muenster.de>
* Compile fix for Cygwin and Linux on arm architectures
* A small color palette optimization

View File

@ -4,7 +4,7 @@
# Process this file with autoconf to produce a configure script.
AC_INIT([finalcut], [0.5.1])
AC_INIT([finalcut], [0.6.0])
AC_CONFIG_HEADER([config.h])
AX_PREFIX_CONFIG_H([src/include/final/fconfig.h], [F])
AC_CONFIG_SRCDIR([src/fobject.cpp])
@ -61,7 +61,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, ["5:1:5"])
AC_SUBST(SO_VERSION, ["6:0:6"])
AC_SUBST([LIBTOOL_DEPS])

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
finalcut (0.6.0) unstable; urgency=low
* Release (version 0.6.0)
-- Markus Gans <guru.mail@muenster.de> Mon, 14 Oct 2019 01:49:57 +0100
finalcut (0.5.0) unstable; urgency=low
* Release (version 0.5.0)

View File

@ -1 +1 @@
libfinal 0 libfinal0 (>= 0.5.1)
libfinal 0 libfinal0 (>= 0.6.0)

10313
debian/libfinal0.symbols vendored

File diff suppressed because it is too large Load Diff

2
debian/rules vendored
View File

@ -20,7 +20,7 @@ include /usr/share/dpkg/default.mk
# main packaging script based on dh7 syntax
%:
sed -i 's/doc\///g' README.md
test -f fonts/fonts.alias && mv fonts/fonts.alias fonts/xfonts-finalcut-newfont.alias || true
test -f fonts/fonts.alias && cp fonts/fonts.alias fonts/xfonts-finalcut-newfont.alias || true
dh $@ --with autotools-dev
# debmake generated override targets

View File

@ -5,6 +5,8 @@
docdir = ${datadir}/doc/${PACKAGE}
EXTRA_DIST = \
build_openbsd.txt \
build_solaris.txt \
calendar-draft.png \
calculator.png \
class-diagram.txt \
@ -34,6 +36,8 @@ EXTRA_DIST = \
xgraphics
doc_DATA = \
build_openbsd.txt \
build_solaris.txt \
calendar-draft.png \
calculator.png \
class-diagram.txt \

View File

@ -900,6 +900,7 @@ class dialogWidget : public FDialog
setGeometry (FPoint(28, 2), FSize(24, 21));
scrollview.setGeometry(FPoint(1, 1), FSize(22, 11));
scrollview.setScrollSize(FSize(60, 27));
const auto& wc = getFWidgetColors();
setColor (wc.label_inactive_fg, wc.dialog_bg);
scrollview.clearArea();
FColorPair red (fc::LightRed, wc.dialog_bg);

View File

@ -16,7 +16,7 @@ INCLUDES = -I../src/include -I/usr/include/final
RM = rm -f
ifdef DEBUG
OPTIMIZE = -O0 -fsanitize=bool,bounds,enum,float-cast-overflow,function,null
OPTIMIZE = -O0 -fsanitize=undefined
else
OPTIMIZE = -O2
endif

View File

@ -1,3 +1,7 @@
-------------------------------------------------------------------
Mon Oct 14 23:49:57 UTC 2019 - Markus Gans <guru.mail@muenster.de>
- Release (version 0.6.0)
-------------------------------------------------------------------
Sat Dec 01 21:28:25 UTC 2018 - Markus Gans <guru.mail@muenster.de>
- Release (version 0.5.1)

View File

@ -15,3 +15,13 @@ EXTRA_DIST = \
newfont.h \
unicodemap.h \
vgafont.h
docdir = ${datadir}/doc/${PACKAGE}
doc_DATA = \
newfont.txt
fontdir = ${datadir}/fonts/X11/misc/${PACKAGE}
font_DATA = \
8x16graph.pcf.gz \
fonts.alias \
fonts.dir

View File

@ -3,7 +3,7 @@
#-----------------------------------------------------------------------------
# This is where make install will install the library
VERSION = "0.5.1"
VERSION = "0.6.0"
MAJOR := $(shell echo ${VERSION} | cut -d. -f1)
LIBDIR = /usr/local/lib
INCLUDEDIR1 = include/final
@ -142,8 +142,7 @@ OBJS = \
TERMCAP := $(shell test -n "$$(ldd {/usr,}/lib64/libncursesw.so.5 2>/dev/null | grep libtinfo)" && echo "-ltinfo" || echo "-lncurses")
ifdef DEBUG
OPTIMIZE = -O0 -fsanitize=bool,bounds,enum,float-cast-overflow,function,null
# OPTIMIZE = -O0 -fsanitize=undefined
OPTIMIZE = -O0 -fsanitize=undefined
else
OPTIMIZE = -O2
endif

View File

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

View File

@ -34,28 +34,10 @@
namespace finalcut
{
// FTerm non-member functions
//----------------------------------------------------------------------
uInt env2uint (const char* env)
{
FString str(getenv(env));
// Function prototypes
bool hasAmbiguousWidth (wchar_t);
if ( str.isEmpty() )
return 0;
try
{
return str.toUInt();
}
catch (const std::exception&)
{
return 0;
}
}
//----------------------------------------------------------------------
bool hasAmbiguousWidth (wchar_t wchar)
{
// Data array
const wchar_t ambiguous_width_list[] =
{
0x00a1, 0x00a4, 0x00a7, 0x00a8, 0x00aa, 0x00ad, 0x00ae, 0x00b0,
@ -168,6 +150,29 @@ bool hasAmbiguousWidth (wchar_t wchar)
#endif
};
// FTerm non-member functions
//----------------------------------------------------------------------
uInt env2uint (const char* env)
{
FString str(getenv(env));
if ( str.isEmpty() )
return 0;
try
{
return str.toUInt();
}
catch (const std::exception&)
{
return 0;
}
}
//----------------------------------------------------------------------
inline bool hasAmbiguousWidth (wchar_t wchar)
{
const auto& begin = std::begin(ambiguous_width_list);
const auto& end = std::end(ambiguous_width_list);

View File

@ -85,7 +85,6 @@ void FWidgetColors::set8ColorTheme()
button_active_focus_bg = fc::Red;
button_active_fg = fc::LightGray;
button_active_bg = fc::Blue;
button_active_bg = fc::Blue;
button_inactive_fg = fc::Black;
button_inactive_bg = fc::Blue;
button_hotkey_fg = fc::LightGray;

View File

@ -183,7 +183,7 @@
/* Define to the full name and version of this package. */
#ifndef F_PACKAGE_STRING
#define F_PACKAGE_STRING "finalcut 0.5.1"
#define F_PACKAGE_STRING "finalcut 0.6.0"
#endif
/* Define to the one symbol short name of this package. */
@ -198,7 +198,7 @@
/* Define to the version of this package. */
#ifndef F_PACKAGE_VERSION
#define F_PACKAGE_VERSION "0.5.1"
#define F_PACKAGE_VERSION "0.6.0"
#endif
/* Define to 1 if you have the ANSI C header files. */
@ -230,7 +230,7 @@
/* Version number of package */
#ifndef F_VERSION
#define F_VERSION "0.5.1"
#define F_VERSION "0.6.0"
#endif
/* Define to 1 if on MINIX. */

View File

@ -32,6 +32,8 @@
#include <final/fbuttongroup.h>
#include <final/fbutton.h>
#include <final/fc.h>
#include <final/fobject.h>
#include <final/fcolorpalette.h>
#include <final/fcolorpair.h>
#include <final/fcharmap.h>
#include <final/fcheckbox.h>
@ -58,22 +60,30 @@
#include <final/fradiomenuitem.h>
#include <final/frect.h>
#include <final/fscrollbar.h>
#include <final/fscrollview.h>
#include <final/fsize.h>
#include <final/fstartoptions.h>
#include <final/fstatusbar.h>
#include <final/fstring.h>
#include <final/fswitch.h>
#include <final/fsystem.h>
#include <final/fterm.h>
#include <final/ftermios.h>
#include <final/ftermbuffer.h>
#include <final/ftermcap.h>
#include <final/ftermcapquirks.h>
#include <final/ftermdata.h>
#include <final/ftermdebugdata.h>
#include <final/ftermdetection.h>
#include <final/ftermios.h>
#include <final/ftermxterminal.h>
#include <final/ftextview.h>
#include <final/ftogglebutton.h>
#include <final/ftooltip.h>
#include <final/ftypes.h>
#include <final/fvterm.h>
#include <final/fwidgetcolors.h>
#include <final/fwidget.h>
#include "final/fwidgetcolors.h"
#include <final/fwindow.h>
#if defined(UNIT_TEST)
#include <final/ftermlinux.h>

View File

@ -316,6 +316,7 @@ class FVTerm
FTermArea* getChildPrintArea() const;
FTermArea* getCurrentPrintArea() const;
FTermArea* getVirtualDesktop() const;
FTermArea* getVirtualTerminal() const;
std::size_t getLineNumber();
std::size_t getColumnNumber();
static bool charEncodable (wchar_t);
@ -1073,6 +1074,10 @@ inline FVTerm::FTermArea* FVTerm::getCurrentPrintArea() const
inline FVTerm::FTermArea* FVTerm::getVirtualDesktop() const
{ return vdesktop; }
//----------------------------------------------------------------------
inline FVTerm::FTermArea* FVTerm::getVirtualTerminal() const
{ return vterm; }
//----------------------------------------------------------------------
inline std::size_t FVTerm::getLineNumber()
{ return FTerm::getLineNumber(); }