Commit Graph

6689 Commits

Author SHA1 Message Date
Manolo Gouy
2bb8b48958 Simplify handling of the windowDidMove notification since MacOS 10.10
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-18 14:34:44 +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
c2228d32dc Support of MacOS 10.13 to appear soon: fix handling of window moves in presence of subwindows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-14 20:03:18 +00:00
Manolo Gouy
ff1a8ca921 FLDropTarget::DragEnter() replace call to Fl::get_mouse(int&, int&) by call to GetCursorPos(POINT*)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-14 06:47:52 +00:00
Manolo Gouy
4a38820972 Fix for STR#3390 "Drop to FLTK widget fails when desktop is scaled" - better solution.
The bug is fixed here by calling Fl::get_mouse(int&, int&) to get the correct mouse coordinates.
This way, even if MS fixes the bug that DragEnter receives its pt argument expressed
using incorrect units, FLTK apps will keep supporting drag-n-drop.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12314 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-13 10:51:37 +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
Manolo Gouy
f62d1998be Fix for STR#3387 "Bug of timer implementation on macosx".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12310 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-12 09:11:23 +00:00
Manolo Gouy
a66de73ccb WIN32: Fix for STR#3390 "Drop to FLTK widget fails when desktop is scaled"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12309 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-12 06:14:02 +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
Albrecht Schlosser
ece0185551 Fix quoting in IDE projects (VisualC2008 and VisualC2010).
Without correct quoting these IDE projects don't build if their
build folders are in a path with spaces. Other IDE project (VisualC6
and Xcode) are not concerned.

Unfortunately paths with spaces are kinda "usual" in Windows environments.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-14 17:27:23 +00:00
Albrecht Schlosser
a33c32b7bf Final commit to branch-1.3 *after* the release of FLTK 1.3.4.
See 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 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
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@12100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-11 19:13:13 +00:00
Albrecht Schlosser
4d29356389 Update ANNOUNCEMENT for FLTK 1.3.4 final.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12096 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-11 15:47:12 +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
ce1655e751 Fix (remove) executable file attributes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12093 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-10 00:50:18 +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
611aa48620 MacOS: fix crash when making fullscreen the scrolled scroll test program
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12089 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-09 20:19:10 +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
Manolo Gouy
b73e953b42 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, but they should not
 - reactivate the last tab ===> the subwindows are not where they should be

The new code does not show this error.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-06 18:37:54 +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
Manolo Gouy
58ce9d778a MacOS: avoid crash when closing a fullscreen window
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12071 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-01 21:18:21 +00:00
Albrecht Schlosser
e59fc5c06e Minor CMake documentation clarification.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12069 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-01 20:43:38 +00:00
Albrecht Schlosser
4b46674e3c Documentation updates (IDE and CMake support) for release 1.3.4.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-01 14:57:00 +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
f8d38c504c Fluid: add sanity checks for illegal UTF-8 encoding, fix buffer size.
Some illegal UTF-8 sequences might have caused buffer overflows. This
is checked now. Also updated string buffer sizes to support full Unicode
range up to U+10FFFF, i.e. UTF-8 sequences with up to four bytes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-28 21:33:45 +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
da17124908 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).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12057 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-28 17:26:10 +00:00
Manolo Gouy
8b93da8f20 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.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12055 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-27 15:43:09 +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
Manolo Gouy
0f0597eb58 "File Systems" menu item of Fl_File_Chooser: make sure "/" is listed as one of the mounted filesystems.
One FreeBSD user reported a case where "/" does not appear in /etc/fstab, and thus
did not appear when the "File Systems" menu item of Fl_File_Chooser is run.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12047 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-19 05:55:03 +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
Greg Ercolano
d84c70f9e6 Applied patch from STR #3335 to fix simple GUI issues.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12044 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 18:21:11 +00:00
Greg Ercolano
d4c4237be2 Followup to last commit (r12041) to include not only mods to .fl, but .cxx as well.
(For fluid, we maintain /both/ .fl and .cxx/.h files in SVN; easy to forget..!)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12042 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 16:54:44 +00:00
Greg Ercolano
5ba5befec1 Added line numbers to Edit -> Show Source Code viewer (source + header tabs)
Fixes Aditya Siram's observation today on fltk.coredev.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12041 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 16:46:57 +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
1f9d749580 Update bundled config.sub to a slightly newer version.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 13:08:43 +00:00
Albrecht Schlosser
b2ab9c065b 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.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 12:49:33 +00:00
Albrecht Schlosser
6daf518874 Add non-const version of Fl_Tree_Item::tree() as ABI feature.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 12:45:55 +00:00
Albrecht Schlosser
b9a020dcc7 Last minute documentation updates for release 1.3.4.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-16 21:01:15 +00:00
Manolo Gouy
7fcdea663e Remove apparent breaking of ABI compatibility by class Fl_Device_Plugin
Also, add Doxygen comment this class is not for use outside the library.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-16 15:00:02 +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
5c19bf07bf Documentation fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-14 14:33:14 +00:00
Manolo Gouy
81873ec324 Mac OS X SDK 10.12 is now supported, so MAC_OS_X_VERSION_10_12 is defined if SDK does not define it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-08 05:59:14 +00:00
Manolo Gouy
5c93e73a54 Add FL_EXPORT to quiet warning with MS VS2015
see http://www.fltk.org/newsgroups.php?s34326+gfltk.general+v34341

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-07 07:50:22 +00:00
Manolo Gouy
842c45f938 Fl_Native_File_Chooser on MacOS: improve handling of case where no chooser title is set.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-05 07:36:04 +00:00
Manolo Gouy
6324e540fe Improve Fl_Native_File_Chooser open dialog under Mac OS 10.12 that had lost its titlebar message.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-04 14:56:38 +00:00
Manolo Gouy
6df5b37006 Fix for STR#3308 - MacOS-specific part
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-04 11:26:36 +00:00