Update version numbers to 1.5.0

This commit is contained in:
Albrecht Schlosser 2025-03-06 18:16:03 +01:00
parent e2ca1a39c8
commit 191b33e0de
53 changed files with 69 additions and 111 deletions

View File

@ -1,50 +1,9 @@
FLTK 1.4 is based on the final release of FLTK 1.3.4. Later updates
have been backported to 1.3.5 - 1.3.11 and branch-1.3 (Git).
FLTK 1.5 is based on the release of FLTK 1.4.2. Later updates and
bug fixes may be backported to 1.4.x (x > 2).
FLTK 1.4 is intended to be mostly API compatible with FLTK 1.3.x so
you don't need to change source code when you switch to FLTK 1.4.
However, all programs must be recompiled with FLTK 1.4 because the
FLTK 1.5 is intended to be mostly API compatible with FLTK 1.4.x so
you don't need to change source code when you switch to FLTK 1.5.
However, all programs must be recompiled with FLTK 1.5 because the
ABI (Application Binary Interface) has changed.
Potential source code conflicts are documented in chapter "Migrating
Code from FLTK 1.3 to 1.4" of the user documentation [1].
FLTK 1.4 adds some new widgets (e.g. Fl_Flex, Fl_Grid) for flexible GUI
layout, Fl_Scheme_Choice for scheme selection by users, and more.
Other widgets (Fl_Tabs, Fl_Tile, Fl_Spinner etc.) have been improved
for better user experience.
FLTK 1.4 supports HighDPI displays under Linux/Unix and Windows and
improves HighDPI support on macOS. The initial screen scaling factor is
read from the system and application windows can be zoomed (in/out/reset)
by the user with ctrl/+/-/0 shortcuts, respectively.
CMake support has been improved significantly and requires CMake 3.15 or
higher, autotools/configure/make is still supported. The latter will be
dropped in the next minor release (1.5.0).
macOS is supported up to 15.3 "Sequoia".
The platform dependent code in FLTK 1.4 was rewritten to enable easier
porting to new platforms. Basically all platform dependent code has
been isolated and implemented in virtual methods of "driver" classes.
For details see 'src/drivers' and subdirectories.
FLTK is now compatible with the Wayland platform on current Linux
distributions and FreeBSD. The default build of the library on these
platforms supports both X11 and Wayland in a "hybrid" library. Programs
compiled and linked to this library start using Wayland if it is
available at runtime and fall back to using X11 if not. Programs using
X11 specific code that are not yet ported to Wayland can still be used
on pure X11 systems or by disabling the Wayland support on startup so
they fall back to using X11 only. This requires 'XWayland' support on
Wayland enabled (Linux) systems.
The current development branch on GitHub [2] is `master`. This will be
changed to `branch-1.4` when development of FLTK 1.5.0 begins and 1.4
will be switched to maintenance mode.
[1] https://www.fltk.org/doc-1.4/ (HTML) and
https://www.fltk.org/doc-1.4/fltk.pdf (PDF)
[2] https://github.com/fltk/fltk.git
More info TBD.

View File

@ -19,13 +19,10 @@
# Set CMake minimum version first: must be set before `project()`
#######################################################################
# Minimum CMake version required by FLTK 1.4
# Minimum CMake version required by FLTK 1.5
# Note 1: Linking against OBJECT libraries (fluid, test) requires
# at least CMake 3.12.0
# Note 2: Used in fluid since 05/2023,
# used for Windows (MSVC) shared lib builds much earlier
# Note 3: More modern CMake features require 3.13...3.15 (Nov 2023)
# Note 1: Currently the same as for FLTK 1.4.x but will likely be raised
# depending on new features introduced in FLTK 1.5.
cmake_minimum_required(VERSION 3.15.0 FATAL_ERROR)
@ -36,7 +33,7 @@ cmake_minimum_required(VERSION 3.15.0 FATAL_ERROR)
# define the FLTK project and version
#######################################################################
project(FLTK VERSION 1.4.2)
project(FLTK VERSION 1.5.0)
#######################################################################
# include macro and function definitions for general usage
@ -60,7 +57,8 @@ endif()
# Set FLTK_VERSION in the cache so user projects can access it,
# for instance if FLTK is built as a subproject (FetchContent)
set(FLTK_VERSION ${FLTK_VERSION} CACHE STRING "FLTK version" FORCE)
set(FLTK_VERSION ${FLTK_VERSION} CACHE STRING
"FLTK version: generated, do not change" FORCE)
#######################################################################
# basic setup

View File

@ -36,7 +36,8 @@
# include "fl_types.h"
# include <FL/platform_types.h> // for FL_COMMAND and FL_CONTROL
// Current FLTK version: 1.4.2
// Keep the following comment in sync with the values below for searching
// Current FLTK version: 1.5.0
/** \name Version Numbers
@ -58,14 +59,14 @@
FLTK remains mostly source-code compatible between minor version changes.
*/
#define FL_MINOR_VERSION 4
#define FL_MINOR_VERSION 5
/**
The patch version for this library.
FLTK remains binary compatible between patches.
*/
#define FL_PATCH_VERSION 2
#define FL_PATCH_VERSION 0
/**
The FLTK version number as a \em double.

View File

@ -21,7 +21,7 @@
// =======================================================================
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#ifndef Fl_File_Chooser_H
#define Fl_File_Chooser_H

View File

@ -21,7 +21,7 @@
// ========================================================================
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#ifndef Fl_Help_Dialog_H
#define Fl_Help_Dialog_H

View File

@ -1,4 +1,4 @@
# README - Fast Light Tool Kit (FLTK) Version 1.4.2
# README - Fast Light Tool Kit (FLTK) Version 1.5.0
## WHAT IS FLTK?

View File

@ -1,4 +1,4 @@
README - Fast Light Tool Kit (FLTK) Version 1.4.2
README - Fast Light Tool Kit (FLTK) Version 1.5.0
-------------------------------------------------
WHAT IS FLTK?

View File

@ -8,7 +8,7 @@
\image latex FL200.png "" width=5cm
</CENTER></TD>
<TD><CENTER>
<B>FLTK 1.4.2 Programming Manual</B>
<B>FLTK 1.5.0 Programming Manual</B>
By F.&nbsp;Costantini, M.&nbsp;Melcher,
A.&nbsp;Schlosser, B.&nbsp;Spitzak and M.&nbsp;Sweet.

View File

@ -2,7 +2,7 @@
\page preface Preface
This manual describes the Fast Light Tool Kit ("FLTK") version 1.4.2,
This manual describes the Fast Light Tool Kit ("FLTK") version 1.5.0,
a C++ Graphical User Interface ("GUI") toolkit for UNIX, Microsoft Windows,
and Apple macOS.

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
comment {README FIRST

View File

@ -9,7 +9,7 @@
<key>CFBundleIdentifier</key>
<string>org.fltk.fltk-options</string>
<key>CFBundleVersion</key>
<string>1.4.2</string>
<string>1.5.0</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>NSHumanReadableCopyright</key>
@ -25,9 +25,9 @@
<key>CFBundleIconFile</key>
<string>fltk-options.icns</string>
<key>CFBundleShortVersionString</key>
<string>1.4.2</string>
<string>1.5.0</string>
<key>CFBundleGetInfoString</key>
<string>1.4.2, Copyright 2023-2025 by Bill Spitzak and others</string>
<string>1.5.0, Copyright 2023-2025 by Bill Spitzak and others</string>
<key>NSHighResolutionCapable</key>
<true/>
</dict>

View File

@ -1 +1 @@
1.4.2
1.5.0

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#include "about_panel.h"
void show_help(const char *name);

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
comment {//

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#ifndef about_panel_h
#define about_panel_h

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#include "codeview_panel.h"
#include "fluid.h"

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
comment {//

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#ifndef codeview_panel_h
#define codeview_panel_h

View File

@ -14,7 +14,7 @@
\image latex fluid-128.png "" width=3cm
</CENTER></TD>
<TD><CENTER>
<B>FLUID 1.4.2 User Manual</B>
<B>FLUID 1.5.0 User Manual</B>
By F.&nbsp;Costantini, M.&nbsp;Melcher,
A.&nbsp;Schlosser, B.&nbsp;Spitzak and M.&nbsp;Sweet.

View File

@ -9,7 +9,7 @@
<key>CFBundleIdentifier</key>
<string>org.fltk.fluid</string>
<key>CFBundleVersion</key>
<string>1.4.2</string>
<string>1.5.0</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>NSHumanReadableCopyright</key>
@ -25,9 +25,9 @@
<key>CFBundleIconFile</key>
<string>fluid.icns</string>
<key>CFBundleShortVersionString</key>
<string>1.4.2</string>
<string>1.5.0</string>
<key>CFBundleGetInfoString</key>
<string>1.4.2, Copyright 1998-2025 by Bill Spitzak and others</string>
<string>1.5.0, Copyright 1998-2025 by Bill Spitzak and others</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#include "function_panel.h"
#include "fluid.h"

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
snap {

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#ifndef function_panel_h
#define function_panel_h

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#include "print_panel.h"
#include "fluid.h"

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
comment {//

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#ifndef print_panel_h
#define print_panel_h

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#include "settings_panel.h"
#include "undo.h"

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
snap {

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#ifndef settings_panel_h
#define settings_panel_h

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#include "template_panel.h"
#include "fluid.h"

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
comment {//

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#ifndef template_panel_h
#define template_panel_h

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#include "widget_panel.h"
#include "undo.h"

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
snap {

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#ifndef widget_panel_h
#define widget_panel_h

View File

@ -21,7 +21,7 @@
// =======================================================================
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#include "../FL/Fl_File_Chooser.H"
#include <FL/fl_draw.H>

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {../FL/Fl_File_Chooser.H}
code_name {.cxx}
comment {//

View File

@ -21,7 +21,7 @@
// ========================================================================
//
// generated by Fast Light User Interface Designer (fluid) version 1.0402
// generated by Fast Light User Interface Designer (fluid) version 1.0500
#include "../FL/Fl_Help_Dialog.H"
#include <FL/Fl_Shared_Image.H>

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {../FL/Fl_Help_Dialog.H}
code_name {.cxx}
comment {//

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
class CubeViewUI {open

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
comment {//

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
Function {} {open

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
Function {} {open

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
Function {make_window()} {open

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
decl {\#include "mandelbrot.h"} {public local

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
i18n_type 1
i18n_include {<stdio.h>}
i18n_conditional {}

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
Function {button_cb(Fl_Button *b, void *)} {

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
Function {} {open

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
Function {} {open

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
utf8_in_src
header_name {.h}
code_name {.cxx}

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
decl {\#include <stdio.h>} {public global

View File

@ -1,5 +1,5 @@
# data file for the Fltk User Interface Designer (fluid)
version 1.0401
version 1.0500
header_name {.h}
code_name {.cxx}
Function {} {open