Skip to content

Commit

Permalink
Remove gtk_progress_set_percentage in GTKUI. Set version to 2.59.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Apr 17, 2023
1 parent 4b26c32 commit 5667ff5
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 30 deletions.
2 changes: 1 addition & 1 deletion COPYING.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FAUST compiler, Version 2.59.0
FAUST compiler, Version 2.59.1
Copyright (C) 2003-2019 GRAME, Centre National de Creation Musicale
---------------------------------------------------------------------
This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version := 2.59.0
version := 2.59.1

system ?= $(shell uname -s)

Expand Down
4 changes: 2 additions & 2 deletions architecture/faust/export.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
#define __export__

// Version as a global string
#define FAUSTVERSION "2.59.0"
#define FAUSTVERSION "2.59.1"

// Version as separated [major,minor,patch] values
#define FAUSTMAJORVERSION 2
#define FAUSTMINORVERSION 59
#define FAUSTPATCHVERSION 0
#define FAUSTPATCHVERSION 1

// Use FAUST_API for code that is part of the external API but is also compiled in faust and libfaust
// Use LIBFAUST_API for code that is compiled in faust and libfaust
Expand Down
4 changes: 3 additions & 1 deletion architecture/faust/gui/GTKUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include <stdlib.h>
#include <string.h>

#include <algorithm>
#include <assert.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
Expand Down Expand Up @@ -1224,12 +1225,13 @@ struct uiBargraph : public uiItem {
}

FAUSTFLOAT scale(FAUSTFLOAT v) { return (v - fMin) / (fMax - fMin); }
FAUSTFLOAT clip(FAUSTFLOAT v) { return std::max<double>(0.0, std::min<double>(1.0, v)); }

virtual void reflectZone()
{
FAUSTFLOAT v = *fZone;
fCache = v;
gtk_progress_bar_set_fraction(fProgressBar, scale(v));
gtk_progress_bar_set_fraction(fProgressBar, clip(scale(v)));
}
};

Expand Down
2 changes: 1 addition & 1 deletion build/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project (faust)

#######################################
# versions management
set (VERSION 2.59.0)
set (VERSION 2.59.1)
macro (get_major_minor_patch version)
string( REGEX REPLACE "([0-9]*)\\.([0-9]*)\\.([0-9]*)" "\\1" VERSION_MAJOR ${version} )
string( REGEX REPLACE "([0-9]*)\\.([0-9]*)\\.([0-9]*)" "\\2" VERSION_MINOR ${version} )
Expand Down
2 changes: 1 addition & 1 deletion build/MakeRelease.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ echo off
IF [%1]==[] GOTO USAGE
IF NOT EXIST %1 GOTO USAGE

SET VERSION=2.59.0
SET VERSION=2.59.1
SET BUILD=%1
SET FAUSTGENVERSION=1.64
SET FAUSTLIVE=../../faustlive
Expand Down
2 changes: 1 addition & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ system := $(shell echo $(system) | grep MINGW > /dev/null && echo MINGW || echo
# output directories
FAUSTDIR ?= faustdir
IOSDIR := iosdir
VERSION := 2.59.0
VERSION := 2.59.1

#===============================================================
# current generator and backends
Expand Down
2 changes: 1 addition & 1 deletion compiler/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% man(1) Version 2.59.0 (14-April-2023) | Faust man page
% man(1) Version 2.59.1 (17-April-2023) | Faust man page

NAME
====
Expand Down
2 changes: 1 addition & 1 deletion documentation/compiler/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PROJECT_NAME = "FAUST compiler"
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 2.59.0
PROJECT_NUMBER = 2.59.1

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
2 changes: 1 addition & 1 deletion documentation/libfaust/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = libfaust
PROJECT_NUMBER = 2.59.0
PROJECT_NUMBER = 2.59.1
OUTPUT_DIRECTORY = .
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
Expand Down
2 changes: 1 addition & 1 deletion documentation/libfaustremote/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = libfaustremote
PROJECT_NUMBER = 2.59.0
PROJECT_NUMBER = 2.59.1
OUTPUT_DIRECTORY = .
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
Expand Down
2 changes: 1 addition & 1 deletion documentation/man/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% man(1) Version 2.59.0 (14-April-2023) | Faust man page
% man(1) Version 2.59.1 (17-April-2023) | Faust man page

NAME
====
Expand Down
2 changes: 1 addition & 1 deletion documentation/man/man-header.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% man(1) Version 2.59.0 (14-April-2023) | Faust man page
% man(1) Version 2.59.1 (17-April-2023) | Faust man page

NAME
====
Expand Down
2 changes: 1 addition & 1 deletion documentation/man/man1/faust.1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
. ftr VB CB
. ftr VBI CBI
.\}
.TH "man" "1" "" "Version 2.59.0 (14-April-2023)" "Faust man page"
.TH "man" "1" "" "Version 2.59.1 (17-April-2023)" "Faust man page"
.hy
.SH NAME
.PP
Expand Down
14 changes: 7 additions & 7 deletions examples/misc/autopan.dsp
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
//
// Where:
//
// * `amount`: Adjusts the amount of LFO modulation that is
// * `amount`: adjusts the amount of LFO modulation that is
// applied to incoming signals
// * `rate`: Sets the frequency of the LFO in Hertz.
// * `phase`: Adjusts the amount of the offset between the
// * `rate`: sets the frequency of the LFO in Hertz
// * `phase`: adjusts the amount of the offset between the
// waveforms for the left and right channel. At 180,
// the LFOs will be perfectly out of phase. For other
// values, you will hear more moments where the the
// overall volume is reduced.
// * `shape`: Turning `shape` up pushes the waveforms to their
// upper and lower limits, "hardening" their shape.
// values, you will hear more moments where the
// overall volume is reduced
// * `shape`: turning `shape` up pushes the waveforms to their
// upper and lower limits, "hardening" their shape
//------------------------------------------------------------
import("stdfaust.lib");

Expand Down
8 changes: 4 additions & 4 deletions windows/faust.rc
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,59,0,0
PRODUCTVERSION 2,59,0,0
FILEVERSION 2,59,1,0
PRODUCTVERSION 2,59,1,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -68,12 +68,12 @@ BEGIN
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "Faust compiler"
VALUE "FileVersion", "2, 59, 0, 0"
VALUE "FileVersion", "2, 59, 1, 0"
VALUE "InternalName", "Faust"
VALUE "LegalCopyright", "Copyright (C) 2009-2019 - Grame"
VALUE "OriginalFilename", "faust.exe"
VALUE "ProductName", "Faust"
VALUE "ProductVersion", "2, 59, 0, 0"
VALUE "ProductVersion", "2, 59, 1, 0"
END
END
BLOCK "VarFileInfo"
Expand Down
8 changes: 4 additions & 4 deletions windows/faustdll.rc
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,59,0,0
PRODUCTVERSION 2,59,0,0
FILEVERSION 2,59,1,0
PRODUCTVERSION 2,59,1,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -68,12 +68,12 @@ BEGIN
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "Faust compiler"
VALUE "FileVersion", "2, 59, 0, 0"
VALUE "FileVersion", "2, 59, 1, 0"
VALUE "InternalName", "Faust"
VALUE "LegalCopyright", "Copyright (C) 2009-2019 - Grame"
VALUE "OriginalFilename", "faust.exe"
VALUE "ProductName", "Faust"
VALUE "ProductVersion", "2, 59, 0, 0"
VALUE "ProductVersion", "2, 59, 1, 0"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 5667ff5

Please sign in to comment.