ManoloFLTK
6c876189d8
Fix MacOS-specific regression appeared with move to git when building test with configure.
...
The svn contained empty directories, e.g., test/blocks.app/Contents/MacOS/
Git apparently can't store empty directories.
The test/Makefile is modified to create these directories at build-time.
2018-12-09 16:34:49 +01:00
ManoloFLTK
d087bae685
These binary files should not be committed.
2018-12-09 16:00:20 +01:00
ManoloFLTK
04f03ff056
Necessary for correct app bundles
2018-12-09 15:53:40 +01:00
ManoloFLTK
0240158d4c
macOS: creation of window with subwindow in iconized form - continued.
...
With macOS 10.13 and 10.14 at least, recursivelySendToSubwindows:@selector(display)
is not necessary in the new procedure where the window icon is computed in
windowDidMiniaturize rather than in windowWillMiniaturize as was done before.
2018-12-09 10:45:17 +01:00
ManoloFLTK
433f9b8ccb
macOS Mojave: fix window with subwindow created in iconized form - continued
...
Some more changes needed to keep support of MacOS < 10.5
2018-12-08 19:38:15 +01:00
ManoloFLTK
b4c3fec029
macOS Mojave: fix window with subwindow created in iconized form.
2018-12-08 16:31:18 +01:00
Albrecht Schlosser
7c1ccfa038
Complete fix for STR #3503 (Fl_Choice).
...
Fl_Choice::handle() needs to be fixed as well.
2018-12-07 17:52:32 +01:00
Manolo Gouy
6e49ce0a28
Merge remote-tracking branch 'origin/master'
2018-12-07 16:59:11 +01:00
Manolo Gouy
ed87d98c24
macOS comment only: refer to OS 10.14.2 gone public now.
2018-12-07 16:59:00 +01:00
Albrecht Schlosser
d87ac9b597
Fix crash if menu is deleted while menu is open (SGR #3503 ).
...
This can happen if a menu widget (e.g. Fl_Choice) is deleted in a
timer callback while the menu is open (pulldown active).
2018-12-07 14:45:50 +01:00
ManoloFLTK
f9228e55b3
Better Doxygen explanation of the use of Fl::paste().
2018-12-05 14:53:27 +01:00
ManoloFLTK
05e3df582e
Avoid 2 errors sent by Doxygen 1.8.14
2018-12-05 12:43:50 +01:00
ManoloFLTK
3bcb1256bb
New static member function: Fl_Device_Plugin *Fl_Device_Plugin::opengl_plugin()
2018-12-05 11:04:58 +01:00
ManoloFLTK
fb4cb71655
Merge remote-tracking branch 'origin/master'
2018-12-04 15:11:21 +01:00
ManoloFLTK
d2870d6f7d
Define useful implementations of Fl_Graphics_Driver::push_no_clip() and pop_clip().
2018-12-04 15:11:03 +01:00
Albrecht Schlosser
474d6e2393
Fix 'fluid.app' for case sensitive macOS file systems.
...
Change 'Fluid.app' to 'fluid.app'.
Also changed documentation and (https) links in modified files.
2018-12-04 14:20:33 +01:00
ManoloFLTK
b985b884f8
Give a meaningful default implementation to a few more member functions of class Fl_Graphics_Driver.
2018-12-04 12:57:32 +01:00
ManoloFLTK
7278a53758
Merge remote-tracking branch 'origin/master'
2018-12-04 12:33:28 +01:00
ManoloFLTK
45278560f2
Simpler implementation of class SVG_Graphics_Driver is enough.
2018-12-04 12:31:55 +01:00
fab672000
1fca986c79
Merge pull request #1 from fltk/develop-fabien
...
Fix .gitignore after building on mac OSX (using ./configure unix makefiles) still show…
2018-12-03 15:20:14 -06:00
fab672000
4ded3c2099
Added as well the .DS_Store pattern as recommended by Manolo.
2018-12-03 15:19:25 -06:00
Albrecht Schlosser
0ce9101c7b
Remove the statement that this is a mirror.
...
This repository is our main repo since the move to a new server on Dec 01, 2018.
2018-12-03 18:54:07 +01:00
ManoloFLTK
549d3555a1
Comment only: to try push with git
2018-12-02 19:20:44 +01:00
fab672000
ee9bd35266
Fix building on mac OSX (using ./configure unix makefiles) still shows not ignored binaries. Note that fltk block, checkers and sudoku games do have special content inside the .app folder, so ensure that these are not globally ignored while cleaning up the other test apps binary content that should be ignored.
2018-12-01 17:25:21 -06:00
Manolo Gouy
f53c7fd128
macOS: rewrite opengl_plugin_device() to use less memory.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13143 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-30 09:29:08 +00:00
Manolo Gouy
b04700397e
Comments only: correct the header of 2 source files.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-30 09:05:58 +00:00
Manolo Gouy
c33d3c6aaa
Remove unused arguments from the Fl_Device_Plugin::print() member function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-30 09:01:12 +00:00
Manolo Gouy
b511f6a7a4
Use the Fl_Gl_Device_Plugin mechanism to simplify the construction of a layer-backed GL window.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13140 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-29 17:50:55 +00:00
Manolo Gouy
d600ccc034
Remove unnecessary platform-specific #if / #endif clauses.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-29 09:20:08 +00:00
Albrecht Schlosser
2ef3b39c6a
Fix FL_PUSH event handling of Fl_Check_Browser (STR #3004 ).
...
Test if the FL_PUSH event is inside the widget area and inside
the scrollbars (if scrollbars are visible).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13138 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-29 00:06:33 +00:00
Manolo Gouy
91bb8bce1f
Create default implementation of Fl_Screen_Driver::get_system_scheme() and use it for macOS and Windows.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13137 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-28 18:01:02 +00:00
Manolo Gouy
46f08f6d21
Documentation: reveal where the Fl_Preferences text files are located on each platform.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13136 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-27 12:41:39 +00:00
Manolo Gouy
4881b982a3
Documentation: replace several instances of "pixels" by "FLTK units" to account for screen rescaling.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13135 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-27 09:57:45 +00:00
Manolo Gouy
db1206065a
Windows: Have Fl::x(), Fl::y(), Fl::w() and Fl::h() change their values when the screen is rescaled.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-26 20:55:23 +00:00
Manolo Gouy
d8c4447c84
MacOS: slightly simpler implementation of Fl_Cocoa_Window_Driver::wait_for_expose().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13133 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-26 09:21:40 +00:00
Manolo Gouy
3be39b03b4
MacOS: further support of scenarios mixing miniaturize/deminiaturize/change screen configurations.
...
Test scenario:
- use 2-screen configuration, one retina, one non-retina as main screen
- put subwindow-containing window on retina
- miniaturize window
- close retina screen
- de-miniaturize window
The subwindow was wrong without this change.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-23 09:47:08 +00:00
Manolo Gouy
97c0c6a024
MacOS: fix redraw of subwindow when display resolutions before miniaturize and after deminiaturize differ.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-22 11:55:04 +00:00
Manolo Gouy
7e5b04cab5
macOS: remove two useless statements for layer-backed OpenGL windows.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13128 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-21 11:55:04 +00:00
Manolo Gouy
3e6d8903d4
Minor reorder of operations performed when layered window is 1st drawn.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-20 16:52:35 +00:00
Manolo Gouy
95aa03d86d
macOS: reorganize the code running when windows are moved between retina and non-retina displays.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-20 12:51:03 +00:00
Manolo Gouy
de797c7101
MacOS: introduce classes FLViewLayer and FLGLViewLayer to handle layer-backed views.
...
Both new classes are derived from FLView.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13124 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-16 11:58:39 +00:00
Manolo Gouy
015d460c49
MacOS: simpler implementation of extra code necessary at first display of layer-backed GL windows
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13123 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-16 09:11:54 +00:00
Manolo Gouy
d312284099
Account for property graphicsPort of NSGraphicsContext being deprecated in 10.14
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-10 09:00:45 +00:00
Manolo Gouy
43b511b784
Fix macOS 10.14 Mojave support of the FLTK-cairo interface.
...
After experimenting with a modified cairo_test program that draws both with
cairo and with regular FLTK drawing functions to the same window, it seems
necessary to control for possible changes to the graphics context made by
cairo in Fl_Cocoa_Window_Driver::make_current() rather than in
cairo_create_surface().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13119 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-09 14:35:55 +00:00
Manolo Gouy
b325a6b4b2
Add guard against gl_draw(const char*, int) called with null 2nd argument.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-08 17:48:18 +00:00
Manolo Gouy
ff20361f5a
Support of macOS 10.14 Mojave: take care of the FLTK-Cairo interface.
...
Discussion "Screen buffer flipped in OSX Mojave running 1.4.x"
in fltk.general,
http://www.fltk.org/newsgroups.php?s36913+gfltk.general+v36915
describes a Cairo-using FLTK app that runs well after this modification.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-08 17:09:24 +00:00
Albrecht Schlosser
055de59c1d
Fix comment only (wrong STR number).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-05 19:05:21 +00:00
Manolo Gouy
09abaf4339
Further fix to support gl_start()/gl_finish() under MacOS platform.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-02 12:21:06 +00:00
Manolo Gouy
8a04aeb146
MacOS Mojave and gl_start(): fix for 10.14 but not 10.14.1
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-02 09:27:04 +00:00
Manolo Gouy
6a201d7070
Add useful cast
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-01 20:33:35 +00:00