Article #1445: FLTK 1.3.x Weekly Snapshot, r10987

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

Return to Articles | Show Comments | Submit Comment ]

Article #1445: FLTK 1.3.x Weekly Snapshot, r10987

Created at 03:04 Jan 01, 2016 by mike

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

    http://www.fltk.org/software.php?VERSION=fltk-1.3.x-r10987

Commit Log:

------------------------------------------------------------------------
r10987 | manolo | 2015-12-31 05:39:51 -0500 (Thu, 31 Dec 2015) | 2 lines

The changes introduced at r.10921 destroyed program-controlled window
resizing.
This change hopefully repairs that.
------------------------------------------------------------------------
r10986 | manolo | 2015-12-31 01:19:59 -0500 (Thu, 31 Dec 2015) | 5 lines

Mac OS: modified CMake config files to allow use of OPTION_APPLE_X11
to build an X11-using version of FLTK on the Mac OS platform.
This matches the recent support of the --enable-x11 option
by the configure script on the mac.

------------------------------------------------------------------------
r10985 | AlbrechtS | 2015-12-30 16:13:07 -0500 (Wed, 30 Dec 2015) | 17
lines

[CMake] config.h, part 2 - full compatibility with autoconf.

This commit makes the file config.h generated by CMake 100% compatible
with the one generated by autoconf/configure.

Fixes in this commit:
 - Set FLTK_DATADIR and FLTK_DOCDIR with the same default values.
   Note: needs some cleanup, option values are not clear, '/fltk'
   is currently appended in export.cmake (needs improvement).
 - Simulation of autoconf macro AC_HEADER_DIRENT for correct
   definition of only one 'dirent' header file.
 - Fix more function checks:
    - dlsym
    - png_get_valid
    - png_set_tRNS_to_alpha
 - Improve "Big Endian" check for __APPLE__ (mac_endianness.h).

------------------------------------------------------------------------
r10984 | AlbrechtS | 2015-12-30 09:37:35 -0500 (Wed, 30 Dec 2015) | 31
lines

Harmonize configure and CMake build system (part 1).

The files "config.h" generated by configure and CMake are now almost
identical, except a few comments and some still missing or failing
config tests, for instance checks for some functions in libraries.
[Note: tested and compared on Linux.]

configh.cmake.in: Fixed many #cmakedefine and #cmakedefine01 statements
  so they #define their variables as 0 or 1, or /* #undef */ it, resp.,
  as it is done in the configure build.

Added tests:
  - libXrender

Fixed tests:
  - function glXGetProcAddressARB

Todo (still failing tests in CMake):
  - HAVE_PNG_GET_VALID
  - HAVE_PNG_SET_TRNS_TO_ALPHA
  - HAVE_DLSYM

Other remaining issues:
  - compiler flags introduced in configure/make build
  - HAVE_SYS_NDIR_H - maybe missing test in configure ?
  - HAVE_SYS_DIR_H  - maybe missing test in configure ?
  - HAVE_NDIR_H     - maybe missing test in configure ?
  - WORDS_BIGENDIAN and #include <mac_endianness.h> ...
    i.e. Mac OS X specific #include needed or not ?


------------------------------------------------------------------------
r10983 | AlbrechtS | 2015-12-30 07:10:15 -0500 (Wed, 30 Dec 2015) | 8 lines

Add configure and CMake checks for X11/Xregion.h.

Configure and CMake now both check if X11/Xregion.h exists on the
build system and set HAVE_X11_XREGION_H in config.h accordingly.

src/Fl_Pixmap.cxx: modified to use the configure test as proposed by Manolo
in fltk.coredev on Dec 13 2015 in thread "Using X11 backend on OS X".

------------------------------------------------------------------------
r10982 | manolo | 2015-12-29 11:50:50 -0500 (Tue, 29 Dec 2015) | 2 lines

Mac OS: add if(APPLE condition to Mac OS-specific target property.

------------------------------------------------------------------------
r10981 | manolo | 2015-12-29 11:41:15 -0500 (Tue, 29 Dec 2015) | 6 lines

Mac OS: Enhanced the application bundle for the editor demo
so it is launchable by dropping any file on its icon. This is
done both for the configure/make and the CMake build systems
(the Xcode build system did that already).
The editor demo is the only one calling fl_open_callback().

------------------------------------------------------------------------
r10980 | manolo | 2015-12-26 11:14:19 -0500 (Sat, 26 Dec 2015) | 6 lines

Mac OS + CMake:  this file is used by CMake to build the Info.plist files
of the application
bundles it creates. This makes these apps support retina displays, because
the file contains
        <key>NSHighResolutionCapable</key>
        <true/>

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