Commit Graph

1290 Commits

Author SHA1 Message Date
Albrecht Schlosser
0c70362e63 Fix offscreen drawing under X11 (STR 3384)
- fix undefined 'GC' if no window has been shown/drawn yet
- may still need to call fl_open_display() prior to offscreen-drawing
- improve documentation, add example code
2020-11-03 12:02:54 +01:00
Albrecht Schlosser
1eaf87b245 Minor CMake, docs, and test program updates
Fix bug in CMake/posixScandir.cxx (backported from 1.4).

Fix table structure in test/help-test.html (backported from 1.4).

Clarify that the deprecated forms compatibility *may* be removed in
FLTK 1.4
2020-09-19 19:47:18 +02:00
ManoloFLTK
8f8f83dd53 Add support of macOS "Big Sur" 11.0 2020-08-29 09:47:16 +02:00
Albrecht Schlosser
0b27865f54 Update CHANGES and dependencies 2020-07-20 14:03:15 +02:00
Albrecht Schlosser
219ae5e455 X11: Fix X Input Methods (XIM) (STR 3502, 3192)
Revert commit 958d912ffc using 'XSetLocaleModifiers("@im=");'
which was incorrect (STR 3192).

Apply fix for STR 3502, using 'XSetLocaleModifiers("");' which appears
to be the correct solution for using X Input Methods (XIM).
2020-02-10 13:16:16 +01:00
Albrecht Schlosser
9fb6d048a0 Fix trailing whitespace in CHANGES 2019-12-26 17:01:35 +01:00
Albrecht Schlosser
770663920e Fix Fl::add_timeout() in draw() under Linux (STR 3188)
Timeouts queued during Fl_Widget::draw() - called by Fl::flush() -
would not be serviced unless other events were processed. For
Details see STR 3188.
2019-12-09 17:50:15 +01:00
Albrecht Schlosser
25b947aa7d Prepare for release 1.3.5 (final) 2019-03-03 09:40:23 +01:00
Albrecht Schlosser
4ecdfd1e6f Remove wrong entry in CHANGES 2019-02-18 13:59:05 +01:00
Albrecht Schlosser
b533fe8881 Prepare release candidate 2 (1.3.5rc2) 2019-02-17 12:53:19 +01:00
Albrecht Schlosser
aed2f8eb91 Update release date of 1.3.5rc1 2019-02-11 14:24:58 +01:00
ManoloFLTK
8e78e53a85 Mention fix for STR 3473 and STR 3507. 2019-01-30 18:09:44 +01:00
Albrecht Schlosser
a8640c6225 Fix Fl_Tree::insert() with pos out ouf range (#18)
The given position to insert a new item was not checked  against the
valid range so the program  could crash if a position less than zero
or greater than children() was given. The position is now clamped to
the valid range, i.e. the item is either prepended or appended.

Fixes issue #18.

Backported from 1.4, commit 9b272cfa4e
2019-01-25 18:27:21 +01:00
Albrecht Schlosser
64b3327dfb Update CHANGES 2019-01-06 19:38:55 +01:00
Albrecht Schlosser
f1517d5df9 Prepare for release of FLTK 1.3.5.
CHANGES: update list of changes.
KNOWN_BUGS.html: prepare list of open bugs (currently empty).

Todo: add actual bug list to KNOWN_BUGS.html before release.
2019-01-01 18:51:21 +01:00
Albrecht Schlosser
3aa32804f7 Fix crash if menu is deleted while menu is open (SGR #3503).
This can happen when a menu widget (e.g. Fl_Choice) is deleted in a
timer callback while the menu is open (pulldown active).
2018-12-07 14:27:39 +01:00
Albrecht Schlosser
3bd78bb022 Fix CMake build (fluid) on case sensitive macOS file systems.
Note: Xcode projects NOT modified. These project files appear to refer
to 'fluid/Fluid.app' (with uppercase 'F') as well.
2018-12-04 15:00:49 +01:00
Albrecht Schlosser
8fb3709ff0 Windows/OpenGL: fix pixel format detection (STR #3119).
This patch fixes two aspects described in STR #3119:
 (a) enables detection and prefers pixel formats with composition
 (b) selects no more than 32 bit colors (8 bits per pixel)

(a) was the reason for this STR, (b) was reported repeatedly in
fltk.general (see STR #3119).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13112 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-05 18:56:24 +00:00
Manolo Gouy
d2730d3e2c Mention new support for MacOS 10.14
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-10-21 07:06:51 +00:00
Manolo Gouy
23e36efa83 Mention the last 2 committed changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13053 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-09-17 09:05:38 +00:00
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