Article #1496: FLTK 1.4.x Weekly Snapshot, r12104

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

Return to Articles | Show Comments | Submit Comment ]

Article #1496: FLTK 1.4.x Weekly Snapshot, r12104

Created at 17:27 Nov 11, 2016 by mike

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

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

Commit Log:

------------------------------------------------------------------------
r12104 | AlbrechtS | 2016-11-11 13:18:42 -0800 (Fri, 11 Nov 2016) | 5 lines

Fix ignored files, add 'build' directory to ignored files.

The 'build' directory must never be used in the FLTK source.
It is reserved as the recommended build directory for CMake.

------------------------------------------------------------------------
r12103 | AlbrechtS | 2016-11-11 13:07:54 -0800 (Fri, 11 Nov 2016) | 6 lines

Please ignore the last commit message (svn r12101).

This is branch-1.4, and that commit was not intended to be in branch-1.4.

branch-1.4 is the current active development branch for FLTK 1.4.

------------------------------------------------------------------------
r12101 | AlbrechtS | 2016-11-11 11:43:49 -0800 (Fri, 11 Nov 2016) | 26
lines

Final commit to branch-1.3-porting *after* the release of FLTK 1.3.4.

The new development branch is now branch-1.4.

See important notes below.

------------------------------------------------------------------------

Note to svn (subversion) users: This branch (branch-1.3-porting)
is finished since the release of FLTK 1.3.4.

The new development branch is now branch-1.4 -- please checkout a new,
clean svn working copy if you want to get branch-1.4 (previously
branch-1.3-porting).

------------------------------------------------------------------------

Note to Git users: if you used the Git branch 'branch-1.3-porting'
to get the FLTK 1.4 development branch, then you need to switch to
branch-1.4 now, which is the official current development branch.

Please checkout branch-1.4 (after git fetch or git pull), and you're
done.

------------------------------------------------------------------------

------------------------------------------------------------------------
r12099 | AlbrechtS | 2016-11-11 09:55:44 -0800 (Fri, 11 Nov 2016) | 13
lines

Start branch-1.4 after rename from branch-1.3-porting.

Added FLTK 1.3 CHANGES file as CHANGES_1.3, updated CHANGES to start
release info (changelog) for FLTK 1.4.

You can update the svn configuration of your working to get this
branch if you previously used branch-1.3-porting:

 $ svn switch http://seriss.com/public/fltk/fltk/branches/branch-1.4

If you used branch-1.3 previously we recommend to checkout the new
branch-1.4 in a new working copy.

------------------------------------------------------------------------
r12098 | AlbrechtS | 2016-11-11 09:21:48 -0800 (Fri, 11 Nov 2016) | 1 line

Create branch-1.4 from branch-1.3-porting.
------------------------------------------------------------------------
r12095 | manolo | 2016-11-10 11:58:20 -0800 (Thu, 10 Nov 2016) | 1 line

Fl_Quartz_Graphics_Driver::uncache() should also reset mask_.
------------------------------------------------------------------------
r12091 | manolo | 2016-11-09 12:55:50 -0800 (Wed, 09 Nov 2016) | 1 line

Fix possible crash when turning fullscreen the scroll test program.
------------------------------------------------------------------------
r12088 | manolo | 2016-11-09 01:49:48 -0800 (Wed, 09 Nov 2016) | 1 line

Use Fl_Graphics_Driver::default_driver() when convenient.
------------------------------------------------------------------------
r12087 | manolo | 2016-11-08 23:00:16 -0800 (Tue, 08 Nov 2016) | 1 line

Reuse the same "data provider release callback" several times.
------------------------------------------------------------------------
r12086 | manolo | 2016-11-08 13:59:26 -0800 (Tue, 08 Nov 2016) | 1 line

MacOS:  use less temporary copies of image data for image printing.
------------------------------------------------------------------------
r12083 | manolo | 2016-11-06 10:28:24 -0800 (Sun, 06 Nov 2016) | 7 lines

MacOS: fix possible issue with fullscreen windows containing hidden
subwindows

An error occurred with the tabs test program
- activate the last tab (containing 3 subwindows)
- activate another tab (the subwindows get hidden)
- set window fullscreen ===> the subwindows are visible and they should not
- reactivate the last tab ===> the subwindows are not where they should be
------------------------------------------------------------------------
r12082 | manolo | 2016-11-06 10:20:58 -0800 (Sun, 06 Nov 2016) | 1 line

MacOS: another way to make sure windowDidResize does not access Fl_Window
after [FLWindow close] message was sent
------------------------------------------------------------------------
r12081 | AlbrechtS | 2016-11-06 02:48:40 -0800 (Sun, 06 Nov 2016) | 1 line

Fix test/native-filechooser help display artefact (STR #3349).
------------------------------------------------------------------------
r12079 | manolo | 2016-11-04 23:00:52 -0700 (Fri, 04 Nov 2016) | 1 line

Slightly improve the parameter list of member function int
Fl_Graphics_Driver::start_image(...)
------------------------------------------------------------------------
r12078 | manolo | 2016-11-03 14:28:09 -0700 (Thu, 03 Nov 2016) | 1 line

Rename Fl_Bitmap::start() to Fl_Bitmap::prepare().
------------------------------------------------------------------------
r12077 | manolo | 2016-11-03 09:34:13 -0700 (Thu, 03 Nov 2016) | 1 line

Factorize repeated code across platform-specific graphics drivers and image
types
------------------------------------------------------------------------
r12076 | manolo | 2016-11-02 14:08:15 -0700 (Wed, 02 Nov 2016) | 1 line

Replace declarations such as "friend class Fl_Xlib_Graphics_Driver;" by
platform-independent declarations.
------------------------------------------------------------------------
r12075 | manolo | 2016-11-02 07:36:29 -0700 (Wed, 02 Nov 2016) | 1 line

Close small memory leak in Fl_File_Chooser: a bad image file creates an
Fl_Shared_Image but never releases it.
------------------------------------------------------------------------
r12074 | AlbrechtS | 2016-11-02 04:50:18 -0700 (Wed, 02 Nov 2016) | 2 lines

Accept empty Fl_Pixmap in Fl_RGB_Image c'tor (STR #3348).

------------------------------------------------------------------------
r12070 | AlbrechtS | 2016-11-01 13:45:42 -0700 (Tue, 01 Nov 2016) | 1 line

Minor CMake documentation clarification.
------------------------------------------------------------------------
r12068 | manolo | 2016-11-01 09:38:37 -0700 (Tue, 01 Nov 2016) | 1 line

MacOS: fix crash when closing a fullscreen window - continued
------------------------------------------------------------------------
r12067 | manolo | 2016-11-01 09:36:08 -0700 (Tue, 01 Nov 2016) | 1 line

MacOS: fix crash when closing a fullscreen window
------------------------------------------------------------------------
r12066 | AlbrechtS | 2016-11-01 08:18:31 -0700 (Tue, 01 Nov 2016) | 1 line

Documentation updates (IDE and CMake support).
------------------------------------------------------------------------
r12063 | manolo | 2016-10-30 13:55:31 -0700 (Sun, 30 Oct 2016) | 1 line

Replace erroneous bitwise & by logical &&
------------------------------------------------------------------------
r12062 | manolo | 2016-10-30 12:56:27 -0700 (Sun, 30 Oct 2016) | 1 line

Complete introduction of virtual Fl_RGB_Image *Fl_Image::as_rgb_image()
begun at r.12061
------------------------------------------------------------------------
r12061 | manolo | 2016-10-30 00:26:13 -0700 (Sun, 30 Oct 2016) | 1 line

Add virtual Fl_RGB_Image* Fl_Image::as_rgb_image() to detect whether an
Fl_Image is derived from Fl_RGB_Image
------------------------------------------------------------------------
r12060 | AlbrechtS | 2016-10-28 14:42:42 -0700 (Fri, 28 Oct 2016) | 9 lines

Fix string truncation in fluid (STR #2722 continued).

This commit fixes the truncated string drawing that was partly fixed
in svn r 9112 (FLTK 1.3.1, 2011-10-01).

Combined port of svn r 12057 and 12059. The latter adds sanity checks
and fixes potential buffer overflows.


------------------------------------------------------------------------
r12056 | manolo | 2016-10-27 09:41:05 -0700 (Thu, 27 Oct 2016) | 1 line

  MacOS: fix a small problem where command Quit of the application menu may
not work if Fl_Native_File_Chooser is used before any window is shown.
------------------------------------------------------------------------
r12053 | manolo | 2016-10-22 04:42:20 -0700 (Sat, 22 Oct 2016) | 4 lines

WIN platform: implement Fl_GDI_Graphics_Driver::draw_scaled(Fl_Image
*img,int,int,int,int) when img is a Fl_RGB_Image

Implementation uses StretchBlt() when img->d() is  1 or 3 and AlphaBlend()
when it is 2 or 4.
This should turn useful to draw images on HighDPI displays using the
display's true resolution.
------------------------------------------------------------------------
r12052 | manolo | 2016-10-20 21:51:15 -0700 (Thu, 20 Oct 2016) | 1 line

Reorganize and simplify function Fl_Graphics_Driver::draw(Fl_Shared_Image
*, int, int)
------------------------------------------------------------------------
r12051 | manolo | 2016-10-19 10:25:53 -0700 (Wed, 19 Oct 2016) | 1 line

Remove erroneous uses of sizeof(filename) where filename is a char* and not
a char array
------------------------------------------------------------------------
r12050 | manolo | 2016-10-19 01:40:41 -0700 (Wed, 19 Oct 2016) | 1 line

Add one more argument to virtual
Fl_System_Driver::file_browser_load_filesystem() giving length of the
filename argument
------------------------------------------------------------------------
r12049 | manolo | 2016-10-19 01:31:48 -0700 (Wed, 19 Oct 2016) | 1 line

Make sure "/" is always in the list of file systems reported by
Fl_File_Chooser (Unix/Linux platform)
------------------------------------------------------------------------
r12045 | greg.ercolano | 2016-10-17 12:20:36 -0700 (Mon, 17 Oct 2016) | 5
lines

Bring over combined fix [r12044] from 1.3 current to the porting branch.

Applied patch from STR #3335 to fix simple GUI issues.
 

------------------------------------------------------------------------
r12043 | greg.ercolano | 2016-10-17 10:00:58 -0700 (Mon, 17 Oct 2016) | 6
lines

Bring over combined fix [r12041/12042] from 1.3 current to the porting
branch.

Added line numbers to Edit -> Show Source Code viewer (source + header
tabs)
Fixes Aditya Siram's observation today on fltk.coredev.


------------------------------------------------------------------------
r12039 | AlbrechtS | 2016-10-17 06:10:43 -0700 (Mon, 17 Oct 2016) | 1 line

Update bundled config.sub to a slightly newer version.
------------------------------------------------------------------------
r12037 | AlbrechtS | 2016-10-17 05:51:58 -0700 (Mon, 17 Oct 2016) | 5 lines

Minor fix of tree demo program (show tree widgets).

Clicking "Rebuild Tree" after "Close All" did not show the widgets
(Fl_Input test, ccc button, D1, D2). This is now fixed.

------------------------------------------------------------------------
r12036 | AlbrechtS | 2016-10-17 05:51:05 -0700 (Mon, 17 Oct 2016) | 1 line

Add non-const version of Fl_Tree_Item::tree().
------------------------------------------------------------------------
r12033 | AlbrechtS | 2016-10-16 14:04:24 -0700 (Sun, 16 Oct 2016) | 1 line

Documentation updates.
------------------------------------------------------------------------
r12031 | manolo | 2016-10-16 08:12:46 -0700 (Sun, 16 Oct 2016) | 1 line

Add Doxygen note that class Fl_Device_Plugin is not intended for public
use.
------------------------------------------------------------------------
r12029 | AlbrechtS | 2016-10-14 09:35:52 -0700 (Fri, 14 Oct 2016) | 6 lines

Fix inconsistent interpretation of ld() in image handling (STR #3308).

Documentation has been fixed and clarified, and ld() handling is now
consistent in Fl_(RGB_)Image, their subclasses and fl_draw_image()
and similar functions.

------------------------------------------------------------------------
r12027 | AlbrechtS | 2016-10-14 07:33:18 -0700 (Fri, 14 Oct 2016) | 1 line

Documentation fixes.
------------------------------------------------------------------------
r12025 | manolo | 2016-10-14 02:17:15 -0700 (Fri, 14 Oct 2016) | 7 lines

MacOS: finer control of the compilation conditions under which Core text
and ATSU are used or not.

The compilation conditions depend on the targeted architecture, what
version of the SDK is used,
and what MacOS deployment version is used. Under most conditions, a single
API is possible,
and no pointer-to-member function is used.
But the code supports building apps that can run both APIs depending on the
version of the
running MacOS.
------------------------------------------------------------------------
r12024 | manolo | 2016-10-11 00:17:04 -0700 (Tue, 11 Oct 2016) | 1 line

Add public: to definition of class Fl_Quartz_Printer_Graphics_Driver.
------------------------------------------------------------------------
r12023 | manolo | 2016-10-11 00:14:47 -0700 (Tue, 11 Oct 2016) | 1 line

Replace .h by .H in #include "Fl_Quartz_Graphics_Driver.h"
------------------------------------------------------------------------
r12022 | manolo | 2016-10-10 14:19:39 -0700 (Mon, 10 Oct 2016) | 5 lines

Re-organisation of code to support CoreText and ATSU for drawing text.

We avoid using one CoreText-related and one ATSU-related derived classes
of class Fl_Quartz_Graphics_Driver. Thus, class Fl_Quartz_Graphics_Driver
can
be derived if useful and still support both text APIs.
------------------------------------------------------------------------
r12019 | manolo | 2016-10-06 23:12:33 -0700 (Thu, 06 Oct 2016) | 1 line

Remove Fl_Xlib_Graphics_Driver::global_gc() because identical to
Fl_Graphics_Driver::global_gc()
------------------------------------------------------------------------
r12018 | manolo | 2016-10-06 23:04:28 -0700 (Thu, 06 Oct 2016) | 1 line

Fl_Graphics_Driver::global_gc() is already implemented in
Fl_Graphics_Driver.cxx
------------------------------------------------------------------------
r12017 | manolo | 2016-10-06 10:03:30 -0700 (Thu, 06 Oct 2016) | 1 line

  Correct function Fl_GDI_Graphics_Driver::gc(void*) that did not update
the global variable fl_gc correctly.
------------------------------------------------------------------------
r12016 | manolo | 2016-10-06 09:59:37 -0700 (Thu, 06 Oct 2016) | 1 line

Correct function Fl_Quartz_Graphics_Driver::gc(void*) that did not update
the global variable fl_gc correctly.
------------------------------------------------------------------------
r12015 | manolo | 2016-10-06 09:42:59 -0700 (Thu, 06 Oct 2016) | 1 line

Introduce virtual void Fl_Menu_Bar::update() with a platform-specific
reimplementation to support Fl_Sys_Menu_Bar.
------------------------------------------------------------------------
r12014 | manolo | 2016-10-06 01:55:22 -0700 (Thu, 06 Oct 2016) | 1 line

Make source code of test/file_chooser.cxx platform-independent.
------------------------------------------------------------------------
r12013 | manolo | 2016-10-05 00:40:15 -0700 (Wed, 05 Oct 2016) | 1 line

Fl_Native_File_Chooser on MacOS: improve handling of case where no chooser
title is set.
------------------------------------------------------------------------
r12011 | manolo | 2016-10-04 08:00:34 -0700 (Tue, 04 Oct 2016) | 1 line

  Improve Fl_Native_File_Chooser open dialog under Mac OS 10.12 that had
lost its titlebar message.
------------------------------------------------------------------------
r12009 | manolo | 2016-10-04 04:29:57 -0700 (Tue, 04 Oct 2016) | 1 line

Fix for STR#3308 - MacOS X-specific part.
------------------------------------------------------------------------
r12006 | manolo | 2016-10-03 08:50:26 -0700 (Mon, 03 Oct 2016) | 2 lines

Xcode version 8 can

------------------------------------------------------------------------
r12003 | AlbrechtS | 2016-10-01 15:43:56 -0700 (Sat, 01 Oct 2016) | 5 lines

Fl_Shared_Image documentation enhancements and clarifications.

Minor code changes (e.g. renaming of variables) included, but no functional
changes.

------------------------------------------------------------------------
r12001 | greg.ercolano | 2016-10-01 14:22:20 -0700 (Sat, 01 Oct 2016) | 7
lines

Bringing over fix [r12000] from 1.3 current to the porting branch.

Applying my suggested patch to solve immediate issues with STR #3231.
Probably more needs to be done (see STR), but at least solves the
immediate issues.


------------------------------------------------------------------------
r11999 | AlbrechtS | 2016-09-30 14:44:04 -0700 (Fri, 30 Sep 2016) | 9 lines

Configure fixes and enhancements, ported from branch-1.3.

- Abort configure if Xft was requested explicitly, but not found.
- Set config.h HAVE_* variables only if both library and header found.
- Replace deprecated configure macros with recommended ones.
- Improve indenting (clarify macro arguments).
- Remove all autoconf warnings (see autoconf --warnings=all).
- Normalize indenting with tabs+spaces.

------------------------------------------------------------------------
r11998 | AlbrechtS | 2016-09-30 14:09:59 -0700 (Fri, 30 Sep 2016) | 2 lines

Rename configure.in to configure.ac.

------------------------------------------------------------------------
r11993 | manolo | 2016-09-29 06:28:40 -0700 (Thu, 29 Sep 2016) | 1 line

Avoid compilation warnings with -Wmaybe-uninitialized
------------------------------------------------------------------------
r11992 | manolo | 2016-09-28 07:41:40 -0700 (Wed, 28 Sep 2016) | 1 line

Avoid possible autorelease warning message sent by "fluid -c" that calls
Fl_Window::size_range()
------------------------------------------------------------------------
r11990 | manolo | 2016-09-27 08:11:46 -0700 (Tue, 27 Sep 2016) | 1 line

  MacOS platform: fix building under OS 10.4 that may not have
kCGBitmapByteOrder32Host #define'd
------------------------------------------------------------------------
r11988 | manolo | 2016-09-26 12:35:20 -0700 (Mon, 26 Sep 2016) | 1 line

Rename Fl_System_Driver::flNoValue to Fl_System_Driver::fl_NoValue to
follow the CMP
------------------------------------------------------------------------
r11987 | greg.ercolano | 2016-09-26 12:31:29 -0700 (Mon, 26 Sep 2016) | 5
lines

Bringing over fix [r11986] from 1.3 current to the porting branch.

Small doc clarification for omitted word, caught by Albrecht via private
email.


------------------------------------------------------------------------
r11985 | manolo | 2016-09-26 09:57:37 -0700 (Mon, 26 Sep 2016) | 1 line

Replace a few global variables by members of the Fl_Quartz_Graphics_Driver
class
------------------------------------------------------------------------
r11984 | manolo | 2016-09-26 09:49:13 -0700 (Mon, 26 Sep 2016) | 2 lines

These files are no longer useful.

------------------------------------------------------------------------
r11983 | manolo | 2016-09-26 09:46:31 -0700 (Mon, 26 Sep 2016) | 1 line

File src/drivers/Quartz/Fl_Quartz_Printer_Graphics_Driver.cxx is no longer
useful.
------------------------------------------------------------------------
r11982 | manolo | 2016-09-26 09:43:10 -0700 (Mon, 26 Sep 2016) | 1 line

MacOS platform: the printer's graphics driver should also call
Fl_Graphics_Driver::newMainGraphicsDriver()
------------------------------------------------------------------------
r11981 | manolo | 2016-09-26 05:08:37 -0700 (Mon, 26 Sep 2016) | 1 line

Mac OS platform: Remove old Carbon code from cairo/Fl_Cairo.cxx
------------------------------------------------------------------------
r11979 | manolo | 2016-09-25 23:26:59 -0700 (Sun, 25 Sep 2016) | 1 line

MacOS platform: centralize check whether a font has been set before drawing
text
------------------------------------------------------------------------
r11978 | AlbrechtS | 2016-09-25 04:23:27 -0700 (Sun, 25 Sep 2016) | 6 lines

X11: More explicit warning when using rotated text w/o Xft.

The warning is issued to stderr only once (previously: every time rotated
text was used).


------------------------------------------------------------------------
r11976 | AlbrechtS | 2016-09-24 16:15:48 -0700 (Sat, 24 Sep 2016) | 7 lines

Fl_Tree documentation fixes and two missing statements.

Missing statements found while merging fixes from branch-1.3.

Todo: check if they have been 'lost' in the porting process
  or removed deliberately in branch-1.3-porting.

------------------------------------------------------------------------
r11974 | manolo | 2016-09-23 23:27:18 -0700 (Fri, 23 Sep 2016) | 1 line

Add MAC_OS_X_VERSION_10_12 preprocessor variable
------------------------------------------------------------------------
r11973 | manolo | 2016-09-23 23:21:37 -0700 (Fri, 23 Sep 2016) | 1 line

Mac OS platform: restore usability with SDK 10.3 and 10.4
------------------------------------------------------------------------
r11972 | manolo | 2016-09-23 08:22:02 -0700 (Fri, 23 Sep 2016) | 1 line

Remove useless forward declaration.
------------------------------------------------------------------------
r11971 | AlbrechtS | 2016-09-23 07:04:56 -0700 (Fri, 23 Sep 2016) | 5 lines

Fix potential crash when using keyboard nav. on Fl_Tabs (STR #3333).

Also: more consistent use of 'const int nc = children()'. Added 'const'
qualifier for clarity only. This does not change the behavior.

------------------------------------------------------------------------
r11968 | manolo | 2016-09-23 06:56:07 -0700 (Fri, 23 Sep 2016) | 1 line

Move font-related member functions from Fl_Screen_Driver to
Fl_Graphics_Driver.
------------------------------------------------------------------------
r11967 | manolo | 2016-09-23 00:47:57 -0700 (Fri, 23 Sep 2016) | 9 lines

Fl_Quartz_Graphics_Driver: separate CoreText- and ATSU-based code using
new, derived classes.

FLTK for the Mac OS platform draws text using 2 distinct system APIs
depending on the 
version of the running OS. Classes Fl_CoreText_Graphics_Driver and
Fl_ATSU_Graphics_Driver are defined
and implement the same virtual functions of class Fl_Quartz_Graphics_Driver
using
CoreText and ATSU, respectively. The app allocates an object of one of
these derived
classes according to the running OS version.


------------------------------------------------------------------------
r11966 | manolo | 2016-09-22 06:22:03 -0700 (Thu, 22 Sep 2016) | 1 line

Fl_Screen_Driver class: its platform dependent member functions should not
be static.
------------------------------------------------------------------------
r11965 | manolo | 2016-09-22 00:44:34 -0700 (Thu, 22 Sep 2016) | 1 line

Rewrite Fl::set_fonts(), Fl::get_font_sizes(), Fl::get_font_name() under
the driver model.
------------------------------------------------------------------------
r11964 | manolo | 2016-09-21 12:56:03 -0700 (Wed, 21 Sep 2016) | 1 line

Remove a block of header comments in the middle of the file.
------------------------------------------------------------------------
r11963 | manolo | 2016-09-21 12:25:47 -0700 (Wed, 21 Sep 2016) | 1 line

Restore building with X11 but not Xft
------------------------------------------------------------------------
r11960 | manolo | 2016-09-20 23:13:38 -0700 (Tue, 20 Sep 2016) | 1 line

  Remove the 'suppressed' variable from cocoaMouseHandler(), a useless
residue from ancient code.
------------------------------------------------------------------------
r11958 | manolo | 2016-09-20 06:48:55 -0700 (Tue, 20 Sep 2016) | 1 line

Restructure the code behind double Fl_Cocoa_Screen_Driver::wait(double
time_to_wait)
------------------------------------------------------------------------
r11957 | AlbrechtS | 2016-09-20 06:35:44 -0700 (Tue, 20 Sep 2016) | 2 lines

Update dependencies.

------------------------------------------------------------------------
r11956 | AlbrechtS | 2016-09-20 06:31:38 -0700 (Tue, 20 Sep 2016) | 1 line

Update fluid files and copyright.
------------------------------------------------------------------------
r11953 | manolo | 2016-09-20 05:58:51 -0700 (Tue, 20 Sep 2016) | 1 line

Remove fl_wait() that is not part of the public API.
------------------------------------------------------------------------
r11951 | manolo | 2016-09-19 09:59:59 -0700 (Mon, 19 Sep 2016) | 1 line

Remove fl_ready() not in public API and mostly same as
Fl_XXX_Screen_Driver::ready()
------------------------------------------------------------------------
r11950 | manolo | 2016-09-19 08:33:21 -0700 (Mon, 19 Sep 2016) | 4 lines

Remove virtual bool Fl_Graphics_Driver::high_resolution() unlikely to be
useful across platforms.

HighDPI support is done with very different means across platforms, so a
boolean
value is unlikely to be meaningful across platforms.
------------------------------------------------------------------------
r11949 | manolo | 2016-09-19 08:10:28 -0700 (Mon, 19 Sep 2016) | 1 line

Remove static bool Fl_Display_Device::high_resolution() which may not be
really useful.
------------------------------------------------------------------------
r11948 | greg.ercolano | 2016-09-16 13:29:13 -0700 (Fri, 16 Sep 2016) | 6
lines

Bringing over fix [r11947] from 1.3 current to the porting branch.

Small size mods to prevent Fl_Help_View scrollbar and wordwrap,
while keeping Albrecht's recent mods.


------------------------------------------------------------------------
r11946 | manolo | 2016-09-16 02:27:32 -0700 (Fri, 16 Sep 2016) | 1 line

Documentation: restructure the description of function Fl::paste().
------------------------------------------------------------------------
r11942 | manolo | 2016-09-13 03:56:19 -0700 (Tue, 13 Sep 2016) | 1 line

Remove possible warnings when compiling with -Wundef
------------------------------------------------------------------------
r11941 | AlbrechtS | 2016-09-12 17:59:04 -0700 (Mon, 12 Sep 2016) | 5 lines

Fix native file chooser test program (STR #3326).

Fix compilation error under Windows with MS compiler (Visual Studio) only.
Also fix layout and resizing behavior.

------------------------------------------------------------------------
r11938 | manolo | 2016-09-12 09:21:19 -0700 (Mon, 12 Sep 2016) | 1 line

Fix typo in macro __LP64__
------------------------------------------------------------------------
r11937 | manolo | 2016-09-12 08:48:09 -0700 (Mon, 12 Sep 2016) | 1 line

Remove code requiring config.h from public header FL/x.H
------------------------------------------------------------------------
r11936 | manolo | 2016-09-12 05:02:38 -0700 (Mon, 12 Sep 2016) | 1 line

Create virtual void Fl_Graphics_Driver::draw(Fl_Shared_Image*,...)
------------------------------------------------------------------------
r11935 | manolo | 2016-09-12 04:26:05 -0700 (Mon, 12 Sep 2016) | 1 line

Document function fl_open_callback()
------------------------------------------------------------------------
r11934 | manolo | 2016-09-12 03:52:27 -0700 (Mon, 12 Sep 2016) | 2 lines

Make clear that clipboard and drag-n-drop textual data are UTF-8 encoded.

------------------------------------------------------------------------
r11932 | manolo | 2016-09-11 07:24:36 -0700 (Sun, 11 Sep 2016) | 1 line

Change FL/porting.H after having rewritten x.H and platform_types.h under
the driver model.
------------------------------------------------------------------------
r11931 | manolo | 2016-09-11 01:09:00 -0700 (Sun, 11 Sep 2016) | 1 line

Make Fl_Native_File_Chooser_FLTK.cxx compilable with FL_PORTING on.
------------------------------------------------------------------------
r11930 | manolo | 2016-09-11 00:12:11 -0700 (Sun, 11 Sep 2016) | 1 line

Put the code that defines the layout of struct _XRegion in FL/x.H
------------------------------------------------------------------------
r11929 | manolo | 2016-09-09 08:56:33 -0700 (Fri, 09 Sep 2016) | 1 line

Rewrite fl_open_callback() under the driver model.
------------------------------------------------------------------------
r11928 | manolo | 2016-09-07 09:05:55 -0700 (Wed, 07 Sep 2016) | 2 lines

configure build and Mac platform: make the colbrowser and help demo find
their data file

------------------------------------------------------------------------
r11926 | greg.ercolano | 2016-09-05 12:45:52 -0700 (Mon, 05 Sep 2016) | 6
lines

Bringing over fix [r11923] from 1.3 current to the porting branch.
(Slightly different from 1.3 current patch, as files were split)

Code indent consistency + doxygen \code indent fixes.


------------------------------------------------------------------------
r11925 | greg.ercolano | 2016-09-05 12:31:13 -0700 (Mon, 05 Sep 2016) | 5
lines

Bringing over fix [r11924] from 1.3 current to the porting branch.

Help text typo


------------------------------------------------------------------------
r11922 | greg.ercolano | 2016-09-05 09:56:54 -0700 (Mon, 05 Sep 2016) | 5
lines

Bringing over fix [r11920] from 1.3 current to the porting branch.

Fixes STR#3200 issue with filter() on Win32.


------------------------------------------------------------------------
r11921 | greg.ercolano | 2016-09-05 09:56:10 -0700 (Mon, 05 Sep 2016) | 5
lines

Bringing over fix [r11919] from 1.3 current to the porting branch.

Added "Filter" field to test filter strings.


------------------------------------------------------------------------
r11915 | manolo | 2016-09-01 12:41:26 -0700 (Thu, 01 Sep 2016) | 1 line

Output also a bundled version of demo, as done for all other test apps
under Mac OS platform.
------------------------------------------------------------------------
r11913 | AlbrechtS | 2016-09-01 03:35:21 -0700 (Thu, 01 Sep 2016) | 10
lines

Fix buffer overflow in CR/LF conversion.

An already present CR/LF combination causes us to jump two characters,
but we failed to update the length counter when doing this.

This also makes sure we handle the corner case of a CR as the last
character.

Note: porting Pierre Ossman's commit (svn r11873) to branch-1.3-porting.

------------------------------------------------------------------------
r11912 | manolo | 2016-08-31 10:01:27 -0700 (Wed, 31 Aug 2016) | 1 line

Remove another instance of the USING_XCODE preprocessor variable
------------------------------------------------------------------------
r11911 | manolo | 2016-08-31 09:59:22 -0700 (Wed, 31 Aug 2016) | 1 line

Fix Mac OS launching of the browser test program.
------------------------------------------------------------------------
r11910 | manolo | 2016-08-31 09:14:39 -0700 (Wed, 31 Aug 2016) | 1 line

Remove one instance of the USING_XCODE preprocessor variable that is not
necessary.
------------------------------------------------------------------------
r11909 | manolo | 2016-08-31 09:12:28 -0700 (Wed, 31 Aug 2016) | 1 line

Remove the USING_XCODE preprocessor variable that became useless
------------------------------------------------------------------------
r11908 | greg.ercolano | 2016-08-30 12:16:50 -0700 (Tue, 30 Aug 2016) | 5
lines

Bringing over fix [r11907] from 1.3 current to the porting branch.

Fixes STR# 3325 - fixes scheme oriented focus box drawing problems when
Fl_Choice height is <20


------------------------------------------------------------------------
r11906 | greg.ercolano | 2016-08-29 23:00:57 -0700 (Mon, 29 Aug 2016) | 6
lines

Bringing over fix [r11880] from 1.3 current to the porting branch.

Limit line numbering to New>Code editor.
(was affecting Properties->Callback and New>Code>Comment editors)


------------------------------------------------------------------------
r11904 | manolo | 2016-08-28 08:37:45 -0700 (Sun, 28 Aug 2016) | 1 line

Fix slight mis-scaling when pasting Enhanced metafile from clipboard
------------------------------------------------------------------------
r11900 | manolo | 2016-08-27 23:45:59 -0700 (Sat, 27 Aug 2016) | 1 line

Use desktop scaling factor also when pasting an Enhanced Metafile
------------------------------------------------------------------------
r11899 | manolo | 2016-08-27 08:54:51 -0700 (Sat, 27 Aug 2016) | 1 line

Fix Fl_Copy_Surface under Windows 10 when the desktop scaling factor value
is > 100 %
------------------------------------------------------------------------
r11897 | manolo | 2016-08-27 07:16:32 -0700 (Sat, 27 Aug 2016) | 3 lines

Add Doxygen comments for the Fl_RGB_Image::alloc_array and ::array public
attributes.

Also, document what is the value of alloc_array after construction of an
Fl_RGB_Image object.
------------------------------------------------------------------------
r11895 | manolo | 2016-08-26 23:59:54 -0700 (Fri, 26 Aug 2016) | 1 line

Fix Fl_WinAPI_Window_Driver::border_width_title_bar_height() for displays
where true DPI is not 96.
------------------------------------------------------------------------
r11893 | manolo | 2016-08-25 05:42:50 -0700 (Thu, 25 Aug 2016) | 7 lines

Fix computation of Fl_Window::decorated_w() and decorated_h() when apps are
resized through display setting.

Under Windows 10:
when the user sets the value of "Change the size of text, apps and other
items" in display settings
to above 100 %, the computation of Fl_Window::decorated_w() and
decorated_h() has to
take the scaling factor into account.
This factor is also necessary to draw correctly window title bars.
------------------------------------------------------------------------
r11892 | manolo | 2016-08-24 01:57:21 -0700 (Wed, 24 Aug 2016) | 1 line

Remove unused variable.
------------------------------------------------------------------------
r11891 | manolo | 2016-08-24 01:53:29 -0700 (Wed, 24 Aug 2016) | 1 line

Add missing delete statements in ~Fl_XXX_Copy_Surface_Driver() and
~Fl_XXX_Image_Surface_Driver().
------------------------------------------------------------------------
r11890 | AlbrechtS | 2016-08-23 09:57:39 -0700 (Tue, 23 Aug 2016) | 17
lines

Fix compiler warnings and simplify Fl_X11_Screen_Driver::init().

This function sets the screen dimensions and tries to use Xrandr,
Xinerama, and basic X11 functions (in this order) to get the screen
sizes and resolutions (dpi).

This commit simplifies conditional compilation and fixes "unused variable"
compiler warnings under certain conditions as mentioned by Greg in
fltk.general, thread "Can not change font size in Kubuntu 16.04" on
Mon, 15 Aug 2016 00:25:32 -0700.

Also merged in small improvements of branch-1.3-porting, basically "the
same commit" as svn r11889 in branch-1.3.

Todo: dpi resolutions acquired by using Xrandr are not per screen but use
dpi value of screen 0 for all screens. Check if this can be improved.

------------------------------------------------------------------------
r11888 | manolo | 2016-08-23 08:25:22 -0700 (Tue, 23 Aug 2016) | 1 line

Step back from r11886 that is not correct.
------------------------------------------------------------------------
r11887 | manolo | 2016-08-23 05:39:27 -0700 (Tue, 23 Aug 2016) | 1 line

Change comment describing return type of
Fl_WinAPI_Screen_Driver::read_win_rectangle()
------------------------------------------------------------------------
r11886 | manolo | 2016-08-23 04:35:42 -0700 (Tue, 23 Aug 2016) | 1 line

Make Fl_Gl_Window::make_current() set the value of the fl_window global
variable under the X11 platform.
------------------------------------------------------------------------
r11885 | manolo | 2016-08-23 04:25:52 -0700 (Tue, 23 Aug 2016) | 1 line

Remove special processing for Darwin+X11 that seems no longer necessary.
------------------------------------------------------------------------
r11884 | manolo | 2016-08-23 02:38:46 -0700 (Tue, 23 Aug 2016) | 2 lines

Change return type of Fl_Screen_Driver::read_win_rectangle() to
Fl_RGB_Image*

------------------------------------------------------------------------
r11883 | manolo | 2016-08-22 09:14:39 -0700 (Mon, 22 Aug 2016) | 1 line

Use the HAS_ATSU preprocessor variable once more
------------------------------------------------------------------------
r11882 | AlbrechtS | 2016-08-20 10:09:28 -0700 (Sat, 20 Aug 2016) | 4 lines

Improve documentation, fix Fl_Window::icon(NULL).

This is now documented as legal to reset a window icon.

------------------------------------------------------------------------
r11880 | greg.ercolano | 2016-08-16 14:20:06 -0700 (Tue, 16 Aug 2016) | 6
lines

Bringing over fix [11878+11879] from 1.3 current to the porting branch.
   
Solves STR #3318: options for how to handle external editors on fluid quit
        


------------------------------------------------------------------------
r11877 | greg.ercolano | 2016-08-16 13:23:51 -0700 (Tue, 16 Aug 2016) | 6
lines

 Bringing over fix [r11875] from 1.3 current to the porting branch.

 Solves STR #3319: enable line numbers in fluid: Edit -> Show Source Code.
  


------------------------------------------------------------------------
r11874 | manolo | 2016-08-16 11:24:09 -0700 (Tue, 16 Aug 2016) | 1 line

Add missing #include directive
------------------------------------------------------------------------
r11872 | manolo | 2016-08-12 09:59:06 -0700 (Fri, 12 Aug 2016) | 1 line

Remove uses of the '$(shell if test ...' syntax from Makefile that is not
cross-platform
------------------------------------------------------------------------
r11871 | AlbrechtS | 2016-08-11 05:41:17 -0700 (Thu, 11 Aug 2016) | 9 lines

Fix one compiler warning and one error on Windows 64-bit.

These warnings and errors were found using gcc 6.1 (64-bit) under Windows.

The error in examples/howto-add_fd-and-popen.cxx (-fpermissive) is due
to the wrong definition of Fl_FD_Handler under Windows 64-bit (FL_SOCKET!).

This should really be fixed in a better way in FLTK 1.4.

------------------------------------------------------------------------
r11869 | AlbrechtS | 2016-08-09 08:20:54 -0700 (Tue, 09 Aug 2016) | 1 line

Fix typos, separate local variables of image scaling algorithms.
------------------------------------------------------------------------
r11867 | AlbrechtS | 2016-08-09 07:11:42 -0700 (Tue, 09 Aug 2016) | 10
lines

[CMake] Fix Windows dll build with Visual Studio generator.

Now you can set OPTION_BUILD_SHARED_LIBS:BOOL=ON to build FLTK dll's with
Visual Studio. Tested and works (Visual Studio 2010 + 2015).

Note: Linux fixes included, tested and works (Ubuntu).

Todo: dll names and target directories may need some changes.
We really need to get rid of that "_SHARED" suffix in .so names.

------------------------------------------------------------------------
r11864 | manolo | 2016-08-05 10:14:55 -0700 (Fri, 05 Aug 2016) | 4 lines

Fix CMake building under Apple platform that used to set HAVE_GL_GLU_H to 0

 On the Mac OS platform, file glu.h is not in a directory called GL.

------------------------------------------------------------------------
r11862 | AlbrechtS | 2016-08-01 05:50:15 -0700 (Mon, 01 Aug 2016) | 1 line

Documentation fixes.
------------------------------------------------------------------------
r11860 | AlbrechtS | 2016-08-01 05:22:49 -0700 (Mon, 01 Aug 2016) | 1 line

More configure.in quoting fixes.
------------------------------------------------------------------------
r11858 | AlbrechtS | 2016-08-01 01:33:05 -0700 (Mon, 01 Aug 2016) | 5 lines

Fix quoting in configure.in.

There were two real errors (AC_MSG_ERROR, fixed in previous commit) and
lots of less important missing quotes.

------------------------------------------------------------------------
r11856 | greg.ercolano | 2016-07-31 22:00:19 -0700 (Sun, 31 Jul 2016) | 12
lines

Bringing over fix [r11855] from 1.3 current to the porting branch.

Fixes problem with AC_MSG_ERROR() macro which was causing this error
when e.g. the X11 libs weren't found:

    configure: line 410: test: aborting.: integer expression expected
    configure: error: Configure could not find required X11 libraries

For info on correct use of AC_MSG_ERROR(), see:
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Printing-Messages.html


------------------------------------------------------------------------
r11854 | AlbrechtS | 2016-07-29 11:50:24 -0700 (Fri, 29 Jul 2016) | 4 lines

Remove copyright markers from abi-version.* (STR #3161).

See STR comments #10 - #14.

------------------------------------------------------------------------
r11852 | AlbrechtS | 2016-07-29 03:54:22 -0700 (Fri, 29 Jul 2016) | 6 lines

Fix more Windows 64-bit g++ compiler warnings.

Fixed warnings:

  42 cast to pointer from integer of different size [-Wint-to-pointer-cast]

------------------------------------------------------------------------
r11850 | AlbrechtS | 2016-07-29 02:24:04 -0700 (Fri, 29 Jul 2016) | 12
lines

Fix compiler warnings (gcc 6.1).

Some of these warnings were benign (code formatting), but one of them
showed a potential bug (zero divide in test/fraciewer.cxx).

Fixed warnings:

 1 this 'while' clause does not guard... [-Wmisleading-indentation]
 1 this 'for' clause does not guard... [-Wmisleading-indentation]
 1 this 'else' clause does not guard... [-Wmisleading-indentation]


------------------------------------------------------------------------
r11848 | AlbrechtS | 2016-07-24 01:55:02 -0700 (Sun, 24 Jul 2016) | 1 line

Doc changes: set fl_font before fl_measure() (STR #3243)
------------------------------------------------------------------------
r11846 | manolo | 2016-07-22 21:48:40 -0700 (Fri, 22 Jul 2016) | 3 lines

Fix Fl_X11_System_Driver::utf8locale() that did not work when no locale is
set.

Also, minor simplification of Fl_WinAPI_System_Driver::utf8locale().
------------------------------------------------------------------------
r11845 | greg.ercolano | 2016-07-22 21:32:10 -0700 (Fri, 22 Jul 2016) | 6
lines

Bringing over fix [r11844] from 1.3 current to the porting branch.

Fixes STR #3270; when an image is used as a link,
this mod synchronizes the link's hot spot with the image.


------------------------------------------------------------------------
r11843 | greg.ercolano | 2016-07-22 03:30:34 -0700 (Fri, 22 Jul 2016) | 6
lines

Bringing over fix [r11842] from 1.3 current to the porting branch.

Fixes to fl_choice() docs, added screenshots.



------------------------------------------------------------------------
r11841 | greg.ercolano | 2016-07-20 17:51:14 -0700 (Wed, 20 Jul 2016) | 6
lines

Bringing over fix [r11840] from 1.3 current to the porting branch.

Solves STR#3294; added methods to let user set the userdeicon,
and removed the performance degrading automatic deicon creation.


------------------------------------------------------------------------
r11839 | greg.ercolano | 2016-07-20 11:40:49 -0700 (Wed, 20 Jul 2016) | 2
lines

svn property mods..

------------------------------------------------------------------------
r11836 | greg.ercolano | 2016-07-20 11:06:27 -0700 (Wed, 20 Jul 2016) | 3
lines

Bringing over fix [r11835] from 1.3 current to the porting branch.
Improved fluid-org.png diagram.

------------------------------------------------------------------------
r11834 | greg.ercolano | 2016-07-20 10:08:29 -0700 (Wed, 20 Jul 2016) | 5
lines

Bringing over fix [r11833] from 1.3 current to the porting branch.

Added updated settings dialog screenshots to the fluid docs.


------------------------------------------------------------------------
r11831 | greg.ercolano | 2016-07-19 19:25:15 -0700 (Tue, 19 Jul 2016) | 13
lines

Bringing over fix [r11188] from 1.3 current to the porting branch.

 Some code cleanup of FNFC Win32: no functional changes.
 
     > Replace huge static WCHAR wpattern[] array with dynamic in win32
FNFC (ABI 1.3.4)
       (Should decrease the memory weight WIN32 lib)
 
     > Simplify current working directory management
 
     > Comment simplification, CMP adherence
 


------------------------------------------------------------------------
r11830 | greg.ercolano | 2016-07-19 18:07:10 -0700 (Tue, 19 Jul 2016) | 5
lines

Bringing over fix [r11756] from 1.3 current to the porting branch.

Small doxygen doc fix for scrollbar_width().


------------------------------------------------------------------------
r11829 | greg.ercolano | 2016-07-19 18:05:58 -0700 (Tue, 19 Jul 2016) | 5
lines

Bringing over fix [r11757] from 1.3 current to the porting branch.

Doc mod to refer to fltk color chip table.


------------------------------------------------------------------------
r11828 | greg.ercolano | 2016-07-19 18:03:33 -0700 (Tue, 19 Jul 2016) | 6
lines

Bringing over fix [r11758] from 1.3 current to the porting branch.
(Enumerations.H had already been updated, but the enumerations.dox had not)

Added references to the virtual colorcube.


------------------------------------------------------------------------
r11827 | greg.ercolano | 2016-07-19 17:55:06 -0700 (Tue, 19 Jul 2016) | 6
lines

Bringing over fix [r11759] from 1.3 current to the porting branch.

Fl_Text_Editor documentation mods for kf_xxx functions.
(Discussion on fltk.coredev May 29 - 30th 2016)


------------------------------------------------------------------------
r11826 | greg.ercolano | 2016-07-19 17:50:36 -0700 (Tue, 19 Jul 2016) | 4
lines

Bringing over fix [r11766] from 1.3 current to the porting branch.
Doc fix: fixes STR#3312.


------------------------------------------------------------------------
r11825 | greg.ercolano | 2016-07-19 16:50:09 -0700 (Tue, 19 Jul 2016) | 13
lines

Bringing over fix [r11786] from 1.3 current to the porting branch.
 
Some small Fl_Sys_Menu_Bar related doc mods as per STR#3317.
WIP -- more to come; just checking in what I have for now..
 
         1) rank -> index
         2) Added docs for index \return values for some methods 
         3) Some clarification in the internal docs about rank vs. index
         4) Enabled Fl_Menu_Item's enum flags to be able to be links (added @file
            to Fl_Menu_Item.H) so references to e.g. "::FL_MENU_TOGGLE" will show
            up as links in doxygen docs.


------------------------------------------------------------------------
r11824 | greg.ercolano | 2016-07-19 16:27:34 -0700 (Tue, 19 Jul 2016) | 5
lines

Bringing over this fix [r11798] from 1.3 current to the porting branch.

Small doc improvements/elaborations.


------------------------------------------------------------------------
r11823 | greg.ercolano | 2016-07-19 16:23:28 -0700 (Tue, 19 Jul 2016) | 5
lines

Bringing over this fix from 1.3 current to the porting branch.

Document savefile() return value, see also references to/from outputfile()


------------------------------------------------------------------------
r11822 | greg.ercolano | 2016-07-19 16:19:16 -0700 (Tue, 19 Jul 2016) | 3
lines

Removed ABI guards that snuck in with r11819.


------------------------------------------------------------------------
r11821 | greg.ercolano | 2016-07-19 13:27:16 -0700 (Tue, 19 Jul 2016) | 5
lines

Bringing over this fix from 1.3 current to the porting branch.

Applies small code simplification as suggested in comment #15 of STR#2828.


------------------------------------------------------------------------
r11820 | greg.ercolano | 2016-07-19 13:18:18 -0700 (Tue, 19 Jul 2016) | 6
lines

Bringing over this fix from 1.3 current to the porting branch.

Fixes STR #3305; adds tab_nav() method allowing Fl_Text_Editor
to honor tab key focus navigation.


------------------------------------------------------------------------
r11819 | greg.ercolano | 2016-07-19 13:12:21 -0700 (Tue, 19 Jul 2016) | 7
lines

Bringing over this fix from 1.3 current to the porting branch.

Fixes STR #3306; const version of bound_key_function().
Also affects patches in STR #3305, which will be applied in next commit.



------------------------------------------------------------------------
r11818 | greg.ercolano | 2016-07-18 14:12:25 -0700 (Mon, 18 Jul 2016) | 4
lines

Adds external editor capability to fluid for all platforms.
Solves STR#3213. [CORRECTED]


------------------------------------------------------------------------
r11815 | AlbrechtS | 2016-07-15 15:12:30 -0700 (Fri, 15 Jul 2016) | 1 line

Improve drawing of rounded box (STR #2943).
------------------------------------------------------------------------
r11812 | AlbrechtS | 2016-07-15 12:23:32 -0700 (Fri, 15 Jul 2016) | 1 line

Allow widget callback to be NULL (STR #2835).
------------------------------------------------------------------------
r11809 | AlbrechtS | 2016-07-15 03:23:46 -0700 (Fri, 15 Jul 2016) | 2 lines

Fix uninitialized variable warning.

------------------------------------------------------------------------
r11804 | AlbrechtS | 2016-07-09 11:47:06 -0700 (Sat, 09 Jul 2016) | 2 lines

Clarification and better documentation of ABI version configuration.

------------------------------------------------------------------------
r11802 | AlbrechtS | 2016-07-09 10:14:22 -0700 (Sat, 09 Jul 2016) | 2 lines

Documentation fixes and clarifications.

------------------------------------------------------------------------
r11800 | manolo | 2016-06-24 22:11:50 -0700 (Fri, 24 Jun 2016) | 1 line

Add handling of call before the screen layout has been computed.
------------------------------------------------------------------------
r11796 | manolo | 2016-06-22 01:36:48 -0700 (Wed, 22 Jun 2016) | 1 line

Add dots-per-inch info to the screen data displayed by the fullscreen demo.
------------------------------------------------------------------------
r11794 | manolo | 2016-06-22 00:45:53 -0700 (Wed, 22 Jun 2016) | 1 line

  Make Fl_Gl_Window::pixels_per_unit() return a float (rather than int)
value.
------------------------------------------------------------------------
r11792 | manolo | 2016-06-22 00:22:08 -0700 (Wed, 22 Jun 2016) | 2 lines

Change copyright year

------------------------------------------------------------------------
r11790 | manolo | 2016-06-22 00:04:00 -0700 (Wed, 22 Jun 2016) | 1 line

Use Xrandr to get the true DPI of the display under the X11 platform.
------------------------------------------------------------------------
r11785 | manolo | 2016-06-17 05:56:18 -0700 (Fri, 17 Jun 2016) | 4 lines

Make Fl_Sys_Menu_Bar::update() public and cross-platform.

It was before protected and Mac OS-specific.
This allows to call it after direct modification of menu items.
------------------------------------------------------------------------
r11784 | manolo | 2016-06-16 09:35:05 -0700 (Thu, 16 Jun 2016) | 1 line

Fix for STR#3316 to match the size argument of glGenLists() and
glDeleteLists() calls.
------------------------------------------------------------------------
r11783 | AlbrechtS | 2016-06-14 04:33:29 -0700 (Tue, 14 Jun 2016) | 2 lines

Fix compiler warning under Linux [-Wunused-variable].

------------------------------------------------------------------------
r11782 | AlbrechtS | 2016-06-14 04:15:22 -0700 (Tue, 14 Jun 2016) | 2 lines

Remove unnecessary #include statement.

------------------------------------------------------------------------
r11781 | AlbrechtS | 2016-06-14 04:00:29 -0700 (Tue, 14 Jun 2016) | 2 lines

[CMake] Improve sound support detection.

------------------------------------------------------------------------
r11779 | manolo | 2016-06-13 22:19:32 -0700 (Mon, 13 Jun 2016) | 2 lines

THE best way to test for availability of dlsym().

------------------------------------------------------------------------
r11777 | AlbrechtS | 2016-06-13 15:32:01 -0700 (Mon, 13 Jun 2016) | 1 line

[CMake] Fix restoration of CMAKE_REQUIRED_LIBRARIES.
------------------------------------------------------------------------
r11774 | manolo | 2016-06-13 05:29:54 -0700 (Mon, 13 Jun 2016) | 2 lines

Fix cases where function dlysym() is not in library libdl.

------------------------------------------------------------------------
r11772 | manolo | 2016-06-10 22:49:36 -0700 (Fri, 10 Jun 2016) | 1 line

Remove // "$id:  lines in the middle of the source code
------------------------------------------------------------------------
r11771 | manolo | 2016-06-09 06:47:09 -0700 (Thu, 09 Jun 2016) | 1 line

Add missing variable declaration under AIX
------------------------------------------------------------------------
r11770 | manolo | 2016-06-09 06:44:55 -0700 (Thu, 09 Jun 2016) | 1 line

Add missing variable declaration under NetBSD
------------------------------------------------------------------------
r11769 | manolo | 2016-06-07 03:39:15 -0700 (Tue, 07 Jun 2016) | 1 line

Fix building on FreeBSD that failed for test programs requiring audio
output.
------------------------------------------------------------------------
r11767 | manolo | 2016-06-03 04:38:40 -0700 (Fri, 03 Jun 2016) | 1 line

Fix for positionning of text after <HR> directive (part of STR #3227).
------------------------------------------------------------------------
r11765 | AlbrechtS | 2016-05-31 05:09:52 -0700 (Tue, 31 May 2016) | 2 lines

Fix compiler warnings.

------------------------------------------------------------------------
r11764 | AlbrechtS | 2016-05-31 04:32:25 -0700 (Tue, 31 May 2016) | 1 line

Hopefully final fix of HTML entity handling
------------------------------------------------------------------------
r11762 | manolo | 2016-05-31 02:25:56 -0700 (Tue, 31 May 2016) | 4 lines

Give all virtual methods of class Fl_Graphics_Driver do-nothing
implementations.

Thus, Fl_Graphics_Driver can be subclassed and only that part of its
virtual methods
that is useful for an application is re-implemented.
------------------------------------------------------------------------
r11760 | manolo | 2016-05-31 01:51:35 -0700 (Tue, 31 May 2016) | 1 line

Polishing conversions between char- and int-typed variables.
------------------------------------------------------------------------
r11755 | AlbrechtS | 2016-05-25 09:08:04 -0700 (Wed, 25 May 2016) | 1 line

Generate Doxygen docs with the highest possible ABI version.
------------------------------------------------------------------------
r11753 | AlbrechtS | 2016-05-23 03:48:59 -0700 (Mon, 23 May 2016) | 1 line

remove duplicate '&dagger;'
------------------------------------------------------------------------
r11750 | AlbrechtS | 2016-05-23 03:31:00 -0700 (Mon, 23 May 2016) | 4 lines

Add another special test case "&dagger;" for Fl_Help_View.

Note: &dagger; = &#x2020 = U+2020, i.e. 0x2020 & 255 = 0x20 = ' ' (space).

------------------------------------------------------------------------
r11748 | AlbrechtS | 2016-05-22 06:36:40 -0700 (Sun, 22 May 2016) | 11
lines

Fix compiler warnings.

FL/platform_types.h: C++ style comments are not allowed in ISO C90.

src/Fl_Help_View.cxx: type qualifiers ignored on function return type.

src/Fl_Image_Surface.cxx: (Linux) converting to non-pointer type
  'long unsigned int' from NULL [-Wconversion-null]
  Line #70: In member function 'Fl_Offscreen Fl_Image_Surface::offscreen()'


------------------------------------------------------------------------
r11747 | manolo | 2016-05-19 09:50:09 -0700 (Thu, 19 May 2016) | 1 line

Fix handing of html entities in copied text by Fl_Help_View widget.
------------------------------------------------------------------------
r11746 | AlbrechtS | 2016-05-17 09:33:50 -0700 (Tue, 17 May 2016) | 21
lines

Fix Fl_Help_View buffer overflow (STR #3275).

This version works much better than the previous one:

 - fixed buffer overflow ("stack corruption")
 - fixed potential long text truncation
 - fixed tab formatting at line start or any offset divisible by 8
 - better handling of HTML entities (aka quoted characters)
 - code simplifications, e.g. HV_Edit_Buffer::cmp() + width()

Todo:

 - improve and standardize handling of HTML entities
 - more tests

Missing features and known bugs:

 - strike out text (not implemented)
 - table and horizontal line formatting issues (STR #3227)


------------------------------------------------------------------------
r11744 | AlbrechtS | 2016-05-17 09:10:12 -0700 (Tue, 17 May 2016) | 1 line

Add HTML entity tests to test/help-test.html.
------------------------------------------------------------------------
r11741 | manolo | 2016-05-16 03:54:13 -0700 (Mon, 16 May 2016) | 1 line

More accurate message about how to port the stat() function to a new
platform.
------------------------------------------------------------------------
r11740 | manolo | 2016-05-15 07:07:48 -0700 (Sun, 15 May 2016) | 2 lines

CMake on Mac OS: copy support files to application bundles.

------------------------------------------------------------------------
r11739 | manolo | 2016-05-15 07:06:01 -0700 (Sun, 15 May 2016) | 1 line

Fix colbrowser.cxx for __APPLE__
------------------------------------------------------------------------
r11738 | manolo | 2016-05-15 06:52:17 -0700 (Sun, 15 May 2016) | 1 line

Simpler test/help.cxx under Mac OS X
------------------------------------------------------------------------
r11735 | AlbrechtS | 2016-05-13 06:02:39 -0700 (Fri, 13 May 2016) | 1 line

Fix typo in html file test/help-test.html
------------------------------------------------------------------------
r11733 | manolo | 2016-05-12 23:45:40 -0700 (Thu, 12 May 2016) | 3 lines

Add GLContext to the set of platform-dependent types defined in
FL/platform_types.h

If a platform does not support OpenGL, it can just typedef GLContext as
void*
------------------------------------------------------------------------
r11732 | manolo | 2016-05-12 23:41:33 -0700 (Thu, 12 May 2016) | 1 line

Slightly simpler Fl_Graphics_Driver::default_driver() function.
------------------------------------------------------------------------
r11728 | manolo | 2016-05-09 09:10:54 -0700 (Mon, 09 May 2016) | 1 line

Move GL-related member functions from class Fl_Cocoa_Screen_Driver to class
Fl_Cocoa_Gl_Window_Driver
------------------------------------------------------------------------
r11727 | AlbrechtS | 2016-05-09 04:29:59 -0700 (Mon, 09 May 2016) | 6 lines

Fix documentation of Fl_Tile (STR #3303).

Clarify that the resizable() box should be the first child to ensure
correct event delivery to children.


------------------------------------------------------------------------
r11724 | manolo | 2016-05-08 10:17:31 -0700 (Sun, 08 May 2016) | 2 lines

Doxygen: put all driver classes in EXCLUDE_SYMBOLS

------------------------------------------------------------------------
r11723 | manolo | 2016-05-08 10:08:15 -0700 (Sun, 08 May 2016) | 1 line

Remove Doxygen warning.
------------------------------------------------------------------------
r11722 | manolo | 2016-05-08 09:56:15 -0700 (Sun, 08 May 2016) | 1 line

Make Fl_Cocoa_Gl_Window_Driver::draw_string() simpler
------------------------------------------------------------------------
r11721 | manolo | 2016-05-08 09:45:11 -0700 (Sun, 08 May 2016) | 1 line

Fix typo in comment
------------------------------------------------------------------------
r11720 | manolo | 2016-05-08 09:43:59 -0700 (Sun, 08 May 2016) | 1 line

Fix gl_draw() in normal window under WIN32.
------------------------------------------------------------------------
r11719 | manolo | 2016-05-08 09:20:24 -0700 (Sun, 08 May 2016) | 1 line

Fix gl_draw() used in simple window under Mac OS X.
------------------------------------------------------------------------
r11718 | manolo | 2016-05-08 08:51:11 -0700 (Sun, 08 May 2016) | 1 line

Rewrite file src/gl_draw.cxx under the driver model.
------------------------------------------------------------------------
r11717 | manolo | 2016-05-07 23:57:13 -0700 (Sat, 07 May 2016) | 2 lines

Set file properties

------------------------------------------------------------------------
r11716 | manolo | 2016-05-07 23:42:57 -0700 (Sat, 07 May 2016) | 6 lines

Rewrite OpenGL-related code under the driver model.

Class Fl_Gl_Window_Driver, with its platform-specific derived classes, is
created
to hold platform-specific, OpenGL code.

File gl_draw.cxx still needs to be converted to the driver model.
------------------------------------------------------------------------
r11714 | manolo | 2016-05-05 01:35:52 -0700 (Thu, 05 May 2016) | 1 line

Documentation: detail ownership of the image data when pasting from an
image-containing clipboard.
------------------------------------------------------------------------
r11713 | manolo | 2016-05-05 00:42:48 -0700 (Thu, 05 May 2016) | 1 line

Remove unneeded extern declaration.
------------------------------------------------------------------------
r11711 | manolo | 2016-05-04 23:53:59 -0700 (Wed, 04 May 2016) | 1 line

static function get_image_from_clipboard(Fl_Widget *) really returns
Fl_RGB_Image* type
------------------------------------------------------------------------
r11710 | manolo | 2016-05-03 22:59:18 -0700 (Tue, 03 May 2016) | 1 line

Fix how to access clipboard content at program start.
------------------------------------------------------------------------
r11709 | manolo | 2016-05-03 07:28:45 -0700 (Tue, 03 May 2016) | 1 line

Fix potential memory leak under X11 when pasted image is not accepted by
the receiving app.
------------------------------------------------------------------------
r11708 | manolo | 2016-04-30 08:07:16 -0700 (Sat, 30 Apr 2016) | 1 line

Member function Fl_Widget_Surface::draw(Fl_Widget*,int,int) does not need
to be virtual.
------------------------------------------------------------------------
r11707 | manolo | 2016-04-28 09:49:07 -0700 (Thu, 28 Apr 2016) | 1 line

Restore CMake building with OPTION_PRINT_SUPPORT turned off.
------------------------------------------------------------------------
r11706 | manolo | 2016-04-27 10:25:17 -0700 (Wed, 27 Apr 2016) | 1 line

Use standard fopen() as default implementation of virtual
Fl_System_Driver::fopen()
------------------------------------------------------------------------
r11705 | manolo | 2016-04-27 10:02:57 -0700 (Wed, 27 Apr 2016) | 1 line

Begin to remove platform-specific code.
------------------------------------------------------------------------
r11704 | manolo | 2016-04-27 09:56:36 -0700 (Wed, 27 Apr 2016) | 1 line

Add test to avoid null pointer crashes.
------------------------------------------------------------------------
r11703 | manolo | 2016-04-27 09:42:20 -0700 (Wed, 27 Apr 2016) | 1 line

Add tests to avoid null pointer errors
------------------------------------------------------------------------
r11702 | manolo | 2016-04-27 09:27:30 -0700 (Wed, 27 Apr 2016) | 1 line

Add tests to avoid null pointer crashes.
------------------------------------------------------------------------
r11701 | manolo | 2016-04-26 04:04:00 -0700 (Tue, 26 Apr 2016) | 1 line

Remove compilation warnings:   suggest parentheses around operand of '!' or
change '&' to '&&'
------------------------------------------------------------------------
r11700 | manolo | 2016-04-26 00:25:53 -0700 (Tue, 26 Apr 2016) | 2 lines

Set svn file properties.

------------------------------------------------------------------------
r11699 | manolo | 2016-04-25 23:23:27 -0700 (Mon, 25 Apr 2016) | 2 lines

Set svn file properties.

------------------------------------------------------------------------
r11698 | manolo | 2016-04-25 23:07:53 -0700 (Mon, 25 Apr 2016) | 1 line

Make one version of Fl_OpenGL_Display_Device::capture_gl_rectangle() the
default one.
------------------------------------------------------------------------
r11697 | manolo | 2016-04-25 22:44:54 -0700 (Mon, 25 Apr 2016) | 1 line

Set more accurately the protections of the members of class
Fl_Display_Device.
------------------------------------------------------------------------
r11696 | manolo | 2016-04-24 23:29:36 -0700 (Sun, 24 Apr 2016) | 1 line

Remove unnecessary #include directive.
------------------------------------------------------------------------
r11695 | manolo | 2016-04-24 13:03:05 -0700 (Sun, 24 Apr 2016) | 2 lines

Set svn file properties.

------------------------------------------------------------------------
r11694 | manolo | 2016-04-24 12:55:26 -0700 (Sun, 24 Apr 2016) | 2 lines

Set svn file properties.

------------------------------------------------------------------------
r11693 | manolo | 2016-04-24 12:49:06 -0700 (Sun, 24 Apr 2016) | 2 lines

Set svn file properties.

------------------------------------------------------------------------
r11692 | manolo | 2016-04-24 12:39:27 -0700 (Sun, 24 Apr 2016) | 1 line

Remove FL_ABI_VERSION directives
------------------------------------------------------------------------
r11691 | manolo | 2016-04-24 12:30:17 -0700 (Sun, 24 Apr 2016) | 1 line

Add 2 Doxygen member function descriptions.
------------------------------------------------------------------------
r11690 | manolo | 2016-04-24 09:22:38 -0700 (Sun, 24 Apr 2016) | 1 line

Complete DOxygen documentation of the Fl_Graphics_Driver class.
------------------------------------------------------------------------
r11689 | manolo | 2016-04-24 01:38:11 -0700 (Sun, 24 Apr 2016) | 1 line

Add Doxygen comments for members of the Fl_Graphics_Driver class.
------------------------------------------------------------------------
r11688 | manolo | 2016-04-23 10:55:08 -0700 (Sat, 23 Apr 2016) | 1 line

Move Doxygen comments of Fl_PostScript_File_Device members to
Fl_PostScript_File_Device.H for Doxygen visibility.
------------------------------------------------------------------------
r11687 | manolo | 2
 [ 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'.