Commit Graph

8797 Commits

Author SHA1 Message Date
ManoloFLTK
2878fa95ab Add optional argument to Fl_Printer::begin_job() to inform caller when an error occurs.
This solves an issue raised in fltk.general :  Fl_Printer errors - how can I interpret them?
    https://www.fltk.org/newsgroups.php?s38419+gfltk.general+v38427
2020-04-22 16:01:33 +02:00
Albrecht Schlosser
b38317b8a5 Unexpand $Id$ marker in the last remaining file 2020-04-22 15:42:22 +02:00
ManoloFLTK
b3d46711be Slightly improve drawing of window titlebars. 2020-04-21 09:45:43 +02:00
ManoloFLTK
e3ad0ee441 Avoid useless multiplication by 1 operations. 2020-04-21 09:38:39 +02:00
Albrecht Schlosser
811033af19 Reorganize .gitignore file(s)
Move ignored files in /examples/ and /test/ to their own folders,
i.e. to examples/.gitignore and test/.gitignore, resp.
2020-04-20 14:25:08 +02:00
Albrecht Schlosser
dec1938f3c Make draw() protected (Fl_Tree + Fl_Table)
Widget draw() methods must be protected per FLTK convention.
2020-04-20 13:30:48 +02:00
Albrecht Schlosser
40ed1dca41 Fix formatting of Fl_Wizard.H
Fix white space and comments only, no code changes.
2020-04-20 13:28:59 +02:00
Mohammed Alyousef
f203cb8c61 Make draw method protected in Fl_Wizard 2020-04-20 12:52:55 +02:00
ManoloFLTK
75f47a766f Use pkg-config when available to detect pango 2020-04-16 18:04:51 +02:00
ManoloFLTK
bebf554717 Try "pkg-config --cflags pangoxft" to detect presence of pango 2020-04-15 21:30:05 +02:00
ManoloFLTK
6fe226cb80 CMake: use pkg_check_modules to search for pangoxft
Command pkg_check_modules is present in CMake 2.6
2020-04-15 17:07:23 +02:00
Albrecht Schlosser
7ca708a445 Merge PR #71 from Mohammed Alyousef 2020-04-15 00:38:14 +02:00
Mohammed Alyousef
29ec4e0e55 Fix int highlight() comment 2020-04-15 00:35:32 +02:00
ManoloFLTK
b4dd1d36dd Make sure output file name extension is visible. 2020-04-14 21:13:04 +02:00
ManoloFLTK
f3e83d3ce5 MacOS: show print chooser panel as a sheet. 2020-04-12 17:18:44 +02:00
ManoloFLTK
6a01871f32 Give example of use of Fl_Native_File_Chooser::USE_FILTER_EXT option. 2020-04-10 18:41:24 +02:00
ManoloFLTK
84b753e7e9 Fix regression in Fl_Native_File_Chooser under macOS when USE_FILTER_EXT is ON. 2020-04-10 18:41:24 +02:00
Albrecht Schlosser
f930e834c5 Fix documentation URL's 2020-04-08 00:53:16 +02:00
Albrecht Schlosser
8eda47d411 Fix copyright header 2020-04-08 00:50:42 +02:00
ManoloFLTK
8e92ce49a8 Move Fl_Image_Reader.cxx to libfltk_images where it belongs. 2020-04-07 10:44:20 +02:00
Albrecht Schlosser
d46351a591 Update copyright and FLTK site URL
All .fl files and generated files have been updated.
2020-04-06 20:04:16 +02:00
Albrecht Schlosser
21fb8725c6 Generate copyright year in fluid's about_panel
Copyright year "1998-XXXX" is now generated from current year.
This avoids editing the source code every year.
2020-04-06 20:02:42 +02:00
ManoloFLTK
7793fa812a Update standard file headers 2020-04-05 16:53:37 +02:00
ManoloFLTK
d503f5d392 Fix small typo. 2020-04-05 10:04:24 +02:00
ManoloFLTK
e8185abf22 Fix Fl_X11_Window_Driver::capture_titlebar_and_borders() for resizable window. 2020-04-03 16:32:28 +02:00
ManoloFLTK
f4029aebde Merge remote-tracking branch 'refs/remotes/origin/master' 2020-03-28 07:13:34 +01:00
ManoloFLTK
6105a95202 Doc: make clear that nanosvg doesn't render image elements. 2020-03-28 07:13:11 +01:00
Albrecht Schlosser
09352ddab0 Update documentation, fix typos 2020-03-26 14:21:33 +01:00
ManoloFLTK
89449280dc Doc: more details about initialisation of display scale factors. 2020-03-26 06:29:25 +01:00
ManoloFLTK
abe1c4f7c0 Mention fix for git issue #65.
The description of commit 24f9e7e7c4
to fix that issue contains a typo. It should rather read:

Under Windows, resize requests OF MAXIMIZED WINDOWS sent by the program are now ignored,
which is what happens under X11 and macOS.
Previously, the window would become frozen when the request would try to enlarge the window.
2020-03-25 12:44:00 +01:00
ManoloFLTK
24f9e7e7c4 Fix for issue #65: FLTK breaks when resize request is denied
Under Windows, window resize requests sent by the program are now ignored,
which is what happens under X11 and macOS.
Previously, the window would become frozen.
2020-03-25 12:16:03 +01:00
Albrecht Schlosser
456089d7f1 Update Windows README file 2020-03-21 18:00:20 +01:00
Albrecht Schlosser
09d35ee9d5 Fix a typo 2020-03-20 15:40:00 +01:00
ManoloFLTK
10a9a0440e Rewrite Fl_Xlib_Graphics_Driver::get_font_name() with less lines of code. 2020-03-20 10:47:19 +01:00
ManoloFLTK
214f14db8a Fix Fl::get_font_name() under X11+Xft-Pango 2020-03-20 10:20:30 +01:00
Albrecht Schlosser
0a38e2e36d Fix epm homepage (url) 2020-03-16 22:43:03 +01:00
Michael C Tiernan
d9f7a368a6 Modify make dist-clean target
Added items that are left around by config/make process.

Note: commit message edited by AlbrechtS.
2020-03-16 16:41:25 +01:00
Michael C Tiernan
3d83633fc6 Changed two file names.
x-fluid.desktop should have been without the x-
The file CHANGES has moved to CHANGES.txt
2020-03-15 11:56:16 +01:00
ManoloFLTK
a66fea7527 Minor rewriting for more readable code. 2020-03-15 08:16:59 +01:00
ManoloFLTK
4b2dbe3bb4 Fix when using Fl_Scroll inside Fl_Overlay_Window 2020-03-12 21:38:13 +01:00
Albrecht Schlosser
8a7d4c9f61 Remove CodeWarrior "support"
Metrowerks CodeWarrior was an ancient macOS compiler (discontinued
since 2005) that defined the macro __MWERKS__. Code using this macro
and several comments have been removed.
2020-03-11 14:38:02 +01:00
ManoloFLTK
55132049c7 Complete fix for "[fltk.general] scroll and overlay window" dated 7 march 2020. 2020-03-10 06:37:47 +01:00
ManoloFLTK
812052e458 FLTK doc: Use Unicode character ⌘ (U+2318) in a macOS-specific context. 2020-03-09 13:21:52 +01:00
ManoloFLTK
a1115f13e3 Improve use of fl_scroll within Fl_Overlay_Window on macOS.
This is a partial fix for "[fltk.general] scroll and overlay window"
dated 7 march 2020.
Mixing of Fl_Scroll and Fl_Overlay_Window is now OK also
on a retina display, but there are still problems when the window
is scaled.
2020-03-08 20:16:34 +01:00
Albrecht Schlosser
a03220aba5 Fix a memory leak in fluid
Also fixed two typos in comments.
2020-03-08 12:42:30 +01:00
Albrecht Schlosser
1ffcef2373 Update Fl_Text_Display documentation
No code changes except minor formatting and trailing whitespace.
2020-03-08 12:33:06 +01:00
ManoloFLTK
735d73bb59 Merge remote-tracking branch 'refs/remotes/origin/master' 2020-03-03 19:03:53 +01:00
ManoloFLTK
8f142b938a Fix for STR#3534 to draw correctly Fl_Tiled_Image's on non-display surfaces. 2020-03-03 19:03:29 +01:00
Albrecht Schlosser
3746b8986e Clarify documentation of Fl_Pack 2020-03-03 17:29:00 +01:00
Albrecht Schlosser
0d7a9e7f37 Clarify Fl_File_Chooser documentation 2020-03-02 19:34:24 +01:00