Article #1577: FLTK 1.4.x Weekly Snapshot, r12756

  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Articles | Show Comments | Submit Comment ]

Article #1577: FLTK 1.4.x Weekly Snapshot, r12756

Created at 03:00 Mar 16, 2018 by mike

A new weekly snapshot of FLTK 1.4.x (r12756) is now available on the download page:

    http://www.fltk.org/software.php?VERSION=fltk-1.4.x-r12756

Commit Log:

------------------------------------------------------------------------
r12756 | matt | 2018-03-15 18:23:17 -0400 (Thu, 15 Mar 2018) | 1 line

Android: commented the iterator code of the complex clipping area.
------------------------------------------------------------------------
r12755 | matt | 2018-03-15 17:50:27 -0400 (Thu, 15 Mar 2018) | 1 line

Android: clipping code cleanup, xy and yx lines are clipped
------------------------------------------------------------------------
r12754 | matt | 2018-03-15 17:17:16 -0400 (Thu, 15 Mar 2018) | 5 lines

Android: window clipping working fl_rectf. 

This code is not very beautiful, but the resulting class should be
easy to use. A range-based loop can be used to find all relevant
clipping rectangles for a drawing call.
------------------------------------------------------------------------
r12753 | AlbrechtS | 2018-03-15 12:52:27 -0400 (Thu, 15 Mar 2018) | 4 lines

Improve X11 coordinate clipping.

Make clipping methods non-virtual so they can be inlined.

------------------------------------------------------------------------
r12752 | AlbrechtS | 2018-03-15 12:34:09 -0400 (Thu, 15 Mar 2018) | 2 lines

Fix a potential internal stack overflow in Xlib graphics driver.

------------------------------------------------------------------------
r12751 | AlbrechtS | 2018-03-15 11:34:37 -0400 (Thu, 15 Mar 2018) | 2 lines

Remove unused #include files and FL_CFG_* conditional code.

------------------------------------------------------------------------
r12750 | matt | 2018-03-15 06:08:53 -0400 (Thu, 15 Mar 2018) | 1 line

Fixing Tabs, typos, and comments.
------------------------------------------------------------------------
r12749 | matt | 2018-03-15 05:49:07 -0400 (Thu, 15 Mar 2018) | 3 lines

Fixing FIXME's and tab characters in fl_shortcut.cxx.

Yes, I am bored otherwise.
------------------------------------------------------------------------
r12748 | matt | 2018-03-15 05:34:20 -0400 (Thu, 15 Mar 2018) | 1 line

Removed warning for Android. Fixed "FIXME" in Fl_Tooltip. Removed tab
characters.
------------------------------------------------------------------------
r12747 | matt | 2018-03-14 20:07:53 -0400 (Wed, 14 Mar 2018) | 4 lines

Android: implemented good complex clipping, but unoptimized.

fl_rectf is so far the only function that uses the complex clipping
region successfully. Code is slow, but works.
------------------------------------------------------------------------
r12746 | matt | 2018-03-14 19:13:48 -0400 (Wed, 14 Mar 2018) | 5 lines

Android: implemented complex clipping at the first level.

Clipping areas are calculated for overlapping windows, named "Desktop
Windows". The first level implementation works if the resulting complex
region is just a rectangle. Higher complexity (sub-rectangles) is next.
------------------------------------------------------------------------
r12745 | matt | 2018-03-14 17:46:01 -0400 (Wed, 14 Mar 2018) | 4 lines

Android: adding stress test for complex clipping. 

Complex clipping is needed to allow popup dialogs and menu window while 
still correctly rendering windows that are "below" those popups.
------------------------------------------------------------------------
r12744 | AlbrechtS | 2018-03-13 18:11:17 -0400 (Tue, 13 Mar 2018) | 8 lines

Improve and simplify X line and rect 16-bit clipping.

Back to 16-bit coordinate limit clipping (actually +/- (2**15 - 8).
The clipping range is now constant, symmetrical, and stored in the
driver object.

Also fixed a bug in Liang-Barsky line clipping algorithm.

------------------------------------------------------------------------
r12743 | matt | 2018-03-12 16:54:27 -0400 (Mon, 12 Mar 2018) | 2 lines

Android: fixed Fl_Rect.H commit.
Cleaned up some driver code.
------------------------------------------------------------------------
r12742 | matt | 2018-03-12 16:10:49 -0400 (Mon, 12 Mar 2018) | 1 line

Android: added support for Fl::add_timeout() and friends.
------------------------------------------------------------------------
r12741 | matt | 2018-03-12 08:57:28 -0400 (Mon, 12 Mar 2018) | 5 lines

Android: Reinstated working simple cliping functionality based on an
 improved Fl_Rect_Region class instead of Fl_Rect. Commented out 
 complex clipping.
 
 Android lib and apps now use C++11 because they can (and I like it).
------------------------------------------------------------------------
r12740 | manolo | 2018-03-12 05:42:45 -0400 (Mon, 12 Mar 2018) | 1 line

Make Fl_Graphics_Driver constructor protected, as it was in FLTK 1.3.x
------------------------------------------------------------------------
r12739 | matt | 2018-03-11 18:00:59 -0400 (Sun, 11 Mar 2018) | 4 lines

Android: Made Fl_Rect virtual. Maybe a bad idea?
Also, added rectangular clipping which works.
Expanding now to a more complex clipping scheme to make multiple
windows work.
------------------------------------------------------------------------
r12738 | AlbrechtS | 2018-03-11 12:24:36 -0400 (Sun, 11 Mar 2018) | 9 lines

Document fl_numericsort() and fl_casenumericsort().

Note: These two functions are not yet UTF-8 aware. Results may be
unexpected.

Possible test case: run test/file_chooser or any FLTK program with
Fl_File_Chooser. The default display order is determined by
fl_numericsort():

  Fl_File_Chooser::sort = fl_numericsort;

------------------------------------------------------------------------
r12737 | manolo | 2018-03-11 10:49:09 -0400 (Sun, 11 Mar 2018) | 1 line

Documentation: homogenize to 'scale factor' and 'drawing unit'
------------------------------------------------------------------------
r12736 | manolo | 2018-03-11 04:33:36 -0400 (Sun, 11 Mar 2018) | 1 line

Documentation of fl_create_offscreen: give more details useful because the
screen scale factor can now vary.
------------------------------------------------------------------------
r12735 | manolo | 2018-03-11 04:09:50 -0400 (Sun, 11 Mar 2018) | 1 line

Documentation: homogenize the use of "screen" rather than "display" and
"FLTK units".
------------------------------------------------------------------------
r12734 | manolo | 2018-03-11 03:17:20 -0400 (Sun, 11 Mar 2018) | 1 line

Documentation: homogenize uses of "FLTK units" and "drawing units".
------------------------------------------------------------------------
r12733 | manolo | 2018-03-10 12:38:51 -0500 (Sat, 10 Mar 2018) | 1 line

Remove mention of -DFLTK_HIDPI_SUPPORT which was removed.
------------------------------------------------------------------------
r12732 | matt | 2018-03-10 12:35:00 -0500 (Sat, 10 Mar 2018) | 2 lines

Android: finally taught AndroidStudio where the SVN root directory is
located. No more SVN from the command line.
------------------------------------------------------------------------
r12731 | manolo | 2018-03-10 12:29:25 -0500 (Sat, 10 Mar 2018) | 1 line

Documentation: describe the new GUI scaling feature of FLTK 1.4
------------------------------------------------------------------------
r12730 | matt | 2018-03-10 11:22:44 -0500 (Sat, 10 Mar 2018) | 1 line

Android: fixed some variables to avoid crashing.
------------------------------------------------------------------------
r12729 | matt | 2018-03-10 08:17:41 -0500 (Sat, 10 Mar 2018) | 7 lines

Android: adding and fixing to the graphics clipping code

Android has no classic window manager, so FLTK has to
make sure that popup windows, dialog boxes and multi
window interfaces work as expectd.


------------------------------------------------------------------------
r12728 | manolo | 2018-03-10 01:55:57 -0500 (Sat, 10 Mar 2018) | 1 line

Remove useless #include statement.
------------------------------------------------------------------------
r12727 | manolo | 2018-03-10 01:46:13 -0500 (Sat, 10 Mar 2018) | 7 lines

Fl_Xlib_Graphics_Driver::scale_clip: restrict the computed X11 region to
the 16-bit coordinate space.

This member function transforms the current clip region from FLTK units to
pixel units
multiplying FLTK units by the current value of the scale factor to get
pixel units.
The current clip region has been, by construction, restricted to the 16-bit
coordinate space.
But these data can evade this space after multiplication by the scale
factor.
Thus, it's necessary to enforce the 16-bit space here which is done with
Fl_Xlib_Graphics_Driver::XRectangleRegion.
------------------------------------------------------------------------
r12726 | matt | 2018-03-09 19:46:12 -0500 (Fri, 09 Mar 2018) | 1 line

Android: crude graphics clipping
------------------------------------------------------------------------
r12725 | AlbrechtS | 2018-03-09 17:30:07 -0500 (Fri, 09 Mar 2018) | 13
lines

Improve X11 (16-bit) clipping of lines and rectangles.

In FLTK 1.3.x only horizontal and vertical long lines with endpoints
outside the 16-bit coordinate space could be drawn with proper X11
coordinate clipping. Now arbitrary lines are clipped so they can be
drawn with X11 functions.

All rectangles are clipped as well (as in 1.3).

Todo: The code needs better documentation and clipping of polygons,
circles, curves etc. is still missing. The next step should be the
clipping of polygons...

------------------------------------------------------------------------
r12724 | matt | 2018-03-09 16:21:23 -0500 (Fri, 09 Mar 2018) | 1 line

Android: move Android specific platform events to FL/android.H
------------------------------------------------------------------------
r12723 | manolo | 2018-03-09 11:27:27 -0500 (Fri, 09 Mar 2018) | 4 lines

Windows: remove necessity to compile with -DFLTK_HIDPI_SUPPORT to make
WIN32 FLTK apps DPI-aware.

At this point, Windows FLTK apps detect HighDPI displays and rescale their
GUI accordingly. They also
all reply to ctrl/+/-/0/ keystrokes to enlarge/shrink/reset their windows. 
------------------------------------------------------------------------
Download | Home Page | Listing ]

Comments

Submit Comment ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2015 by Bill Spitzak and others. This project is hosted by Seriss Corporation. Please report site problems to 'erco@seriss.com'.