| Age | Commit message (Collapse) | Author |
|
This option does not build the documentation automatically, docs
still must be built manually, e.g. 'make docs' or 'make html'.
|
|
We can't use --status-bugs because this would always FAIL - there
are currently too many potential bugs (or false positives).
|
|
Remove unnecessary help message, use standard CMake configuration
as described in README file.
|
|
|
|
Remove unused variables and unused code to silence warnings.
|
|
Fix several bugs found by scan-build (more to come).
https://clang-analyzer.llvm.org/scan-build.html
See also current travis-ci build log with static analyzer, e.g.
https://travis-ci.com/fltk/fltk/jobs/285426415
(link may become invalid in the future).
|
|
Revert commit 958d912ffcdb 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).
This has also been backported to FLTK 1.3.6 in branch-1.3, see
commit 219ae5e455e7943ffb35fdd5edbe13dcc6955423.
|
|
|
|
|
|
|
|
|
|
That doc says:
"Top-level windows initially have visible() set to 0 and parent() set to NULL"
and here sw is created as a top-level window, so it must be made visible
either by set_visible() or by show().
|
|
|
|
|
|
The doc states:
"Top-level windows initially have visible() set to 0 and parent() set to NULL.
Subwindows initially have visible() set to 1 and parent() set to the parent window pointer."
The first statement was not satisfied when a window was constructed
with the Fl_Window(x, y, w, h, t) constructor.
|
|
|
|
|
|
I believe this is a better place.
Also: add FL_EXPORT since it's no longer inline.
|
|
According to the documentation fl_font(face, size) may be called
"outside a draw context if necessary to call fl_width()".
This worked in 1.3.5 but did not in 1.4 (so far). I reworded the
docs to make clear that other measurement functions can be called
as well and refactored the code to make sure that fl_font(face, size)
will open the display if necessary.
|
|
The X11 specific overloaded function fl_open_display(Display *)
has never been documented but exposed (and "exported" in the ABI)
in FL/platform.H which is not necessary. This internal function
is now static and no longer exposed in the ABI.
Don't confuse with fl_open_display() w/o arguments which is still
exported and declared in FL/platform.H.
|
|
Fix cut'n'paste error: needs #pragma pop instead of push.
|
|
- make the internal variable static
- make it callable after fl_open_display()
- document that it's currently only usable to switch scaling off
|
|
... for GCC >= 4.6 and clang compilers.
This annoying warning exists on X11 (Linux/Unix/macOS) platforms
because we need to use XKeycodeToKeysym() although it is deprecated.
See STR 2913 for discussion and details.
|
|
|
|
|
|
|
|
The button state is recorded in a preference so is recovered the next
time the GTK file chooser runs.
|
|
|
|
Allows an app to detect whether fl_register_images() was called or not.
|
|
!defined(RTLD_DEFAULT)
|
|
|
|
|
|
|
|
|
|
labels
|
|
|
|
|
|
Building the documentation need not depend on building the library.
This change can speed up changing, building, and viewing modified
docs.
|
|
Unfortunately this typedef for shortcuts in Fl_Menu_Items etc.
can currently not be used with the full (21-bit) range of Unicode.
These restrictions are now documented but should be removed in a
future version, if possible.
|
|
|
|
|
|
There are now 2 kinds of GTK libraries (V2 and V3) and two dialogs
the file chooser and the printer chooser.
|
|
|
|
Clarify functionality of fl_not_clipped() and fl_clip_box().
Add developer documentation for Fl_Graphics_Driver::clip_box().
Documentation only, no code changes in this commit.
|
|
|
|
|
|
|
|
The demo exhibits a sometimes annoying /feature/ to spin the entire
puzzle if a user happens to click and/or drag the mouse somewhere on
the puzzle's background rather than on a puzzle piece.
A new command line option '-n' disables this feature entirely.
The extended menu and keyboard commands learned a new option and
keyboard shortcut 'n' => "Normal Position" to stop spinning and
to reset the puzzle to its original position.
The space key is another (hidden) shortcut for 'n'.
|
|
Add CMAKE_RC_COMPILER variable, switch to 64-bit toolchain, add
a note to replace the toolchain location as required, fix typos.
|
|
|