Article #1548: FLTK 1.4.x Weekly Snapshot, r12459

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

Return to Articles | Show Comments | Submit Comment ]

Article #1548: FLTK 1.4.x Weekly Snapshot, r12459

Created at 03:00 Sep 15, 2017 by mike

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

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

Commit Log:

------------------------------------------------------------------------
r12459 | greg.ercolano | 2017-09-13 20:50:36 -0400 (Wed, 13 Sep 2017) | 20
lines

Reverting to previous; apparently this was a bug in doxygen 1.7.4's support
of header markdown.
The following is valid, documented, "standard markdown" for headers in
doxygen:

    This is a level 1 header
    ========================

    This is a level 2 header
    ------------------------

Upgrading doxygen from 1.7.4 to 1.8.13 fixed the problem.
So beware of 1.7.4 wrt to these kinds of header markdown;
the result in the docs was no header, the header text + underbars
were appearing inline with the text, crlfs removed.

Not sure exactly what version of doxygen this was fixed in;
a search in their bugzilla for 'headers' seemed to show no
directly relevant matches, other than maybe bug #681898.
https://bugzilla.gnome.org/show_bug.cgi?id=681898


------------------------------------------------------------------------
r12458 | greg.ercolano | 2017-09-13 19:25:59 -0400 (Wed, 13 Sep 2017) | 9
lines

Doxygen fix: The trick of using a line of dashes under a section heading no
longer works.

This has been working fine for years, not sure what version of doxygen
dropped this.
I'm running 1.7.4 here, and that trick isn't working for the Fl_Browser_.H
docs.

Changed to using <B> and </B> and <BR> which seems to work OK in both HTML
and PDF
generation.


------------------------------------------------------------------------
r12457 | greg.ercolano | 2017-09-13 17:56:49 -0400 (Wed, 13 Sep 2017) | 7
lines

Fixed small doxygen inconsistencies for do_callback value.

Internally Fl_Browser passes the raw value of when() as the
"do_callbacks" value, so it's important that ALL non-zero values
mean "do the callback' (and not just 1).


------------------------------------------------------------------------
r12456 | manolo | 2017-09-13 12:15:34 -0400 (Wed, 13 Sep 2017) | 1 line

SVG support: draw images at full screen resolution also when there are
several pixels per graphical unit, as with Apple retina displays.
------------------------------------------------------------------------
r12455 | manolo | 2017-09-13 03:28:35 -0400 (Wed, 13 Sep 2017) | 1 line

Mac OS: use Fl_Graphics_Driver::has_feature(PRINTER) to detect when drawing
to a printer.
------------------------------------------------------------------------
r12454 | manolo | 2017-09-13 02:29:16 -0400 (Wed, 13 Sep 2017) | 1 line

Mac OS: explain more accurately in comments how the tricky part of printing
an Fl_RGB_Image is handled.
------------------------------------------------------------------------
r12453 | greg.ercolano | 2017-09-12 16:12:47 -0400 (Tue, 12 Sep 2017) | 2
lines

Demo image for Fl_Multi_Label docs.

------------------------------------------------------------------------
r12452 | greg.ercolano | 2017-09-12 16:12:21 -0400 (Tue, 12 Sep 2017) | 2
lines

Add reference to image in docs.

------------------------------------------------------------------------
r12451 | greg.ercolano | 2017-09-12 16:10:25 -0400 (Tue, 12 Sep 2017) | 3
lines

Add divider above Quit menu item. (needed for demo screenshot)


------------------------------------------------------------------------
r12450 | AlbrechtS | 2017-09-12 11:26:36 -0400 (Tue, 12 Sep 2017) | 2 lines

Documentation and copyright updates.

------------------------------------------------------------------------
r12449 | AlbrechtS | 2017-09-12 09:44:15 -0400 (Tue, 12 Sep 2017) | 7 lines

Fluid: remove redundant code, fix FL_IMAGE_LABEL labeltype.

Remove leading underscore from _FL_IMAGE_LABEL.
Remove redundant assignment of image().

Thanks to Greg for finding these issues.

------------------------------------------------------------------------
r12448 | AlbrechtS | 2017-09-12 09:05:48 -0400 (Tue, 12 Sep 2017) | 9 lines

Remove leading underscore from labeltyps as far as possible.

Removed obsolete '\todo' item from docs (done with recent commits).

Removed redundant code from label assignment (e.g. use FL_IMAGE_LABEL
instead of label type assignment + use of _FL_IMAGE_LABEL).

See recent commits.

------------------------------------------------------------------------
r12447 | AlbrechtS | 2017-09-12 08:55:30 -0400 (Tue, 12 Sep 2017) | 4 lines

Fluid: align internal tables (no code changes).

Note: tab width 8.

------------------------------------------------------------------------
r12446 | AlbrechtS | 2017-09-12 08:49:48 -0400 (Tue, 12 Sep 2017) | 2 lines

Update ignored files: new example howto-menu-with-images.

------------------------------------------------------------------------
r12445 | greg.ercolano | 2017-09-11 17:27:53 -0400 (Mon, 11 Sep 2017) | 2
lines

Doxygen Fl_Multi_Label example code added. (STR #3400)

------------------------------------------------------------------------
r12444 | AlbrechtS | 2017-09-11 15:06:32 -0400 (Mon, 11 Sep 2017) | 6 lines

Remove leading underscore from labeltype(s) in new demo.

Since svn r12443 we can use all labeltypes (including FL_IMAGE_LABEL and
FL_MULTI_LABEL) w/o leading underscore. We can also use both documented
variants to assign an FL_MULTI_LABEL to an Fl_Menu_Item.

------------------------------------------------------------------------
r12443 | AlbrechtS | 2017-09-11 14:54:10 -0400 (Mon, 11 Sep 2017) | 11
lines

Add missing Fl_Labeltype and Fl_Boxtype definitions.

Some labeltypes and boxtypes were missing a #define for the enum
without a leading underscore and the corresponding setup function
to initialize the internal table of boxtypes and labeltypes, for
instance _FL_MULTI_LABEL. This is now fixed so (hopefully) all boxtypes
and labeltypes can and _should_ be used w/o leading underscore.

Note: if there are still boxtypes or labeltypes that can't be used w/o
leading underscore this should be considered a bug and is to be fixed ASAP.

------------------------------------------------------------------------
r12442 | greg.ercolano | 2017-09-11 14:36:35 -0400 (Mon, 11 Sep 2017) | 3
lines

Simplified the example's menu item callback.


------------------------------------------------------------------------
r12441 | greg.ercolano | 2017-09-11 14:12:58 -0400 (Mon, 11 Sep 2017) | 3
lines

Applied Manolo's recommendation (fltk.coredev), removing unnecessary
item->image(*pixmap) call.


------------------------------------------------------------------------
r12440 | greg.ercolano | 2017-09-10 20:50:06 -0400 (Sun, 10 Sep 2017) | 3
lines

Added example code to demonstrate Fl_Multi_Label for STR#3400.


------------------------------------------------------------------------
r12439 | AlbrechtS | 2017-09-10 07:38:23 -0400 (Sun, 10 Sep 2017) | 10
lines

Fix compiler warning and potential error in PNG error handling.

Compilation with gcc -Wall -Wextra displayed the following warning:

Fl_PNG_Image.cxx: In member function 'void Fl_PNG_Image::load_png_(const
char*, const unsigned char*, int)':
Fl_PNG_Image.cxx:118:9: warning: variable 'fp' might be clobbered by
'longjmp' or 'vfork' [-Wclobbered]

Making the variable static and initializing it properly avoids this
potential error in the PNG lib's error handling.

------------------------------------------------------------------------
r12438 | manolo | 2017-09-09 11:58:22 -0400 (Sat, 09 Sep 2017) | 2 lines

Set svn ps for this new file.

------------------------------------------------------------------------
r12437 | manolo | 2017-09-09 11:53:10 -0400 (Sat, 09 Sep 2017) | 2 lines

These files are no longer used. They are replaced by nanosvg.h and
nanosvg.diff.

------------------------------------------------------------------------
r12436 | manolo | 2017-09-09 11:51:06 -0400 (Sat, 09 Sep 2017) | 1 line

Differences between the FLTK-modified and the nanosvg versions of file
nanosvg.h
------------------------------------------------------------------------
r12435 | manolo | 2017-09-09 11:47:04 -0400 (Sat, 09 Sep 2017) | 1 line

Fix nanosvg implementation of nsvg__atof() to allow compilation with Visual
Studio 7.
------------------------------------------------------------------------
r12434 | manolo | 2017-09-09 08:52:39 -0400 (Sat, 09 Sep 2017) | 1 line

#include <locale.h> is no longer needed.
------------------------------------------------------------------------
r12433 | manolo | 2017-09-09 08:35:06 -0400 (Sat, 09 Sep 2017) | 3 lines

Make virtual member function Fl_Image::draw_scaled(int X, int Y, int W, int
H) protected rather than private.

Consequently, remove the trailing _ from its name reserved for private
class members.
------------------------------------------------------------------------
r12432 | AlbrechtS | 2017-09-08 11:02:04 -0400 (Fri, 08 Sep 2017) | 5 lines

Enhance howto-drag-and-drop example program.

Refer to discussion if fltk.general, thread "Drag and drop issue"
in August September 2017.

------------------------------------------------------------------------
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'.