| [ Return to Articles | Show Comments | Submit Comment ]
Article #1565: FLTK 1.4.x Weekly Snapshot, r12602
Created at 00:00 Dec 22, 2017 by mike
A new weekly snapshot of FLTK 1.4.x (r12602) is now available on the download page:
http://www.fltk.org/software.php?VERSION=fltk-1.4.x-r12602
Commit Log:
------------------------------------------------------------------------
r12602 | manolo | 2017-12-19 09:14:42 -0500 (Tue, 19 Dec 2017) | 1 line
Scaling capability under MacOS platform: fix capture of scaled window.
------------------------------------------------------------------------
r12601 | AlbrechtS | 2017-12-19 08:26:38 -0500 (Tue, 19 Dec 2017) | 2 lines
Update .clang-format, improve comments.
------------------------------------------------------------------------
r12600 | manolo | 2017-12-19 07:56:24 -0500 (Tue, 19 Dec 2017) | 5 lines
Fix Fl_GDI_Graphics_Driver::uncache(Fl_RGB_Image*,...) that did not delete
correctly the cached offscreen object.
This bug was detected by a test program that rotates an SVG image. But it's
not related to SVG,
and concerns any Fl_RGB_Image on the WIN32 platform. It was introduced when
image support was modified according to the driver model.
------------------------------------------------------------------------
r12599 | AlbrechtS | 2017-12-19 07:52:57 -0500 (Tue, 19 Dec 2017) | 17
lines
Fix indenting and formatting according to the CMP.
Sorry for the big commit. There were so many indenting and formatting
issues in src/Fl_win32.cxx that I decided to reformat it with clang-format
(see previous commit). However, this commit is not the direct result
of using clang-format - I adjusted some parts of the code manually.
Other manual changes: I ...
- reordered some #define's and added comments
- added comments to switch/case/break statements and {} for clarity
- moved a few 'break' statements inside or outside of braces {}
There should not be any code changes though, i.e. the compiled object
code should be identical.
------------------------------------------------------------------------
r12598 | AlbrechtS | 2017-12-19 07:41:47 -0500 (Tue, 19 Dec 2017) | 13
lines
Add an experimental .clang-format file.
This file can be used with clang-format to format c and c++ source
files according to the FLTK CMP -- at least "almost" in its current
version. It should not (yet) be used without further checking of the
result.
Note: there are some deliberate non-conformant formattings in current
source files, such as formatting like (better readable?) tables with
columns etc.. Such special formatting can be preserved with clang-format
"pragma's" (see documentation in .clang-format), but this needs source
file changes before formatting.
------------------------------------------------------------------------
r12597 | manolo | 2017-12-18 11:34:59 -0500 (Mon, 18 Dec 2017) | 4 lines
Fix bug when drawing text with Fl_OpenGL_Graphics_Driver and scaled GUI.
The bug appeared in test/cube where the "Text" string was mispositioned
when the app was rescaled.
------------------------------------------------------------------------
r12596 | manolo | 2017-12-18 10:19:15 -0500 (Mon, 18 Dec 2017) | 1 line
STR#3437 : Support display of windows in tabbed form as in MacOS 10.12
Sierra
------------------------------------------------------------------------
r12595 | manolo | 2017-12-18 07:13:33 -0500 (Mon, 18 Dec 2017) | 1 line
STR#3320 continued: make sure there's no undrawn space between nested
rectangles and images.
------------------------------------------------------------------------
r12594 | manolo | 2017-12-18 03:52:55 -0500 (Mon, 18 Dec 2017) | 8 lines
STR#3444: Add MacOS support for application rescaling (not quite complete)
With this, most MacOS FLTK app can be scaled with command/+/-/0/
keystrokes.
A scaling problem remains, visible in test/cube, where the "Test" string is
not positioned correctly.
GLUT apps can also be scaled (across platforms).
SVG images are re-rasterized after app scaling for optimal drawing.
------------------------------------------------------------------------
r12593 | manolo | 2017-12-17 01:47:37 -0500 (Sun, 17 Dec 2017) | 1 line
Fl_Window_Driver constructor: initialise wait_for_expose_value to 0.
------------------------------------------------------------------------
r12592 | manolo | 2017-12-16 08:29:51 -0500 (Sat, 16 Dec 2017) | 1 line
Initialize all member variables in the Fl_Window_Driver constructor.
------------------------------------------------------------------------
r12591 | AlbrechtS | 2017-12-15 08:04:07 -0500 (Fri, 15 Dec 2017) | 11
lines
Remove VS specific #pragma comment (lib, ...).
This Visual Studio specific pragma hides missing library references
on Visual Studio builds, but since comctl32 is not the only necessary
Windows dll and this has never been extended to other libs, this pragma
is unnecessary and potentially confusing, so I removed it.
Documentation of dependencies mentions comctl32 (and more) and future
CMake generation of user project VS IDE files can reference the FLTK
dependencies by internal (CMake) means anyway.
------------------------------------------------------------------------
[ Download | Home Page | Listing ]
[ Submit Comment ] |
| |