Skip to content

11.7

Compare
Choose a tag to compare
@BerndGabriel BerndGabriel released this 20 Sep 21:58
· 15 commits to HtmlViewer-11.7 since this release
Added
  • Delphi 10 Seattle Support
  • Lazarus 1.6 Support
  • Linux (GTK2) Support
  • Raspbian (GTK2) Support
  • Detect UTF16 w/o BOM. Helps reading UnicodeStrings written to Streams.
  • Scrolling in unfocused HtmlViewer.
  • TFloatingObj supports style Position:Absolute
  • Position:fixed for Blocks and Images
  • HtmlViewer supports !important now
  • Working With Protocols
    • New unit UrlConn makes it easy for coders to add own protocol handlers for a TFrameBrowser
      • New base class ThtConnection offers to get a document.
      • New class ThtFileConnection gets a document from a file.
      • New class ThtResourceConnection gets a document from the application's resources.
      • New component base class ThtConnector offers to create a connection for a protocol. When dropped to a form with a ThtConnectionManager on it ThtConnectors register themselves at the ThtConnectionManager automatically.
      • New component ThtFileConnector creates a ThtFileConnection for protocol 'file://'.
      • New component ThtResourceConnector creates a ThtResourceConnection for protocol 'res://'.
      • New component ThtConnectionManager creates ThtConnections for the registered protocols.
    • TFrameBrowser Demos promoted from Other Demos to Main Demos
      • FrameBrowserDemoIndy10.dpr for Delphi and Lazarus (Win32/Win64/Linux)
      • FrameBrowserDemoIcs.dpr for Delphi only
      • Both demos are using the same code except their specific THttpConnector/THttpConnection in unit UrlConId10 resp. UrlConIcs.
Enhanced
  • Working With Images
    • Global image loader in unit HtmlImages, which enables coders to detect and load additional image formats:
      • base class ThtImageLoader
      • global procedure SetImageLoader
      • global function GetImageLoader
      • global function LoadImageFromStream uses the new global image loader
      • ThtImageLoader.GetFilter() returns a filter for file open dialogs.
      • Removed global function LoadImageFromFile: now done by new local procedure GetTheFile in ThtDocument.GetTheImage.
    • Added: ThtGraphicImage: support for all TGraphics without own TBitmap, e.g. meta files
    • Changed: More general code due to enhanced ThtImage
    • Changed: ThtGpImage becomes a TGraphic
    • Changed: TGIFImage becomes a ThtBitmap
    • Removed: type TGpObject no longer needed
    • ThtBitmap extended and moved from unit HtmlGif2 to HtmlGlobals. ThtBitmap is needed to support TBitmap.Assign() in Lazarus 0.9.30, which is the current official version for Raspbian gtk2/ARM
Fixed