ManoloFLTK
dd75da6351
Remove VS compilation warnings about implicit type conversions.
4 years ago
Albrecht Schlosser
07dfcd0fb7
Suppress Visual Studio warnings in bundled libs
...
We don't have control over the code of these bundled libs, hence we
suppress some special warnings:
- C4267: conversion from ... to ..., possible loss of data
- C4996: The POSIX name for this item is deprecated.
Instead, use the ISO C++ conformant name ...
4 years ago
ManoloFLTK
e387dbd30c
Remove VS compilation warning messages about implicit type conversions.
4 years ago
ManoloFLTK
842cbf0f10
Fix for issue #192 : focus box drawing incorrectly on OSX (e.g. 10.10.5) at scales >100%
4 years ago
Albrecht Schlosser
f2faab9ba3
Remove Travis-CI control file
...
Since we're using GitHub Actions for CI builds this file is no longer
needed.
4 years ago
Albrecht Schlosser
a274e1488b
Fix #include statements, remove unnecessary includes
4 years ago
Albrecht Schlosser
94fef6ff6e
Rename file 'VERSION' to 'fltk_version.dat' ( #191 )
...
The file VERSION could be included erroneously on case insensitive
platforms (notably Windows) if the user included the c++ standard
header <version> directly or indirectly.
Renaming the file fixes this.
4 years ago
ManoloFLTK
32f926c360
Remove use of static global var gl_fontsize inside virtual member Fl_Gl_Window_Driver::alpha_mask_for_string()
4 years ago
Greg Ercolano
3c37cd033b
Solves all "conversion" warnings in fluid for issue #109 .
4 years ago
Albrecht Schlosser
389760c1c6
Remove #include ".../config_lib.h" from remaining sources
...
... except src/Fl.cxx
Fl.cxx uses the FL_CFG_* macros to define the values of runtime
configuration options. This is now the only usage of config_lib.h.
Todo: we can probably implement these runtime config vars in another
way and finally remove config_lib.h.
4 years ago
Albrecht Schlosser
135b8b9c86
Update dependencies
4 years ago
Albrecht Schlosser
6236d4d466
Remove redundant definition of FL_CFG_GFX_OPENGL
4 years ago
ManoloFLTK
f333191312
Make clear we're calling a member function of class Fl_WinAPI_System_Driver.
4 years ago
Albrecht Schlosser
ba0b8affe3
Rewrite Pango checks for autoconf/configure
...
- disable "fallback mode" (don't use hardcoded flags and libs)
- use pkg-config for pango flags and libs but don't *require* it [1]
- enable CXXFLAGS and LDFLAGS usage for --enable-pango
[1] if pkg-config is not available (installed) you can still use
environment variables CFLAGS, CXXFLAGS, and LDFLAGS to enable Pango.
4 years ago
ManoloFLTK
b3f0b853a5
Documentation: remove Doxygen warnings of undeclared members.
4 years ago
ManoloFLTK
6dce15bfe3
Include config.h rather than config_lib.h in fl_open_uri.cxx
4 years ago
ManoloFLTK
9fdd675eab
Remove FL_CFG_SYS_POSIX and FL_CFG_SYS_WIN32 preprocessor vars from Fl_lock.cxx
4 years ago
ManoloFLTK
b709b2a2d3
Remove FL_CFG_WIN_COCOA preprocessor variable from Fl_Tree_Prefs.cxx
4 years ago
ManoloFLTK
32f7973073
Remove FL_CFG_SYS_POSIX preprocessor variable from Fl_get_key.cxx
4 years ago
ManoloFLTK
bf95eb1c09
Remove FL_CFG_SYS_POSIX preprocessor variable from fl_open_uri.cxx
4 years ago
ManoloFLTK
1298bf00f5
Remove FL_CFG_WIN_COCOA preprocessor variable from Fl_Sys_Menu_Bar.cxx
4 years ago
ManoloFLTK
35812f474b
Include <config.h> in Fl_Gl_Window.cxx
4 years ago
ManoloFLTK
98265d81a2
Remove FL_CFG_WIN_X11 preprocessor variable from Fl_own_colormap.cxx
4 years ago
Albrecht Schlosser
e182c8bcd5
Fix whitespace errors (no code changes)
...
- remove trailing whitespace
- convert tabs to spaces (configure.ac)
4 years ago
Albrecht Schlosser
a355c16971
Fix 'configure --enable-pango'
...
Also change 'pango' to 'Pango' consistently in warning and error
messages.
4 years ago
ManoloFLTK
1d44c57747
Fix lowercase error in filenames.
4 years ago
ManoloFLTK
1f9c80854c
Remove FL_CFG_WIN_X11 preprocessor variable from Fl_Native_File_Chooser_GTK.cxx
4 years ago
ManoloFLTK
d51481f95e
Remove FL_CFG_SYS_WIN32 preprocessor variable from fl_draw_pixmap.cxx
4 years ago
ManoloFLTK
5f3d8bc634
Include <config.h> when possible - continued.
4 years ago
ManoloFLTK
d93fc2bfa6
Use <config.h> when appropriate.
4 years ago
ManoloFLTK
06793c50fb
Create virtual Fl_RGB_Image* Fl_Gl_Window_Driver::capture_gl_rectangle()
4 years ago
ManoloFLTK
1adaa3def2
Create classes Fl_XXX_Gl_Window_Driver according to driver model.
4 years ago
Greg Ercolano
1f55bfe65c
Issue #109 contd: missed fractals.cxx fixes, also fix parens issue.
...
Missed mods to fractals.cxx.
Also fixed a parens issue Albrecht noticed on the Mac build.
4 years ago
Greg Ercolano
bef661607b
Solve all 'fractals' warnings in VS2017/Win32 for issue #109 .
4 years ago
ManoloFLTK
a723c0e889
PR #174 : Skip the call to MonitorFromRect when it is not needed.
4 years ago
Albrecht Schlosser
bbaec9bd88
Update CMake and make files, minor edits only
...
There are no functional changes to be expected, mostly formatting
and comments.
4 years ago
Albrecht Schlosser
edd5818355
fix autoconf and Makefile
...
do not delete config.sub and config.guess
todo: remove misc/config.{sub|guess} ?
4 years ago
Michael R Sweet
5378ef1c87
Update GHA build scripts for Linux, macOS, and Windows.
4 years ago
Michael R Sweet
f47465c736
Initial Github Action for CI builds
4 years ago
Michael R Sweet
76315a961f
Finish first pass of modernizing autoconf source file.
4 years ago
Michael R Sweet
44e90666d2
Save work.
4 years ago
Michael R Sweet
d2d5d4371e
Add autoconf cross-compilation support files.
4 years ago
Michael R Sweet
e3c3b9b39f
Save work on configure.ac modernization.
4 years ago
ManoloFLTK
9fad601401
Remove compilation warnings issued by Visual Studio 2019.
4 years ago
ManoloFLTK
5ade8fcb09
Fix for issue #185 "Shared Image reload() loses initial dimensions"
4 years ago
Albrecht Schlosser
c7dc112d2e
Fix missing export of fl_scroll() (issue #186 )
4 years ago
Albrecht Schlosser
67bd27a2be
Fix comments and documentation
4 years ago
Albrecht Schlosser
ff0543524b
Fix X11 copy-paste and drag-and-drop target selection ( #182 )
...
Select the "best" target rather than a random one out of a list of
suitable targets. The old target selection algorithm would sometimes
select the wrong target and hence retrieve unexpected data.
This could happen in both copy-paste and drag-and-drop operations.
Note: backported to 1.3.6 (git current) as well
(commit 7ce6d2cf5d
).
Closes #182 .
4 years ago
ManoloFLTK
ed5854d65a
Fix for issue #185 in Fl_Shared_Image::reload()
...
This fix updates Fl_Shared_Image::reload() to account for the data_w() and data_h()
image members.
4 years ago
Albrecht Schlosser
d53d6f3bce
Fix potential NULL pointer dereference
4 years ago