| 1 |
CHANGES IN FLTK 1.3.11 RELEASED: Feb 05 2025 |
| 2 |
|
| 3 |
FLTK 1.3.11 is a maintenance release with fixes and enhancements. |
| 4 |
No further releases are planned for the 1.3.x series. Please |
| 5 |
consider updating to FLTK 1.4 or higher. |
| 6 |
|
| 7 |
Details: |
| 8 |
|
| 9 |
Fix potential crash when backspace is typed in a menu (#1155) |
| 10 |
Fluid: output version for -v and --version command line args |
| 11 |
Fix Fl_Table_Row inconsistencies (#1187) |
| 12 |
Fix "Full screen broken on macOS in FLTK 1.3.10" (#1192), |
| 13 |
improve transitions between fullscreen modes |
| 14 |
Fix potential buffer overflow in Fl_Help_View (#1196) |
| 15 |
Fix crash in test/fullscreen under macOS |
| 16 |
Release 1.3.11 |
| 17 |
|
| 18 |
|
| 19 |
CHANGES IN FLTK 1.3.10 RELEASED: Nov 16 2024 |
| 20 |
|
| 21 |
FLTK 1.3.10 is a maintenance release with some fixes and enhancements. |
| 22 |
|
| 23 |
Highlights in this release: |
| 24 |
|
| 25 |
This release includes some new inline methods that were added in 1.4.0 |
| 26 |
to prepare user code for the migration to 1.4.0. These are mainly |
| 27 |
methods with new names that replace methods which are deprecated in |
| 28 |
FLTK 1.4 and would issue compiler warnings if used in 1.4.0. Using the |
| 29 |
new method names in user code makes it possible to write code that is |
| 30 |
compatible with both 1.3.10 and 1.4.x w/o compiler warnings. |
| 31 |
|
| 32 |
CMake: The new file 'FLTKConfig.cmake' (generated by CMake builds only) |
| 33 |
can be used in user CMake projects to find the correct FLTK config file |
| 34 |
for the required FLTK version (1.3 or 1.4). |
| 35 |
|
| 36 |
Details: |
| 37 |
|
| 38 |
Adam Halim: |
| 39 |
Backport support for mouse buttons 4 + 5 (#1076, #1068) |
| 40 |
|
| 41 |
Albrecht Schlosser: |
| 42 |
Add missing FL_EXPORT of class Fl_XFont_On_Demand (#922) |
| 43 |
Fix a bunch of compiler warnings (backported from 'master') |
| 44 |
Bump version numbers from 1.3.9 to 1.3.10 |
| 45 |
Update bundled libraries |
| 46 |
Fl_File_Chooser: set insert position to end of string (#1004) |
| 47 |
... after filename "expansion" with current directory |
| 48 |
Remove unused function after commit f323257cbc59c9ae |
| 49 |
CMake: improve FLTKConfig.cmake[.in] (#898) |
| 50 |
CMake: add FLTKConfigVersion.cmake |
| 51 |
Implement missing Fl_Single_Window::make_current() |
| 52 |
Keep sending FL_DRAG until all mouse buttons are released |
| 53 |
Fix doxygen warning |
| 54 |
Finish "Backport support for mouse buttons 4+5" (#1076, #1068) |
| 55 |
|
| 56 |
ManoloFLTK: |
| 57 |
Fix "FLTK on NetBSD very slow on X11 with Unicode locale" (#935) |
| 58 |
macOS: let fullscreen windows have access to the system menubar |
| 59 |
Simplify creation of OpenGL contexts under X11 platform (#1005) |
| 60 |
Crash in macOS when switching fullscreen window between displays (#1022) |
| 61 |
macOS: fix "Fl_Window::cursor(...) does not work reliably on some platforms" (#1082) |
| 62 |
X11: fix test/gl_overlay stale overlay rendering (#1111) |
| 63 |
|
| 64 |
Matthias Melcher: |
| 65 |
Fix Fl_Shared_Image refcount (#877) |
| 66 |
Fix crash in Fl_Preferences for deformed group name (#891) |
| 67 |
Fix shared image handling in file chooser (#887) |
| 68 |
Fix OpenGL context caching on macOS (#737) |
| 69 |
macOS: Fix color component mixup in gl_draw text rendering (#947) |
| 70 |
|
| 71 |
|
| 72 |
CHANGES IN FLTK 1.3.9 RELEASED: Dec 09 2023 |
| 73 |
|
| 74 |
FLTK 1.3.9 is a maintenance release with some fixes and enhancements. |
| 75 |
|
| 76 |
Highlights in this release: |
| 77 |
|
| 78 |
- Support macOS up to macOS 14 "Sonoma". |
| 79 |
- Update bundled libraries to current versions (see below). |
| 80 |
- Introduce bundled image library "prefixing" to avoid conflicts |
| 81 |
with system libraries. |
| 82 |
- New CMake option FLTK_MSVC_RUNTIME_DLL to select Visual Studio |
| 83 |
Runtime version: DLL (/MDx) or static (/MTx), see README.CMake.txt |
| 84 |
|
| 85 |
Bundled library versions (see also README.bundled-libs.txt): |
| 86 |
|
| 87 |
Library Version Release date |
| 88 |
--------------------------------------------- |
| 89 |
jpeg jpeg-9e 2022-01-16 |
| 90 |
png libpng-1.6.40 2023-06-21 |
| 91 |
zlib zlib-1.3 2023-08-18 |
| 92 |
|
| 93 |
Details: |
| 94 |
|
| 95 |
Albrecht Schlosser: |
| 96 |
Backport X11 INCR protocol fixes from 1.4.0 (issue #451) |
| 97 |
X11: Suppress compiler warnings when using gcc or clang |
| 98 |
Fix crash if a program exits before it opens a window (STR 3484). |
| 99 |
Fix compilation error with current Visual Studio 2022 |
| 100 |
Windows: #define WIN32 if not defined by user |
| 101 |
Backport warning fixes from 1.4.0 in src/fl_draw.cxx (#693) |
| 102 |
Fix compiler warning as pointed out in PR #693 |
| 103 |
Fix another compiler warning (#693) |
| 104 |
Remove unused variable, fix "type issue" (#445, part 2) |
| 105 |
Fix stack buffer overflow found by address sanitizer |
| 106 |
Fix "gtk+ rendering" (GitHub Issue #443) |
| 107 |
Fix doxygen warnings |
| 108 |
Bump version numbers, prepare release 1.3.9 |
| 109 |
Fix several compiler warnings |
| 110 |
Update bundled image libraries and zlib to current versions |
| 111 |
Update README, README.CMake.txt, and some support files |
| 112 |
Fix compiler warnings: backported from 1.4 (git 'master') |
| 113 |
CMake/MSVC: remove confusing recommendation to rerun CMake |
| 114 |
Documentation: remove dark color on title page |
| 115 |
Raise CMake minimum required version to 3.15 and more |
| 116 |
|
| 117 |
ManoloFLTK: |
| 118 |
macOS platform: Issue #325 "Disabling IM disables Greek and Cyrillic layouts" |
| 119 |
Fix fullscreen window level corner cases on macOS |
| 120 |
Fix issue #373 apparent with macOS platform and SDK ≤ 10.13 |
| 121 |
Issue #452: Fl::get_font_name failure on OS-X. |
| 122 |
Issue #454: crash in Fl::get_font_name(). |
| 123 |
Issue #469: Fl_Sys_Menu_Bar menu item shortcuts using Esc or Tab don't work on Mac |
| 124 |
Fix "Focus is lost leaving full screen on macOS 13" (#608) |
| 125 |
Add support of macOS Ventura 13.0 and macOS Sonoma 14.0 |
| 126 |
macOS: remove configure option --enable-x11 and CMake OPTION_APPLE_X11; |
| 127 |
this functionality remains in FLTK 1.4. |
| 128 |
configure.ac: make sure local-png and local-zlib always run together |
| 129 |
Remove the -mwindows argument from CFLAGS and CXXFLAGS |
| 130 |
|
| 131 |
Matthias Melcher: |
| 132 |
Issue #188: Fix reference counts and search for Fl_Shared_Image original |
| 133 |
|
| 134 |
YX: |
| 135 |
Fix IME problem (issue #270) |
| 136 |
|
| 137 |
|
| 138 |
CHANGES IN FLTK 1.3.8 RELEASED: Nov 20 2021 |
| 139 |
|
| 140 |
FLTK 1.3.8 is a maintenance release with some fixes and enhancements. |
| 141 |
|
| 142 |
Details: |
| 143 |
|
| 144 |
Albrecht Schlosser: |
| 145 |
Make "FLTK_CONSOLIDATE_MOTION" user-definable (issue #76) |
| 146 |
Fix compiler warnings (backported from 1.4) |
| 147 |
Add new dialog fl_choice_n() with extended return values (#282) |
| 148 |
|
| 149 |
ManoloFLTK: |
| 150 |
Account for deprecation of [NSBitmapImageRep initWithFocusedViewRect:] |
| 151 |
in macOS 10.14 |
| 152 |
macOS: fix fullscreen window when other windows were created before |
| 153 |
Fix issue #287: "FLTK 1.3.6 doesn't handle fullscreen on macOS" |
| 154 |
Fix issue #288: "FLTK 1.3.6+ doesn't notify window movement on macOS" |
| 155 |
Fix issue #279: "HiDpi issue on macOS with retina display" |
| 156 |
macOS: Allow building with non-Apple compiler that may not support blocks |
| 157 |
|
| 158 |
|
| 159 |
CHANGES IN FLTK 1.3.7 RELEASED: Jul 25 2021 |
| 160 |
|
| 161 |
FLTK 1.3.7 is a maintenance release for macOS only. It fixes one |
| 162 |
regression introduced in FLTK 1.3.6 and two long standing timer |
| 163 |
issues on macOS. |
| 164 |
|
| 165 |
Other platforms than macOS are not concerned. |
| 166 |
|
| 167 |
Changes: |
| 168 |
|
| 169 |
Avoid premature FL_RELEASE event at start of drag-n-drop operation |
| 170 |
Fix a timer inconsistency and prevent a crash |
| 171 |
Fl::add_timeout() must always create a new timer (#248) |
| 172 |
|
| 173 |
|
| 174 |
|
| 175 |
CHANGES IN FLTK 1.3.6 RELEASED: May 15 2021 |
| 176 |
|
| 177 |
There have been no changes since FLTK 1.3.6rc2. |
| 178 |
|
| 179 |
|
| 180 |
CHANGES IN FLTK 1.3.6rc2 RELEASED: May 04 2021 |
| 181 |
|
| 182 |
FLTK 1.3.6rc2 fixes some minor issues of 1.3.6rc1, particularly macOS |
| 183 |
bundle generation. It addresses an issue that bundles can't be executed |
| 184 |
on macOS 11.3 Big Sur if built with configure/make after downloading |
| 185 |
the release tarball because of the macOS "quarantine" feature. |
| 186 |
|
| 187 |
Details: |
| 188 |
|
| 189 |
Albrecht Schlosser: |
| 190 |
Rename file 'VERSION' to 'fltk_version.dat' (#191) |
| 191 |
Fix version number in doxygen docs |
| 192 |
Fix build with Cairo for CMake < 3.13 |
| 193 |
CMake: fix old (pre 3.13) link_directories() usage |
| 194 |
Enhance CMake build configuration summary |
| 195 |
Refactor macOS bundle generation to avoid "quarantine" |
| 196 |
Fix a new compiler warning |
| 197 |
|
| 198 |
|
| 199 |
CHANGES IN FLTK 1.3.6rc1 RELEASED: Apr 26 2021 |
| 200 |
|
| 201 |
FLTK 1.3.6 is a maintenance release with new macOS Big Sur support |
| 202 |
and some bug fixes. macOS Big Sur is supported on both Intel and the |
| 203 |
new Apple Silicon (M1) chips. |
| 204 |
|
| 205 |
CMake support has been improved but is not yet "perfect". Documentation |
| 206 |
has been enhanced, bundled image libraries have been updated to current |
| 207 |
versions. |
| 208 |
|
| 209 |
The following lists are subsets of all commits. References in '(...)' |
| 210 |
are either STR numbers (STR xxxx) or GitHub Issues or Pull Requests |
| 211 |
(#nnn). |
| 212 |
|
| 213 |
|
| 214 |
Bug fixes and other improvements |
| 215 |
|
| 216 |
Albrecht Schlosser: |
| 217 |
Fix Fl::add_timeout() in draw() under Linux (STR 3188) |
| 218 |
X11: Fix X Input Methods (XIM) (STR 3502, 3192) |
| 219 |
Fix overly restrictive JPEG filter (#81) |
| 220 |
Fix DND in read-only Fl_Input (Fl_Output) (#113) |
| 221 |
Fix offscreen drawing under X11 (STR 3384) |
| 222 |
Fix potential fluid crashes (STR 3420) + memory leak |
| 223 |
Fix X11 copy-paste and drag-and-drop target selection (#182) |
| 224 |
Fix CMake install procedure (#212) |
| 225 |
Avoid "Bogus FL_MOVE/FL_DRAG events" (#76) |
| 226 |
CMake: Document FLTKConfig.cmake and set FLTK_INCLUDE_DIR |
| 227 |
|
| 228 |
Greg Ercolano: |
| 229 |
Fix issue92, added -d debug flag to fluid (#92) |
| 230 |
Merge pull request #176 from ComputerNerd/errmsg-fix-13 |
| 231 |
|
| 232 |
ManoloFLTK: |
| 233 |
X11: add support for copy+paste of image within one app |
| 234 |
Windows: add bitmap version of graphics when copying to clipboard |
| 235 |
Fix use of Xrender extension with old, 16-bit framebuffers. |
| 236 |
Fix for Fl_Native_File_Chooser under macOS 10.15 Catalina and ... |
| 237 |
Restore macOS capacity to turn window fullscreen encompassing several screens. |
| 238 |
Improve Fl_Copy_Surface under macOS |
| 239 |
Set OPTION_USE_SYSTEM_LIBPNG/JPEG off under macOS by default |
| 240 |
Have Fl_Pack::draw() call Fl_Group::init_sizes() on its parent group. |
| 241 |
CMake support of the Darwin+XQuartz test platform |
| 242 |
Add support of macOS "Big Sur" 11.0 |
| 243 |
Fix when building with SDK 10.15 and running with 11.0 Big Sur |
| 244 |
Backport fix for issue #185 "Shared Image reload() loses initial dimensions" from branch 1.4 |
| 245 |
Fix fl_endpoints() for macOS platform that was not effective. |
| 246 |
Fix stack corruption when loading GIF (pull request #200) |
| 247 |
Restore ./configure --enable-x11 on macOS |
| 248 |
Fix crash when terminating any macOS app by cmd-Q |
| 249 |
|
| 250 |
OKAMURA, Yasunobu: |
| 251 |
Fix JIS Keyboard dead keys |
| 252 |
|
| 253 |
|
| 254 |
CHANGES IN FLTK 1.3.5 RELEASED: Mar 03 2019 |
| 255 |
|
| 256 |
Bug fixes and other improvements |
| 257 |
|
| 258 |
- Updated CHANGES for release, removed one wrong entry |
| 259 |
|
| 260 |
|
| 261 |
CHANGES IN FLTK 1.3.5rc2 RELEASED: Feb 17 2019 |
| 262 |
|
| 263 |
Bug fixes and other improvements |
| 264 |
|
| 265 |
- Fix Xcode FLTK project for use under macOS 10.14 |
| 266 |
|
| 267 |
|
| 268 |
CHANGES IN FLTK 1.3.5rc1 RELEASED: Feb 11 2019 |
| 269 |
|
| 270 |
New features and enhancements (highlights) |
| 271 |
|
| 272 |
- Add support for macOS 10.13 "High Sierra" and 10.14 "Mojave". |
| 273 |
- Add FL/platform.H for compatibility with FLTK 1.4 and higher. |
| 274 |
- Improve OpenGL(3+) support. |
| 275 |
- Improve Cairo support and (CMake) Cairo detection. |
| 276 |
|
| 277 |
Bug fixes and other improvements |
| 278 |
|
| 279 |
- Fix for STR 3473 (and its duplicate STR 3507) to restore configure-based |
| 280 |
builds on recent Linux/Unix distributions where the freetype-config |
| 281 |
command has been replaced by pkg-config. |
| 282 |
- Fix Fl_Tree::insert() with pos out ouf range (issue #18). |
| 283 |
- Fix Fl_GIF_Image Color Table handling (STR 3491). |
| 284 |
- Make sure not to access Fl_Menu_ widgets if the widget gets |
| 285 |
deleted while the menu (pulldown) is open (STR 3503). |
| 286 |
- Fix CMake build (fluid) on case sensitive macOS file systems. |
| 287 |
- Windows/OpenGL: improve pixel format detection (STR 3119). |
| 288 |
- Add support for macOS 10.14 "Mojave": all drawing to windows is done |
| 289 |
through "layer-backed views" when the app is linked to SDK 10.14. |
| 290 |
- MacOS platform: fix regression in macOS 10.13 where an unbundled app |
| 291 |
had its system menu bar unresponsive. |
| 292 |
- MacOS 10.10 platform: Fl_Window::fullscreen() and fullscreen_off() |
| 293 |
no longer call Fl_Window::hide() + Fl_Window::show(). |
| 294 |
The new procedure essentially resizes the window, as done on |
| 295 |
the X11+EWMH and Windows platforms. This improves in particular |
| 296 |
the possibility to turn an Fl_Gl_Window fullscreen on and off. |
| 297 |
- MacOS platform: Support \r\n as end of line used by recent |
| 298 |
MS Office apps in clipboard. |
| 299 |
- Fix Fl_Text_Editor overstrike mode (STR 3463). |
| 300 |
- More consistent and optimized "gleam" scheme box drawing. |
| 301 |
- Fix a MinGW build error with new MinGW versions as of Feb 2018 |
| 302 |
(undefined S_OK and __FD_ISSET), see STR 3454. |
| 303 |
- Windows/CMake: Add missing definition of WIN32 for Windows builds. |
| 304 |
This seems to be necessary for VS2017 and other compilers that |
| 305 |
don't #define WIN32, but FLTK relies on this preprocessor macro. |
| 306 |
Autoconf/configure and bundled IDE files #define WIN32 as well. |
| 307 |
- Fix illegal memory access after free when closing fluid (valgrind |
| 308 |
reports "Invalid read of size 4"), see also STR 3427. |
| 309 |
- Fix crash when closing fluid with Fl_Table (STR 3427). |
| 310 |
- Fix ignored buffer pre-allocation (requestedSize) in Fl_Text_Buffer. |
| 311 |
See fltk.general "Fl_Text_Buffer constructor bug" on Dec 5, 2016. |
| 312 |
- Fix Fl_Browser background and text color parsing (STR 3376). |
| 313 |
- Fix Windows CreateDC/DeleteDC mismatch (STR 3373). |
| 314 |
- Update bundled configure scripts config.guess and config.sub. |
| 315 |
- Fix configure --enable-cairo --enable-cairoext, |
| 316 |
see report in fltk.general: |
| 317 |
https://groups.google.com/forum/#!topic/fltkgeneral/x80qQ6wt0s4 |
| 318 |
- Fix macOS timer implementation (STR 3387). |
| 319 |
- Fix drop-to-FLTK-widget under MSWindows when the desktop is |
| 320 |
rescaled (STR 3390). |
| 321 |
- Add support for macOS 10.13 "High Sierra". Subwindows don't |
| 322 |
move correctly under 10.13 without this fix. |
| 323 |
|
| 324 |
|
| 325 |
CHANGES IN FLTK 1.3.4-1 RELEASED: Nov 15 2016 |
| 326 |
|
| 327 |
Bug fixes and other improvements |
| 328 |
|
| 329 |
- Fix Windows IDE solutions VisualC2008 and VisualC2010 to |
| 330 |
build properly if the FLTK source directory is located |
| 331 |
in a path that contains spaces. |
| 332 |
|
| 333 |
Note: this is a source tar file update that is only necessary |
| 334 |
if you build one of the above mentioned Visual Studio IDE |
| 335 |
solutions in a path with spaces. Nothing else changed, no |
| 336 |
documentation updates. |
| 337 |
|
| 338 |
|
| 339 |
CHANGES IN FLTK 1.3.4 RELEASED: Nov 11 2016 |
| 340 |
|
| 341 |
Bug fixes and other improvements |
| 342 |
|
| 343 |
- Fix test/native-filechooser help display artifact (STR #3349). |
| 344 |
- MacOS: fix a crash when closing a fullscreen window. |
| 345 |
- Accept empty Fl_Pixmap in Fl_RGB_Image c'tor (STR #3348). |
| 346 |
- MacOS: fix drawing error when a window containing a hidden subwindow |
| 347 |
is changed to fullscreen (error visible with the tabs test program). |
| 348 |
- MacOS: fix possible crash when enabling fullscreen in test/scroll. |
| 349 |
- Add a snapshot of known STR's and RFE's (KNOWN_BUGS.html). |
| 350 |
|
| 351 |
CHANGES IN FLTK 1.3.4rc3 RELEASED: Oct 31 2016 |
| 352 |
|
| 353 |
Bug fixes and other improvements |
| 354 |
|
| 355 |
- Fix string truncation in fluid (STR #2722 continued). |
| 356 |
- MacOS: fix a small problem where the Command-Quit menu hotkey |
| 357 |
may not work if Fl_Native_File_Chooser is used before any |
| 358 |
window is shown. |
| 359 |
|
| 360 |
|
| 361 |
CHANGES IN FLTK 1.3.4rc2 RELEASED: Oct 24 2016 |
| 362 |
|
| 363 |
Bug fixes and other improvements |
| 364 |
|
| 365 |
- Make sure the "File Systems" menu item of Fl_File_Chooser |
| 366 |
lists "/" as the first mounted file system (Linux/Unix platform). |
| 367 |
- Added line numbers to fluid Edit -> Show Source Code viewer. |
| 368 |
- Improved fluid's template handling (STR #3335). |
| 369 |
|
| 370 |
|
| 371 |
CHANGES IN FLTK 1.3.4rc1 RELEASED: Oct 17 2016 |
| 372 |
|
| 373 |
New features and extensions |
| 374 |
|
| 375 |
- Added support for Mac OS 10.11 "El Capitan" and 10.12 "Sierra". |
| 376 |
- Added full support of true subwindows to the Mac OS X platform. |
| 377 |
Window nesting to any depth is possible. An Fl_Gl_Window window or |
| 378 |
subwindow can contain Fl_Window's as subwindows. |
| 379 |
- Fluid now supports external editors (STR #3213) |
| 380 |
See: Edit -> GUI Settings -> Use external editor |
| 381 |
- Added method Fl_Widget::is_label_copied(). |
| 382 |
- Added methods Fl_Copy_Surface::w(), Fl_Copy_Surface::h(), |
| 383 |
and Fl_Copy_Surface::draw_decorated_window(). |
| 384 |
- Added method Fl_Image_Surface::draw_decorated_window(). |
| 385 |
- Added method Fl_Shared_Image *Fl_Image_Surface::highres_image() |
| 386 |
to draw into a high-resolution bitmap image (Mac OS X only). |
| 387 |
- Added support for OpenGL version 3 and later. |
| 388 |
- Added method Fl_Mac_App_Menu::custom_application_menu_items() |
| 389 |
allowing customization of the application menu (Mac OS X only). |
| 390 |
- Added 'fluid -u' command-line switch to upgrade fluid files in |
| 391 |
batch mode. This option opens a fluid ('.fl') file and saves it |
| 392 |
overwriting the old file with the current syntax and library version |
| 393 |
number. Use with care (input file is overwritten unconditionally). |
| 394 |
- Added FL_ZOOM_GESTURE gesture for OS X (only). Needs implementation |
| 395 |
on other platforms. |
| 396 |
- Added FL_ABI_VERSION, FL_API_VERSION, Fl::abi_version(), and |
| 397 |
Fl::api_version(). Constants can be used to determine the compiled |
| 398 |
FLTK version. Functions can be used to find the linked library version. |
| 399 |
- Added Fl::abi_check() method to test if the runtime (linked) |
| 400 |
ABI version is correct. |
| 401 |
- Added Fl_Image::fail() to test if an image was loaded successfully |
| 402 |
to allow for easier error detection when loading images (STR #2873). |
| 403 |
- Added line numbers to fluid's source code viewer for New -> Code |
| 404 |
|
| 405 |
New configuration options (ABI version) |
| 406 |
|
| 407 |
- FLTK's ABI version can now be configured with 'configure', CMake, or |
| 408 |
by editing a supplied file when using the bundled IDE projects. |
| 409 |
See documentation in README.abi-version.txt. |
| 410 |
|
| 411 |
1.3.4 ABI FEATURES |
| 412 |
|
| 413 |
- Added deactivated user icon to Fl_Tree. |
| 414 |
- Added Fl_Shared_Image::scale(width, height) which gives a shared |
| 415 |
image its own drawing size, independently of the size of the |
| 416 |
underlying image. This improves image drawing on high resolution |
| 417 |
surfaces such as Laser printers, PDF files, and Apple retina displays. |
| 418 |
|
| 419 |
Other improvements |
| 420 |
|
| 421 |
- Configure now correctly sets HAVE_* variables only if both the |
| 422 |
library and the header files were found. The configuration process |
| 423 |
is aborted if Xft was requested explicitly with --enable-xft and |
| 424 |
Xft was not found. The configuration summary now shows _found_ |
| 425 |
options as opposed to requested options. |
| 426 |
- Improved drawing of rounded box (STR #2943). |
| 427 |
- Full support of Apple 'retina' displays for which one drawing unit |
| 428 |
corresponds to two pixels. |
| 429 |
- The Mac OS X platform no longer uses the deprecated AGL |
| 430 |
(Apple GL library) to draw OpenGL data. Instead, it uses standard |
| 431 |
Cocoa APIs. This allows FLTK to support drawing GL scenes at high |
| 432 |
resolution when an Fl_Gl_Window is mapped to a 'retina' display. |
| 433 |
- Added Fl_Gl_Window::pixel_w(), Fl_Gl_Window::pixel_h(), and |
| 434 |
Fl_Gl_Window::pixels_per_unit() useful for high resolution OpenGL windows. |
| 435 |
- fl_read_image() now captures all pixels within the rectangle |
| 436 |
described by its arguments, whether they belong to a GL scene |
| 437 |
or not (STR #3142). It also captures subwindows of GL windows. |
| 438 |
- Fl::delete_widget() now hides the widget or window immediately |
| 439 |
(i.e. when called) - only destruction is delayed as before. |
| 440 |
- FLTK header files don't expose X11 definitions in user code any more |
| 441 |
unless requested by including FL/x.H explicitly or implicitly. |
| 442 |
- The PostScript code output when printing images under Linux/Unix |
| 443 |
is now much smaller by using lossless compression techniques. |
| 444 |
- The Linux/Unix printer dialog now uses BSD-style printing commands |
| 445 |
(lpr/lpq) when SystemV-style commands (lp/lpstat) are not available. |
| 446 |
- Drawing alpha-blended images under X11 is now accelerated with |
| 447 |
Xrender. |
| 448 |
- The font used for the FL_COURIER font family was changed on the Mac OS X |
| 449 |
platform from 'Courier New' to 'Courier' because it was too thin. |
| 450 |
- Text drawing on the Mac platform supports Unicode 'variation selectors' |
| 451 |
in the range [0xFE00-0xFE0F]. |
| 452 |
- Added a Mac OS implementation of Fl_Window::wait_for_expose() that |
| 453 |
became necessary with Mac OS 10.10 "Yosemite". |
| 454 |
- Added the libfltk target to the Xcode project producing a static |
| 455 |
version of the FLTK library (Mac OS X). |
| 456 |
- Restored the possibility to call Fl::set_font() before main() starts. |
| 457 |
- Allow using the --enable-x11 configure option on the Mac OS platform |
| 458 |
which produces an X11 version of the FLTK library (don't use unless |
| 459 |
you know what you're doing). |
| 460 |
- FLTK code and fluid-generated code can be used in static initializers. |
| 461 |
- Added light gray separator line to fluid's widget browser (STR #2997). |
| 462 |
- Improved tooltip behavior for huge tooltips: remove flicker, support |
| 463 |
key/mouse dismiss (STR #2650). |
| 464 |
- Modifier key names displayed in shortcut labels can now be localized. |
| 465 |
See documentation of fl_shortcut_label(). You can set modifier key |
| 466 |
names for Ctrl, Alt, Shift, and Meta by assigning global string |
| 467 |
pointers to your translated modifier key names. |
| 468 |
- Many documentation improvements and fixes. |
| 469 |
- Fixed many compiler warnings (STR #2988). |
| 470 |
- Fluid now generates code with less compiler warnings (STR #2813). |
| 471 |
- Many CMake improvements and fixes. Note: CMake is mostly operating |
| 472 |
now, but not yet recommended for production use. Please test and |
| 473 |
report issues. |
| 474 |
- Updated bundled zlib from 1.2.5 to 1.2.8. |
| 475 |
- Updated bundled libjpeg from jpeg-8c to jpeg-9a. |
| 476 |
|
| 477 |
|
| 478 |
Bug fixes |
| 479 |
|
| 480 |
- Fix potential crash when using keyboard navigation on Fl_Tabs |
| 481 |
widget without children (STR #3333). |
| 482 |
- Fix potential crash if Fl_Window::icon(NULL) was called to clear |
| 483 |
(reset) a window icon. This is now legal and documented behavior. |
| 484 |
The same applies to Fl_Window::default_icon(). |
| 485 |
- Allow widget callback to be NULL, i.e. no callback (STR #2835). |
| 486 |
- Fixed Fl_Help_View buffer overflow (STR #3275). |
| 487 |
- Fl_Browser now correctly adjusts its scrollbars when the default |
| 488 |
text size is changed with textsize(int) (STR #3057). |
| 489 |
- Fixed Fl_Text_Display/Fl_Text_Editor slow scrolling, line number |
| 490 |
display, wrap mode "hiding" text behind scrollbars, and more |
| 491 |
scrollbar handling (alignment) (STR #3272). |
| 492 |
- Fixed valgrind warning (uninitialized variable) in Fl_Window. |
| 493 |
Visible only with FLTK_ABI_VERSION >= 10303, since FLTK 1.3.3. |
| 494 |
- Fixed Windows drag'n'drop not showing insert position if the drop |
| 495 |
target is inside the same window or process (STR #3209). |
| 496 |
- Fixed undefined reference building shared cairo library (STR #3276). |
| 497 |
- Fixed Fl_Browser if text argument to some methods is NULL (STR #3269). |
| 498 |
- Fixed missing image release in fluid (STR #2840). |
| 499 |
- Fixed out-of-bounds memory access in fluid (STR #3263). |
| 500 |
- Fixed trailing white space in fluid .fl files (STR #3239). |
| 501 |
- Several box types were not drawn correctly when deactivated. |
| 502 |
The background color for deactivated widgets is now correct: |
| 503 |
fl_inactive(color()) (STR #2907). |
| 504 |
- Fix inconsistent interpretation of ld() in image handling |
| 505 |
(STR #3308). This is a minor issue since ld() is usually 0 or |
| 506 |
w()*d(). Documentation has been fixed, and ld() handling is now |
| 507 |
consistent in Fl_(RGB_)Image and fl_draw_image() and friends. See |
| 508 |
documentation of Fl_Image and Fl_RGB_Image for more information. |
| 509 |
- Fixed Fl_Pixmap (background) drawing to respect the clip region |
| 510 |
(STR #3206). |
| 511 |
- Fixed reading .pbm image files: 1 is now interpreted as black, |
| 512 |
and images whose width are a multiple of 8 are correctly read. |
| 513 |
Note: if you relied on the faulty behavior you may need to fix |
| 514 |
your image files. |
| 515 |
- Restored window background drawing, particularly the 'plastic' |
| 516 |
scheme's background (STR #3059). This was a regression since |
| 517 |
FLTK 1.3.0. |
| 518 |
- Prevent sending (FL_SHORTCUT) events to inactive widgets (STR #3216). |
| 519 |
- Fixed button label clipping (STR #3237). |
| 520 |
- Fixed Fl_Menu_::item_pathname() handling of descending submenu |
| 521 |
pointers (STR #3177). |
| 522 |
- Fl_Text_Display: style buffer colors are no longer manipulated by |
| 523 |
fl_contrast() for normal text drawing (fltk.coredev thread started |
| 524 |
04/08/15, Subject: "RFC: Fl_Text_Display style buffer color weirdness") |
| 525 |
- Fl_Tree::deactivate() now affects draw color of items (must have |
| 526 |
ABI 1.3.3 or higher enabled). For icons to draw deactivated, |
| 527 |
enable ABI 1.3.4. (test/tree has a 'deactivate tree' button) |
| 528 |
- Fl_Tree::find_item() did not find items if the pathname contained |
| 529 |
identical strings (STR #3234). |
| 530 |
- Fixed possible bad border effect when a set of radio menu items |
| 531 |
is located first in its menu (STR #3176): Fl_Menu_Item::set_only() |
| 532 |
is deprecated and replaced by Fl_Menu_::set_only(Fl_Menu_item*). |
| 533 |
- Restore the correct state of mouse buttons and keyboard modifier keys |
| 534 |
after closing a file or printer dialog (STR #3221). |
| 535 |
- Fix for deactivate colors issue with Fl_Text_Display/Editor (STR #3219). |
| 536 |
- Fixed issue with MSWindows platform where the program kept running |
| 537 |
after closing all its windows (STR #3165). |
| 538 |
- Fix potential buffer overflow (MSWindows: BEX64 error) and problem with |
| 539 |
MSWindows environment variables "HOME"(MinGW) vs. "UserProfile"(DOS) |
| 540 |
- Fix issue with MSWindows platform where a window would decrease |
| 541 |
in size after each close/open (STR #3167). |
| 542 |
- Fix undefined reference XGetUtf8FontAndGlyph (STR #3191). |
| 543 |
- Fix potential keyboard hangup (STR #3192). |
| 544 |
- Fix for: .xbm images were not previewed (STR #3131). |
| 545 |
- Fixed crash on Mac platform when resizing a not yet shown() Fl_Gl_Window. |
| 546 |
- Fixed potential Windows GDI leak (STR #3254). |
| 547 |
- Fixed Linux/Unix potential program hang when dialog pops up while |
| 548 |
a menu is open (STR #3179). |
| 549 |
- Fixed a crash when a Unix/Linux program calls take_focus() before any |
| 550 |
window has been show()n. |
| 551 |
- Fixed an error on the Mac platform when drawing to an Fl_Image_Surface |
| 552 |
object without using the Fl_Image_Surface::draw() method. |
| 553 |
- Fixed STR #3268 where a fullscreen window could become relocated |
| 554 |
behind the menu bar and dock (Mac OS only). |
| 555 |
- Fixed STR #3207: ^C not working when numlock or capslock is on. |
| 556 |
- Fixed code editor in Fluid (STR #3184). |
| 557 |
- Fixed a potential hangup of the Fl::awake() queue under Windows if |
| 558 |
a window is resized or moved while the Fl::awake() message is sent |
| 559 |
(STR #3143). |
| 560 |
- Fixed a regression: restore the possibility to call |
| 561 |
fl_draw_image(buf,X,Y,W,H,D,L) with negative D and/or L arguments. |
| 562 |
- Fixed overflow in Fl_Valuator::precision(int) to 0...9 (STR #3280). |
| 563 |
|
| 564 |
|
| 565 |
CHANGES IN FLTK 1.3.3 RELEASED: Nov 03 2014 |
| 566 |
|
| 567 |
New features and extensions |
| 568 |
|
| 569 |
- New class Fl_Copy_Surface allows copying graphical data to the |
| 570 |
clipboard in a cross-platform way (STR #3058). |
| 571 |
- Support for pasting graphical data from the clipboard to a widget. |
| 572 |
- New class Fl_Image_Surface allows drawing into an Fl_Image object. |
| 573 |
- Methods Fl::add_clipboard_notify() and Fl::remove_clipboard_notify() |
| 574 |
to get notifications whenever the clipboard changes (STR #2636). |
| 575 |
- New method Fl_Window::wait_for_expose() (STR #3124, STR #3129). |
| 576 |
- New bilinear scaling method for RGB images (STR #2869, STR #3062). |
| 577 |
- New method Fl_Widget::top_window() (STR #2948). |
| 578 |
- New method Fl_Widget::top_window_offset() (part of STR #2944). |
| 579 |
- New Fl_Tree_Item methods label_x(), label_y(), label_w(), label_h(). |
| 580 |
- New methods Fl::enable_im() and Fl::disable_im() to enable/disable |
| 581 |
system Input Methods (IM). |
| 582 |
- New methods Fl::add_system_handler() and Fl::remove_system_handler() |
| 583 |
to intercept low level system events. |
| 584 |
- New FLTK scheme "gleam" (STR #2672). |
| 585 |
- New method Fl::is_scheme() to compare the current scheme name. |
| 586 |
- New method to set custom icons for windows (STR #2816), |
| 587 |
see Fl_Window::icon() for more info. |
| 588 |
- New method to set any custom cursor, based on a Fl_RGB_Image object. |
| 589 |
Also changed fallback cursors to use this method, so that fallback |
| 590 |
cursors are handled in a platform independent manner (STR #2660). |
| 591 |
- New ability to convert Fl_Pixmap to Fl_RGB_Image (STR #2659). |
| 592 |
- Support for full screen windows over multiple monitors. |
| 593 |
- New optional line numbers in Fl_Text_Display and options to control |
| 594 |
line numbers and word wrapping (on/off) in example test/editor.cxx. |
| 595 |
- On Linux/Unix, class Fl_Native_File_Chooser uses file dialogs from |
| 596 |
the Gnome environment (provided by the libgtk dynamic library) if |
| 597 |
available, and falls back to Fl_File_Chooser if not (STR #3088). |
| 598 |
Use option Fl::OPTION_FNFC_USES_GTK to enable/disable this feature. |
| 599 |
- New support for the Mac OS text input system that deals with character |
| 600 |
composition and input of languages with large character sets (e.g. |
| 601 |
Chinese and Japanese). This implementation has been reported to work |
| 602 |
well for Chinese. Superficial testing suggests it's also operational |
| 603 |
for Japanese. In-depth testing remains needed though. |
| 604 |
|
| 605 |
Other improvements |
| 606 |
|
| 607 |
- Many CMake improvements (e.g. STR #2962, 2977, 2994, 3045, 3055). |
| 608 |
- Some autoconf, configure improvements. |
| 609 |
- Removed 1024 bytes constraint in labels and browser lines (STR #2990). |
| 610 |
- Mac OS version of Fl_Native_File_Chooser: when using filters in a |
| 611 |
save file dialog, the output file extension gets changed when the |
| 612 |
user modifies the output file type. |
| 613 |
- Many Mac OS X improvements related to Fl_Sys_Menu_Bar. |
| 614 |
- Improved Mac OS X keyboard handling of special keys or combinations. |
| 615 |
- General Mac OS X improvements, incl. high resolution (Retina) |
| 616 |
displays, and support up to Mac OS X 10.10. |
| 617 |
- Documentation improvements and clarifications. |
| 618 |
- Printing support improvements, including GL windows. |
| 619 |
- Many improvements related to Fl_Tree (some of them only as ABI |
| 620 |
breaking features, see below). |
| 621 |
- Some static data has been made 'const' to improve memory usage |
| 622 |
with shared libraries. |
| 623 |
- Don't grab navkeys with modifiers (CTRL, ALT), as the application |
| 624 |
may want them (STR #3104). |
| 625 |
- Check compiler support of -fvisibility, -fvisibility-inlines-hidden, |
| 626 |
and use it, if available. Reduces shared library size. |
| 627 |
- Drag'n'drop behaves better now: if text is dropped in the widget it |
| 628 |
comes from, then it works like cut and paste. |
| 629 |
- Other improvements of DND handling when dragging text from other |
| 630 |
applications, e.g. Firefox and Thunderbird. |
| 631 |
- Windows message WM_QUIT is processed like SIGTERM, i.e. as a |
| 632 |
request to terminate the program. |
| 633 |
- Fluid no longer closes the code window when hitting ESC (STR #2997). |
| 634 |
- Improved Fl_Widget::when() handling in Fl_Tabs (STR #2939). |
| 635 |
- Improved support for more recent compilers (clang and gcc) that |
| 636 |
issue more warnings, and fixed some 32-/64-bit compilation issues. |
| 637 |
- Added method Fl_Window::clear_modal_states() to make it possible |
| 638 |
to remove the modal or non-modal state from a window (STR #3123). |
| 639 |
|
| 640 |
Bug fixes |
| 641 |
|
| 642 |
- Fixed word selection dragging in text input (STR #3014). |
| 643 |
- Fixed border padding for special cases (STR #3061, Windows only). |
| 644 |
- Fixed crash if Fl_Window::flush() called while window not shown() |
| 645 |
(STR #3028). |
| 646 |
- Fixed segfault in fl_set_fonts_xft.cxx when loading fonts not named |
| 647 |
as expected (STR #2976). |
| 648 |
- Fixed a memory leak in font loading/allocation (STR #3069). |
| 649 |
- Fixed minor memory leaks in handling/freeing of X11 objects. |
| 650 |
- Fixed OS X fl_read_image() and Fl_Paged_Device::print_window_part() |
| 651 |
when using a Retina display. |
| 652 |
- Fixed MinGW build if configure didn't find strcasecmp() (STR #2994). |
| 653 |
- Fixed access of protected member under Linux/Unix (STR #2903). |
| 654 |
- Fixed various Mac specific OpenGL issues (STR #2944) |
| 655 |
- Fixed PostScript printing with non-english locale (STR #3130). |
| 656 |
- Fixed a regression in Fl_File_Chooser since FLTK 1.1.8: the |
| 657 |
Enter key now selects the file again. |
| 658 |
- Fixed a bug in Fl_Native_File_Chooser (Windows) for some file name |
| 659 |
input filters (STR #3101). |
| 660 |
- Fixed out-of-bounds memory access in Fl_Text_Display (STR #2730). |
| 661 |
|
| 662 |
1.3.3 ABI FEATURES |
| 663 |
|
| 664 |
To enable the following ABI features, put: |
| 665 |
#define FLTK_ABI_VERSION 10303 |
| 666 |
..at the top of your FL/Enumerations.H and rebuild FLTK and your app. |
| 667 |
|
| 668 |
- Added Fl_Window::shape(const Fl_Image*) to create arbitrarily-shaped |
| 669 |
windows |
| 670 |
- Made Fl_Help_View::handle() public and Fl_Help_View::draw() protected |
| 671 |
to enable inheritance and for consistency (STR #2834). |
| 672 |
Note: both methods were private. |
| 673 |
- Made Fl_Scroll::recalc_scrollbars() protected so that it can be used |
| 674 |
in derived widgets to calculate scrollbar visibility and positions. |
| 675 |
- Added Fl_Table::tab_cell_nav() for controlling Tab key navigation of table |
| 676 |
- Added Fl_Tree::get_selected_items(), returns the selected items as an array |
| 677 |
- Added Fl_Tree::item_draw_callback(), letting one define a custom draw |
| 678 |
function for Fl_Tree_Item's. |
| 679 |
- Fl_Tree: various related changes: |
| 680 |
o Added horizontal scrollbar |
| 681 |
o Separated draw() and tree size calculation |
| 682 |
o Added new public methods: |
| 683 |
> resize() -- uses optimized dim calc, avoids tree recalc |
| 684 |
> next_item() -- added parameters: direction, visibility |
| 685 |
> extend_selection() -- added parameters, improved algorithm |
| 686 |
> calc_dimensions() -- calc tix/y/w/h, tox/y/w/h and scrollbars |
| 687 |
> calc_tree() -- calc tree_w/tree_h |
| 688 |
> recalc_tree() -- schedules calc_tree() |
| 689 |
> first_visible_item(), last_visible_item(), next_visible_item() |
| 690 |
> first_selected_item(), last_selected_item(), next_selected_item() |
| 691 |
o Added protected variables: |
| 692 |
> _tix/y/w/h -- tree widget 'inner' dimension |
| 693 |
> _tox/y/w/h -- tree widget 'outer' dimension |
| 694 |
> _tree_w,_tree_h -- entire tree hierarchy width/height |
| 695 |
o Deprecated: |
| 696 |
> item_clicked() -- use callback_item() instead |
| 697 |
> first_visible() -- use first_visible_item() instead |
| 698 |
> last_visible() -- use last_visible_item() instead |
| 699 |
|
| 700 |
- Fl_Tree_Item: various related changes: |
| 701 |
o Added Fl_Tree ptr: needed for auto-recalc when item modified directly |
| 702 |
o Added new methods tree(), recalc_tree() |
| 703 |
o Added new ctor that accepts Fl_Tree* |
| 704 |
o draw() parameters changed to include tree size calculations |
| 705 |
o Deprecated: |
| 706 |
> ctor using Fl_Tree_Prefs parameter (Fl_Tree* version better, |
| 707 |
and must be used for 1.3.3 ABI features to work correctly) |
| 708 |
> next_displayed() -- use next_visible() instead |
| 709 |
> prev_displayed() -- use prev_visible() instead |
| 710 |
- test/tree: added tests for newly added features |
| 711 |
|
| 712 |
CHANGES IN FLTK 1.3.2 RELEASED: Dec 12 2012 |
| 713 |
|
| 714 |
- Removed unnecessary drawing calls (STR #2898) |
| 715 |
- Fixed regression in FLTK 1.3.1 for unbundled Mac OS FLTK applications |
| 716 |
that did not appear in dock nor have a menu bar (STR #2890). |
| 717 |
- Fl_Table::clear() now calls table->clear() for consistency. (STR #2889) |
| 718 |
- Fixed Fl_Scroll widget that fails under Mac OS X 10.8 and Retina |
| 719 |
display (STR #2887). |
| 720 |
- Prevents scrollbars from drawing when widget is sized too small |
| 721 |
to be visible (STR #2886). |
| 722 |
- Documented how to make a Mac OS X FLTK application launchable |
| 723 |
by dropping files on its icon. |
| 724 |
- Fixed a Mac-specific issue that appeared with OS 10.8 (Mountain Lion): |
| 725 |
long delay before opening when the application is started by dragging |
| 726 |
a file on the application icon. |
| 727 |
- Fixed use of PNG image from in-memory data (STR #2884). |
| 728 |
- Added static Fl_RGB_Image::max_size(size_t) to limit the maximum |
| 729 |
memory size allowed to RGB images (STR #2881). |
| 730 |
|
| 731 |
CHANGES IN FLTK 1.3.1 RELEASED: Nov 06 2012 |
| 732 |
|
| 733 |
- Fixed utf_strncasecmp and utf_strcasecmp |
| 734 |
- Moved all inline constructors into source file to avoid bad DLLs |
| 735 |
- Fixed Fl_Widget::copy_label() and Fl_Window::copy_label() when |
| 736 |
called with the old label() (STR #2836) |
| 737 |
- Fixed Fl_Input_::maximum_size() documentation and replace() method |
| 738 |
to honor maximum_size() as number of allowed characters (STR #2747). |
| 739 |
- Fixed a potential crash if Fl_Double_Window::flush() was called |
| 740 |
before show() |
| 741 |
- Fixed regression (in FLTK 1.3.0) that could clear a radio |
| 742 |
button by using the keyboard (space or shortcut) (STR #2748) |
| 743 |
- Fixed fl_pie() drawing too small on X11 (STR #2703) |
| 744 |
- Fixed Fl_Menu issue with unusual menu flags (STR #2680) |
| 745 |
- Fixed Windows DLL import of fl_xid() (STR #2670) |
| 746 |
- Added Fl::screen_work_area() functions that compute the work area |
| 747 |
of a screen. These functions improve the positioning of menus. |
| 748 |
Changed Fl::x(), Fl::y(), Fl::w(), Fl::h() functions |
| 749 |
to return the origin and size of the work area of the main screen |
| 750 |
(STR #2695 + 2697) |
| 751 |
- Created the FL_SCREEN_CONFIGURATION_CHANGED event that is triggered |
| 752 |
when a screen is added, removed, moved or when resolution is changed |
| 753 |
(STR #2600) |
| 754 |
- Improved the description of page size and orientation by |
| 755 |
Fl_PostScript_File_Device. |
| 756 |
- Added support for horizontal wheel movement under X11 and Windows |
| 757 |
Vista and above (STR #2644). |
| 758 |
|
| 759 |
1.3.1 ABI FEATURES |
| 760 |
(To enable the following ABI features, put: #define FLTK_ABI_VERSION 10301 |
| 761 |
at the top of your FL/Enumerations.H and rebuild FLTK and your app) |
| 762 |
- Fl_Tree optimized to support large trees (eg. 100k items): |
| 763 |
Added _next_sibling and _prev_sibling to Fl_Tree_Item class, |
| 764 |
and support methods. |
| 765 |
|
| 766 |
|
| 767 |
CHANGES IN FLTK 1.3.0 RELEASED: Jun 16 2011 |
| 768 |
|
| 769 |
New Features |
| 770 |
|
| 771 |
- Added UTF-8 Unicode support throughout FLTK and Fluid |
| 772 |
- Added Fl_Tree widget for hierarchical views |
| 773 |
- Added Fl_Table widget for widget layout |
| 774 |
- Added Fl_Native_Filechooser as a widget and global options |
| 775 |
- Added printing support (Fl_Printer class and friends) for native |
| 776 |
printing on Windows and Mac OS X, PostScript printing on X11 |
| 777 |
with CUPS or lp, and PostScript file output on all platforms |
| 778 |
- Added basic Fl_Device abstraction layer for all drawing functions |
| 779 |
- Moved OS X code base to the more modern Cocoa toolkit thanks |
| 780 |
to the awesome work of Manolo Gouy (STR #2221) |
| 781 |
|
| 782 |
API and ABI Compatibility to FLTK 1.1.x |
| 783 |
|
| 784 |
- All strings are expected to be in UTF-8 Unicode encoding |
| 785 |
- Replaced Fl_Scroll::position(int,int) with scroll_to(int,int) |
| 786 |
to avoid overriding Fl_Widget::position(int,int) (STR #1303) |
| 787 |
- Although FLTK 1.3 maintains source code compatibility as good |
| 788 |
as possible, the binary interface changed considerably. |
| 789 |
- Updated the bundled libpng to v1.5.1 (released Feb 3, 2011) |
| 790 |
- Updated the bundled libjpeg to v8c (released Jan 16, 2011) |
| 791 |
- Updated the bundled zlib to v1.2.5 (released Apr 19, 2010) |
| 792 |
|
| 793 |
API Enhancements and Changes |
| 794 |
|
| 795 |
- Changed font index to 32 bit |
| 796 |
- Changed font size to 32 bit |
| 797 |
- Changed widget coordinates to 32 bit |
| 798 |
- Corrected const methods of Fl_Text_{Buffer|Display|Selection} |
| 799 |
to be declared const, corrected an Fl_Text_Buffer attrib. typo |
| 800 |
- All draw() methods of widgets are now protected (STR #2142). |
| 801 |
- Changed Fl_Group::clip_children() to public (STR #2017) |
| 802 |
- Changed socket library to winsock2 (ws2_32.dll) instead of |
| 803 |
wsock32.dll for Windows. The dll is now loaded dynamically only |
| 804 |
if/when needed. |
| 805 |
- Changed hide() and show() methods. They are now virtual from |
| 806 |
Fl_Widget. |
| 807 |
- Added new label and image alignments (STR #2269) |
| 808 |
- Added global UI options (STR #2471) |
| 809 |
- Added class Fl_Widget_Tracker to simplify safe handling of widget |
| 810 |
deletion in callbacks. This is used in Fl_Widget::do_callback() |
| 811 |
to prevent accessing widgets after deletion in the callback. |
| 812 |
- Added sorting to Fl_Browser_ (STR #2113) |
| 813 |
- Added new method client_area() for easier positioning of children |
| 814 |
in Fl_Tabs (STR #2480) |
| 815 |
- Added interface to set color chooser mode (STR #2407) |
| 816 |
- Added Fl_Menu_::find_item by callback |
| 817 |
- Added loading jpeg images from memory |
| 818 |
- Added support for shortcuts for Fl_Input_, Fl_Value_Input, and |
| 819 |
Fl_Text_Display derived widgets (STR #1770) |
| 820 |
- Added Fl_Menu_ methods: insert(), find_index(), clear_submenu() |
| 821 |
- Hotspot behavior of fl_message() and other common dialogs is now |
| 822 |
optional (STR #2561). |
| 823 |
- Common dialogs like fl_message() and fl_ask() can now have a window |
| 824 |
title (STR #2562). |
| 825 |
|
| 826 |
IDE Support and Command Line Build Options |
| 827 |
|
| 828 |
- FLTK now supports Apple Xcode 3, MS VisualC 2008, and |
| 829 |
MS VisualC 2010. MS VisualC 6 support is maintained as a |
| 830 |
compatibility base for VisualC.net, etc. . FLTK continues |
| 831 |
to support configure/make and improved CMake build files. |
| 832 |
- Added step by step README's for MSWindows, OS X, and four |
| 833 |
Linux distros. |
| 834 |
- Added "ide" subdirectory for all IDE support files |
| 835 |
- Added template to generate new projects with Xcode. |
| 836 |
- Added --enable-cairo and --enable-cairoext configure options. |
| 837 |
- redesigned CMake files (STR #2317). |
| 838 |
- The new configure option --enable-x11 (lowercase 'x') enables |
| 839 |
Cygwin builds under Windows (with --enable-cygwin) to use X11 |
| 840 |
instead of GDI drawing (STR #2147, #2183) and is ignored otherwise. |
| 841 |
- Changed "fltk-config --post foo" to create an application |
| 842 |
bundle rather than attaching a resource fork. |
| 843 |
- Changed default for configure option --with-links for common |
| 844 |
misspellings on case sensitive file systems like Unix/Linux. |
| 845 |
The new default is --without-links; use --with-links on |
| 846 |
Unix/Linux only if you need the links (e.g. lowercase '.h') |
| 847 |
|
| 848 |
Fluid |
| 849 |
|
| 850 |
- Added argument-less constructor in Fluid Widget Class |
| 851 |
- Added jpeg support to Fluid image() element |
| 852 |
- Added binary data type to Fluid |
| 853 |
- Empty functions in Fluid no longer create an |
| 854 |
implementation (STR #2259) |
| 855 |
- Fixed internationalisation of menus using Fluid (STR #2246) |
| 856 |
- Fixed menu item counting issue in Fluid (STR #2322) |
| 857 |
- Fixed lost top item in Fluid's tree browser (STR #2233) |
| 858 |
- Fixed Fluid dependency on X11 (STR #2261) |
| 859 |
- Fixed Fluid textcolor output (STR #1992) |
| 860 |
- Fixed wrong default value of Fl_Spinner in Fluid (STR #1991) |
| 861 |
|
| 862 |
Documentation |
| 863 |
|
| 864 |
- Added documentation for event delivery (STR #1983) |
| 865 |
- Added Fl_Scroll::bbox() documentation (STR #1893) |
| 866 |
- Updated documentation for Fl_Input_ |
| 867 |
- Updated Copyright dates to 2010 (STR #2036) |
| 868 |
- Updated mirror sites in documentation (STR #2220) |
| 869 |
- Fixed documentation for Fl_Progress (STR #2209) |
| 870 |
- Fixed documentation (added missing COMCTL32.LIB dependency) |
| 871 |
|
| 872 |
Other Improvements |
| 873 |
|
| 874 |
- Added drag'n'drop support for Fl_Text_* |
| 875 |
- Added visual feedback for button shortcuts (STR #2372) |
| 876 |
- Added callback when double-clicking file in a file chooser |
| 877 |
(STR #2346) |
| 878 |
- Added alternative Xft font names (STR #2215) |
| 879 |
- Added mouse!=0 check in Fl_Glut_Window::handle (STR #2381) |
| 880 |
- Added indexing to Fl_Preferences |
| 881 |
- Added OS X cursor control to Fl_Input (STR #2169) |
| 882 |
- Added menu shortcut alignment for OS X |
| 883 |
- Added drop box to UTF-8 test that will show the UTF-8 encoding |
| 884 |
for the first dropped character |
| 885 |
- Added flexible gap size for text buffer (STR #2046) |
| 886 |
- Added clarification to Fl_GL_Window mode function (STR #1945) |
| 887 |
- Added alternative text input awareness on OS X |
| 888 |
- Improved handling of composed keys in OS X 10.5 and up |
| 889 |
- Improved stability of fl_read_image (STR #2021) |
| 890 |
- Much faster fl_read_image() for Windows (STR #2387). |
| 891 |
- Improved support for faulty X11 clients (STR #2385) |
| 892 |
- Integrated default menu into Demo test app |
| 893 |
- Replaced _WIN32 symbols that had come with UTF-8 and the |
| 894 |
new Fl_Table widget with WIN32 |
| 895 |
- Widgets now remove stale entries from the default callback |
| 896 |
queue when they are deleted (STR #2302) |
| 897 |
- Managing all Widget flags in a single location now (STR #2161) |
| 898 |
- File chooser preview now recognizes UTF-8 encoded |
| 899 |
text files (STR #2218) |
| 900 |
- Setting a default font for Xft (STR #2216) |
| 901 |
- Restructured the unittest application |
| 902 |
- Fl_Preferences.H now doesn't include windows.h any more |
| 903 |
(Windows only, STR #2173). |
| 904 |
- Fl_Window::draw() now doesn't reset its x/y-coordinates to 0 |
| 905 |
anymore before drawing itself and its children. |
| 906 |
- Fl_Help_View handles HTML2 font color specification (STR #890) |
| 907 |
- Widgets now remove themselves from their parent group (if any), |
| 908 |
when destroyed (STR #1894) |
| 909 |
- Changed Fl_Group and Fl_Scroll to resize themselves before |
| 910 |
resizing their children (STR #2032) |
| 911 |
|
| 912 |
Bug Fixes |
| 913 |
|
| 914 |
- Fixed potential crash in fl_xid() on Linux (STR #2635) |
| 915 |
- Fixed keyboard navigation in fl_choice() (STR #2591) |
| 916 |
- Fixed alpha blending under X11 when line data size != 0 (STR #2606) |
| 917 |
- Fixed Fl_Tabs selection border drawing, if tabs are at the bottom |
| 918 |
of the widget (STR #2480) |
| 919 |
- Fixed Compiling with mingw-w64 (STR #2308). |
| 920 |
- Fixed crashes when detecting illegal UTF-8 sequences |
| 921 |
in Fl_Text_* widgets (STR #2348) |
| 922 |
- Fixed Fl_Text_Display Tabulator calculations (STR #2450) |
| 923 |
- Fixed file access code to use UTF-8 strings (STR #2440) |
| 924 |
- Fixed ARM Unicode cross compilation issue (STR #2432) |
| 925 |
- Fixed xclass support for Fl_Window (STR #2053) |
| 926 |
- Fixed Caps Lock handling in X11/XIM (STR #2366) |
| 927 |
- Fixed handling of missing fonts in Xft (STR #2355) |
| 928 |
- Fixed OpenGL hide/show issue in OS X (STR #2260) |
| 929 |
- Fixed File Chooser preview hang if a device was choosen |
| 930 |
- Fixed blinking of selection when the mouse was dragged |
| 931 |
outside of the Fl_Text_* widget |
| 932 |
- Fixed Unicode support for Fl_Text_* widgets |
| 933 |
- Fixed menu and shortcut handling (STR #2243) |
| 934 |
- Fixed fltk-config to give --libs on one line (STR #2408) |
| 935 |
- Fixed outside label redraw damage areas (STR #2436) |
| 936 |
- Fixed compile errors when HAVE_LIBJPEG was not defined |
| 937 |
(STR #2382) |
| 938 |
- Fixed special handling for ISO back-tab keycode (STR #2369) |
| 939 |
- Fixed static allocation in Fl_Tabs (STR #2370) |
| 940 |
- Fixed Fl_Widget::measure_label() to const (STR #2406) |
| 941 |
- Fixed unbalanced Windows OleInitialize/OleUnitialize calls |
| 942 |
when loading/unloading the FLTK dll (STR #2417) |
| 943 |
- Fixed X11/XDBE double buffering (STR #2152, #2197) |
| 944 |
- Fixed menu and tooltip window animation bug under X11 (compiz) |
| 945 |
by setting an appropriate window type (STR #2082) |
| 946 |
- Fixed max. fd calculation, if USE_POLL is enabled (STR #2324) |
| 947 |
- Fixed clipping for offscreen rendering (OSX, STR #2330) |
| 948 |
- Fixed possibility of wrong flags() in Fl_Window::iconlabel() |
| 949 |
(STR #2161) |
| 950 |
- Fixed Scrollbar events when max is less than min (STR #2283) |
| 951 |
- Fixed crash in test/Editor when freeing buffer |
| 952 |
too soon (STR #2294) |
| 953 |
- Fixed Fl_Preferences Cygwin wide character bug (STR #2164) |
| 954 |
- Fixed sorting in Fl_Browser - last item would not |
| 955 |
be sorted (STR #2300) |
| 956 |
- Fixed window levels in OS X Cocoa (STR #2316) |
| 957 |
- Fixed a buffer overflow in fl_utf8from_mb() (STR #2279) |
| 958 |
- Fixed a Windows GDI leak when testing alpha blending capabilities |
| 959 |
- Fixed crashes for recursive common dialogs (STR #1986, #2150) |
| 960 |
- Fixed a name conflict with new (VS 2008 Express) winsock2.h |
| 961 |
versions and another conflict that produced compile errors |
| 962 |
with VS 2008 Express (STR #2301) |
| 963 |
- Fixed all color related calls to Fl_Color type (STR #2208) |
| 964 |
- Fixed Fl_Choice contrast with light-on-dark settings (STR #2219) |
| 965 |
- Fixed X server "lock", if a modal dialog window is opened |
| 966 |
while a menu is active (STR #1986) |
| 967 |
- Fixed Windows compile bug with "#define USE_COLORMAP 0" |
| 968 |
(STR #2241) |
| 969 |
- Fixed glibc 2.10 compiler problems (Fedora 11 and others) |
| 970 |
with scandir() and strchr() (STR #2222) |
| 971 |
- Fixed OpenGL shared context handling (STR #2135) |
| 972 |
- Fixed gray-scale images with alpha channel (STR #2105) |
| 973 |
- Fixed unexpected shortcut behavior for Win32 (STR #2199) |
| 974 |
- Fixed fl_draw_image to obey the alpha channel (OS X only) |
| 975 |
- Fix for multiple popups, when dragging and calling fl_alert() |
| 976 |
and friends from the callback (STR #2159) |
| 977 |
- Fixed control key keycodes with modifiers on OS X |
| 978 |
- Fixed bad system menu handling in OS X (STR #2153) |
| 979 |
- Fixed File Input mouse pointer dragging (STR #2181) |
| 980 |
- Fixed 'del' keycode on OS X |
| 981 |
- Fixed OS X support for sending and receiving dnd data as UTF-8 |
| 982 |
- Fixed Copy/Paste operations with UTF-8, UTF-16 support and |
| 983 |
fltk1.1 compatibility. (STR #2104, 2121). |
| 984 |
- Fixed fl_set_spot() for Windows (STR #2101) |
| 985 |
- Fixed callback that would not be called when shortcut was used |
| 986 |
with radio and toggle buttons in default FL_RELEASE mode. |
| 987 |
- Fixed a problem with TrackMouseEvent() (Windows only) that would |
| 988 |
generate wrong FL_LEAVE events with subwindows. TrackMouseEvent |
| 989 |
is now enabled by default (it was disabled for GNU compilers). |
| 990 |
It can be disabled by defining NO_TRACK_MOUSE. |
| 991 |
Improved test/subwindow.cxx (STR #2079) |
| 992 |
- Fixed menu position close to screen border (STR #2057) |
| 993 |
- Fixed adding an idle handler during a draw() call (STR #1950) |
| 994 |
- Fixed first modifier key event (STR #1952) |
| 995 |
- Fixed Fl_Scroll inside Fl_Scroll (STR #265) |
| 996 |
|
| 997 |
Removed Features |
| 998 |
|
| 999 |
- Removed Watcom compiler support because it was introduced in |
| 1000 |
1.1.6 as a partial solution and never completed. |
| 1001 |
- Removed an XForms compatibility "feature" that prevented the |
| 1002 |
down array of Fl_Menu_Button from drawing (STR #2141). |
| 1003 |
- Removed support for gcc 2.x (or older) |
| 1004 |
- Removed redundant Fl_Group casts |
| 1005 |
|
| 1006 |
|
| 1007 |
CHANGES IN FLTK 1.1 |
| 1008 |
|
| 1009 |
See CHANGES_1.1 |
| 1010 |
|
| 1011 |
|
| 1012 |
CHANGES IN FLTK 1.0 |
| 1013 |
|
| 1014 |
See CHANGES_1.0 |