Commit Graph

1270 Commits

Author SHA1 Message Date
Manolo Gouy
121abf4ca9 Mention MacOS change to support pasting from recent MS Office apps
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13016 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-10 15:56:50 +00:00
Albrecht Schlosser
9bc2c7ba52 Add FL/platform.H for compatibility with FLTK 1.4.0 and higher.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12861 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-19 16:58:22 +00:00
Albrecht Schlosser
b88929f98c Fix Fl_Text_Editor overstrike mode (STR #3463).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-18 13:13:07 +00:00
Albrecht Schlosser
fe7ff8888e Fix, optimize, and comment "gleam" scheme box drawing.
Some border lines were too short or too long, the shading code would draw
too many shaded lines, and the code was hard to understand.

With this commit all background pixels of the box are drawn exactly once.
The border lines are consistent, but some pixels of the border are not
drawn at all so the background shines through. This is intended for
backwards compatibility.

A minor change is that the drawn background does no longer overlap the
border lines. Hence undrawn pixels that previously displayed the colored
box background are now transparent and show the parent widget's color.

This commit adds comments and implementation notes to make the code easier
to understand and better maintainable (hopefully).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12778 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-20 16:20:17 +00:00
Albrecht Schlosser
67fd2793a3 Fix latest MinGW build error (S_OK, __FD_ISSET, STR #3454).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-19 14:50:02 +00:00
Albrecht Schlosser
aa216a46d4 CMake/Windows only: add missing #define WIN32 for all compilers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-12-28 23:22:43 +00:00
Albrecht Schlosser
c249933075 Fix illegal memory access after free when closing fluid (STR #3427).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-11-18 18:12:18 +00:00
Albrecht Schlosser
2c01c3ece9 Fix crash when closing fluid with Fl_Table (STR #3427).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12564 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-11-18 17:40:26 +00:00
Albrecht Schlosser
6052771126 Fix ignored buffer pre-allocation (requestedSize) in Fl_Text_Buffer.
See fltk.general "Fl_Text_Buffer constructor bug" on Dec 5, 2016.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-18 17:06:42 +00:00
Albrecht Schlosser
07a62cdeb6 Fix Fl_Browser background and text color parsing (STR #3376).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-18 16:58:44 +00:00
Albrecht Schlosser
5252bbe03b Fix Windows CreateDC/DeleteDC mismatch (STR #3373).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-18 16:50:45 +00:00
Albrecht Schlosser
d577f751b2 Update CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-18 16:34:56 +00:00
Albrecht Schlosser
14c6b050b5 Fix configure --enable-cairo --enable-cairoext.
Add #include <config.h>. See report in fltk.general:

https://groups.google.com/forum/#!topic/fltkgeneral/x80qQ6wt0s4



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-18 16:16:21 +00:00
Manolo Gouy
a5955ccca5 Added support for MacOS 10.13 "High Sierra".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-18 05:46:01 +00:00
Manolo Gouy
a36644efc2 Mention fixes for STR#3387 and 3390.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-12 09:17:45 +00:00
Albrecht Schlosser
c93ab39040 Fix Windows IDE solutions VisualC2008 and VisualC2010.
Add proper quoting to build properly if the FLTK source directory
  is located in a path that contains spaces.

Note: this is a source tar file update that is only necessary if you
build one of the above mentioned Visual Studio IDE solutions in a path
with spaces. Nothing else changed, no documentation updates.

See also important notes below.

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

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

Only very serious bug fixes will be available in FLTK 1.3 if FLTK 1.4
is not yet released or not (yet) stable.

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.

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

Note to Git users: FLTK's svn branch-1.3 has been the 'master' branch
in our Git repository, but this branch is finished since the release
of FLTK 1.3.4.

Only very serious bug fixes will be available in the new Git 'branch-1.3'
(this branch) if FLTK 1.4 is not yet released or not (yet) stable.

The new development branch is now branch-1.4 -- please checkout
branch-1.4 if you want to get the current FLTK 1.4 development branch.

The Git 'master' branch will stay as-is for some time, but in the
near future branch-1.4 will likely become the new 'master' branch.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-15 11:52:20 +00:00
Greg Ercolano
9ea3f40961 Small grammatical changes/clarifications.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-10 15:29:23 +00:00
Albrecht Schlosser
487af0904b Update CHANGES for release (1.3.4), add KNOWN_BUGS.html.
KNOWN_BUGS.html is a snapshot of the current roadmap, i.e. the list of
current STR's and RFE's (feature requests).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-10 00:44:07 +00:00
Manolo Gouy
31a470df68 Reflect recent commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-09 20:24:39 +00:00
Manolo Gouy
2bf7d7af26 Reflect recent commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-08 21:39:30 +00:00
Albrecht Schlosser
7c248d5ec7 Fix test/native-filechooser help display artefact (STR #3349).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12080 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-06 10:40:39 +00:00
Albrecht Schlosser
af12372e42 Accept empty Fl_Pixmap in Fl_RGB_Image c'tor (STR #3348).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12073 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-02 11:47:36 +00:00
Manolo Gouy
77d071427b Update CHANGES to reflect a recent commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12072 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-01 21:32:36 +00:00
Albrecht Schlosser
115bf82d2b Update CHANGES for fltk-1.3.4-rc3.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-31 19:14:06 +00:00
Albrecht Schlosser
ed6d68825f Update CHANGES to reflect recent commits.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12058 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-28 21:04:00 +00:00
Albrecht Schlosser
b9d0177bc1 Update CHANGES for fltk-1.3.4-rc2.
Note: this commit *is* included in fltk-1.3.4-rc2 although it was committed
after the release.

I forgot to commit it, but since it was modified in my working copy
it was included in the RC.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12054 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-24 13:06:11 +00:00
Manolo Gouy
8f52fcdd95 Add: Make sure the "File Systems" menu item of Fl_File_Chooser lists "/" as the first mounted file system (Linux/Unix platform)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-19 06:04:46 +00:00
Albrecht Schlosser
1bcb9c83bc Small mod to CHANGES file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12046 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 23:04:48 +00:00
Manolo Gouy
b1dbcf4c3a Add support for Mac OS 10.12 "Sierra"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 16:18:37 +00:00
Albrecht Schlosser
de80a36218 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.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-14 16:35:44 +00:00
Albrecht Schlosser
7d6caa94a2 Configure #4: update libs and header configuration and summary.
Rewrite library and header configuration so HAVE_something is only set
in config.h if both library and header files are found.

Fix and enhance summary output to display _found_ options instead of
_requested_ options (e.g. don't show Xft if Xft was requested but not found).

Configure is aborted if Xft is requested explicitly but not found.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-30 20:51:45 +00:00
Albrecht Schlosser
b7fc62a589 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.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-23 14:01:12 +00:00
Albrecht Schlosser
b68501bddd Improve documentation, fix Fl_Window::icon(NULL).
This is now documented as legal to reset a window icon.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-20 17:08:27 +00:00
Greg Ercolano
dd41bc9eb0 small addition for recent feature.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11876 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-16 20:20:48 +00:00
Greg Ercolano
91cd90be3b Updating CHANGES file for fluid external editor support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 13:22:18 +00:00
Albrecht Schlosser
fa2bb6514b Improve drawing of rounded box (STR #2943).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-15 22:10:23 +00:00
Albrecht Schlosser
6e503e90a0 Allow widget callback to be NULL (STR #2835).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-15 19:23:16 +00:00
Albrecht Schlosser
f41ef4e158 Clarification and better documentation of ABI version configuration.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-09 18:43:31 +00:00
Albrecht Schlosser
bc9bb9bd70 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)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11745 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-17 16:25:27 +00:00
Albrecht Schlosser
4db4c2910e Fix Fl_Browser::textsize(int) to adjust the scrollbars (STR #3057).
Setting a different text size didn't affect the scrollbars.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11453 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-28 16:16:29 +00:00
Albrecht Schlosser
a9b052b038 Update CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11322 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-08 17:05:50 +00:00
Albrecht Schlosser
6f18ec06d5 Fix overflow in Fl_Valuator::precision(int) to 0...9 (STR #3280).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11315 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-08 13:40:18 +00:00
Albrecht Schlosser
3948405951 Fix negative 'd' and 'ld' args in fl_draw_image() (X11 + Windows).
This commit fixes a regression in FLTK 1.3.x, where negative values
of 'd' (pixel delta) and 'ld' (line delta) didn't work anymore under
Unix/Linux (X11) and Windows.

With this commit the regression is fixed on all supported platforms.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-02 15:45:26 +00:00
Albrecht Schlosser
e4f26ea33a Don't expose X11 headers in user space any more (mostly).
Platform headers should not be #include'd in public FLTK header files,
so that user space is not polluted by platform specific definitions.

This commit fixes FL/fl_utf8.h to #include X11 headers only if compiled
in the FLTK library.

Todo (FLTK 1.4): Remove more unnecessary (unwanted) system header #include
statements from FL/x.H and other public header files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-02 12:15:08 +00:00
Manolo Gouy
25b6e93c44 Mention fix for fl_draw_image() on the Mac.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-02 08:00:41 +00:00
Albrecht Schlosser
8922a226d8 Update CHANGES (compiler warnings, STR #2988).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11247 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27 17:39:29 +00:00
Albrecht Schlosser
7d3eaf31c2 Update CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-22 17:11:02 +00:00
Albrecht Schlosser
557b2fff45 Update CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11203 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-21 12:24:11 +00:00
Manolo Gouy
bd8b8fd717 Mention Fl_Shared_Image *Fl_Image_Surface::highres_image().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-11 20:49:29 +00:00
Albrecht Schlosser
90a2d680e5 Fix valgrind warning (uninitialized variable) in Fl_Window.
Visible only with FLTK_ABI_VERSION >= 10303, since FLTK 1.3.3.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-09 01:11:03 +00:00