The ABI compatibility was checked with the abi-compliance-checker tool.
The same code has already been committed in the 1.4 branch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13043 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
FLTK now transforms that into \n as is expected under MacOS.
Older MS Office apps used \r as old MacOS software.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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
Because opening a file can call the event loop and thus access the list of dropped files,
it's necessary to remove the object from the list before opening the file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
With MacOS 10.13 "High Sierra", it was necessary to change what happens at application start time.
The new procedure is:
fl_open_display() calls [NSApp run], and during this call:
the main event loop is started;
the app delegate receives an openFile: message for each file dropped on the app icon. Each
such filename is memorised in an NSMutableArray called dropped_files_list;
the app delegate receives applicationDidFinishLaunching and stops the main event loop
(this seems to occur unpredictably after the first openFile: message or after all of them).
When the FLTK event loop begins, it checks whether dropped_files_list is empty. If it is not,
the first element of this list is a filename which is opened and is removed from dropped_files_list.
This new setup allows to turn resizable windows fullscreen and back as expected under MacOS,
and to support launching apps while dropping file(s) on its icon.
For now, the new setup is used only when MacOS 10.13 is running.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12509 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
With MacOS 10.13 "High Sierra", when a window is made fullscreen by clicking on the green window button,
the window hides the system menubar, but it's not possible to show the menubar by moving the pointer
to the very top of the window. This new way of starting apps fixes this problem.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This public, inline, and read-only accessor is intended for debugging
purposes but can be useful for user code as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Function load_xfont_for_xft2() tries to load an X font corresponding to a given xft font, to use it
with GL. Under Ubuntu, always the same font was loaded, whatever the family, style and size.
With this fix, style and size requests are honored under Ubuntu. Family request may not be honored.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12403 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
The widget's handle method may change the value of Fl::e_text.
This occurs for instance if this method calls fl_choice().
So, memorize the value of Fl::e_text before, to delete the correct array after the call to the handle method.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
There are still files that need changes, but with this commit the
majority of files is up-to-date.
Files left to be updated later:
- ANNOUNCEMENT partly done, needs RELEASE DATE !
- CHANGES up-to-date (?), but needs RELEASE DATE !
- KNOWN_BUGS.html needs more work (snapshot)
- maybe more (unknown)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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
The bundled scripts misc/config.guess and misc/config.sub should be
updated from time to time to get support for new platforms.
The new script 'misc/update_config_scripts' can be used to download
the latest versions of config.guess and config.sub.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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
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
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
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