Commit graph

8 commits

Author SHA1 Message Date
dbj
0bb2fa08b7 disable fl_update_focus calls on WIN32 and __APPLE_ since they are not defined there 2016-01-26 08:47:28 +00:00
agc
d8f09469bb Add SHA512 digests for distfiles for x11 category
Problems found locating distfiles:
        Package modular-xorg-server: missing distfile xorg-server-1.17.4.tar.bz2
        Package py-qt4: missing distfile PyQt-mac-gpl-4.11.1.tar.gz
        Package xservers: missing distfile xservers-3.3.6.5.tar.bz2
        Package xview-clients: missing distfile xview3.2p1-X11R6.tar.gz
        Package xview-lib: missing distfile xview3.2p1-X11R6.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 03:28:24 +00:00
markd
3be5e7a8c0 Update fltk13 to 1.3.3
New features and extensions

- New class Fl_Copy_Surface allows copying graphical data to the
  clipboard in a cross-platform way
- Support for pasting graphical data from the clipboard to a widget.
- New class Fl_Image_Surface allows drawing into an Fl_Image object.
- Methods Fl::add_clipboard_notify() and Fl::remove_clipboard_notify()
  to get notifications whenever the clipboard changes
- New method Fl_Window::wait_for_expose()
- New bilinear scaling method for RGB images
- New method Fl_Widget::top_window()
- New method Fl_Widget::top_window_offset()
- New Fl_Tree_Item methods label_x(), label_y(), label_w(), label_h().
- New methods Fl::enable_im() and Fl::disable_im() to enable/disable
  system Input Methods (IM).
- New methods Fl::add_system_handler() and Fl::remove_system_handler()
  to intercept low level system events.
- New FLTK scheme "gleam"
- New method Fl::is_scheme() to compare the current scheme name.
- New method to set custom icons for windows
  see Fl_Window::icon() for more info.
- New method to set any custom cursor, based on a Fl_RGB_Image object.
  Also changed fallback cursors to use this method, so that fallback
  cursors are handled in a platform independent manner
- New ability to convert Fl_Pixmap to Fl_RGB_Image
- Support for full screen windows over multiple monitors.
- New optional line numbers in Fl_Text_Display and options to control
  line numbers and word wrapping (on/off) in example test/editor.cxx.
- On Linux/Unix, class Fl_Native_File_Chooser uses file dialogs from
  the Gnome environment (provided by the libgtk dynamic library) if
  available, and falls back to Fl_File_Chooser if not
  Use option Fl::OPTION_FNFC_USES_GTK to enable/disable this feature.
- New support for the Mac OS text input system that deals with character
  composition and input of languages with large character sets (e.g.
  Chinese and Japanese). This implementation has been reported to work
  well for Chinese. Superficial testing suggests it's also operational
  for Japanese. In-depth testing remains needed though.
Other improvements

- Many CMake improvements
- Some autoconf, configure improvements.
- Removed 1024 bytes constraint in labels and browser lines
- Mac OS version of Fl_Native_File_Chooser: when using filters in a
  save file dialog, the output file extension gets changed when the
  user modifies the output file type.
- Many Mac OS X improvements related to Fl_Sys_Menu_Bar.
- Improved Mac OS X keyboard handling of special keys or combinations.
- General Mac OS X improvements, incl. high resolution (Retina)
  displays, and support up to Mac OS X 10.10.
- Documentation improvements and clarifications.
- Printing support improvements, including GL windows.
- Many improvements related to Fl_Tree (some of them only as ABI
  breaking features, see below).
- Some static data has been made 'const' to improve memory usage
  with shared libraries.
- Don't grab navkeys with modifiers (CTRL, ALT), as the application
  may want them
- Check compiler support of -fvisibility, -fvisibility-inlines-hidden,
  and use it, if available. Reduces shared library size.
- Drag'n'drop behaves better now: if text is dropped in the widget it
  comes from, then it works like cut and paste.
- Other improvements of DND handling when dragging text from other
  applications, e.g. Firefox and Thunderbird.
- Windows message WM_QUIT is processed like SIGTERM, i.e. as a
  request to terminate the program.
- Fluid no longer closes the code window when hitting ESC (STR #2997).
- Improved Fl_Widget::when() handling in Fl_Tabs
- Improved support for more recent compilers (clang and gcc) that
  issue more warnings, and fixed some 32-/64-bit compilation issues.
- Added method Fl_Window::clear_modal_states() to make it possible
  to remove the modal or non-modal state from a window
Bug fixes

- Fixed word selection dragging in text input
- Fixed crash if Fl_Window::flush() called while window not shown()
- Fixed segfault in fl_set_fonts_xft.cxx when loading fonts not named
  as expected
- Fixed a memory leak in font loading/allocation
- Fixed OS X fl_read_image() and Fl_Paged_Device::print_window_part()
  when using a Retina display.
- Fixed MinGW build if configure didn't find strcasecmp()
- Fixed access of protected member under Linux/Unix
- Fixed various Mac specific OpenGL issues
- Fixed PostScript printing with non-english locale
- Fixed a regression in Fl_File_Chooser since FLTK 1.1.8: the
  Enter key now selects the file again.
- Fixed a bug in Fl_Native_File_Chooser (Windows) for some file name
  input filters
- Fixed out-of-bounds memory access in Fl_Text_Display
2015-07-21 21:36:41 +00:00
richard
96e427152d Some upstream patches are added based upon the following:
TigerVNC requires FLTK 1.3.0 (or later). Although it will build and work
with plain 1.3.0, to get full functionality and the best behaviour the
following patches are needed

# Export dead key information from FLTK to the apps
# http://www.fltk.org/str.php?L2599

# Notify applications of changes to the clipboard
# http://www.fltk.org/str.php?L2636

# Ability to convert a Fl_Pixmap to a Fl_RGB_Image
# http://www.fltk.org/str.php?L2659

# Support for custom cursors
# http://www.fltk.org/str.php?L2660

# Improve modality interaction with WM
# http://www.fltk.org/str.php?L2802

# Window icons
# http://www.fltk.org/str.php?L2816

# Multihead
# http://fltk.org/str.php?L2860
2014-01-05 09:15:06 +00:00
joerg
26816b4af3 Remove default arguments from a friend definition that is not a
declaration.
2013-07-13 19:44:54 +00:00
ryoon
48178732cb Update to 1.3.2
* Update MASTER_SITES.

Changelog:
CHANGES IN FLTK 1.3.2

        - Removed unnecessary drawing calls (STR #2898)
        - Fixed regression in FLTK 1.3.1 for unbundled Mac OS FLTK applications that
          did not appear in dock nor have a menu bar (STR #2890).
        - Fl_Table::clear() now calls table->clear() for consistency. (STR #2889)
        - Fixed Fl_Scroll widget that fails under Mac OS X 10.8 and retina display (STR #2887).
        - Prevents scrollbars from drawing when widget is sized too small to be visible (STR #2886).
        - Documented how to make a Mac OS X FLTK application launchable by dropping files on its icon.
        - Fixed a Mac-specific issue appeared with OS 10.8 (Mountain Lion): long delay before
        opening when the application is started by dragging a file on the application icon.
        - Fixed use of PNG image from im-memory data (STR #2884).
        - Added static Fl_RGB_Image::max_size(size_t) to limit the maximum memory size allowed to
        RGB images (STR #2881).
2013-06-09 16:09:35 +00:00
joerg
eef7070bfc Clang seems to be more strict when it comes to access permissions, so be
more friendly.
2012-04-19 21:09:29 +00:00
is
d7f9150637 Unfortunately, fltk13 changes the semantics of the scroll widget in ways
not detectable by the compiler... so make a new package.
TBD: This still misses cairo support.
2011-12-01 16:35:12 +00:00