Habarisoft is pleased to announce the release of ScroogeXHTML 6.8, a fast RTF to HTML / XHTML converter library for Delphi and Free Pascal. A off-line demo version, the "Getting Started" guide (PDF) and the complete API documentation are available. An interactive on-line demo is available for ScroogeXHTML for the Java™ platform. (Please be aware … Continue reading ScroogeXHTML 6.8 – fast RTF to HTML / XHTML converter
Habari Client libraries release 2015.02
Habarisoft released new versions of Habari Client libraries for Delphi and Free Pascal application integration with free open source message brokers. Tested with current message broker versions Apache ActiveMQ 5.11.0 Apollo 1.7 HornetQ 2.4.0.Final Open MQ 5.1 b09 RabbitMQ 3.4.3 Fixes The throughput test application uses the subscribe.receipt=true connection parameter to ensure that the broker … Continue reading Habari Client libraries release 2015.02
Indy HTTP server: multipart/form-data file upload example
The Internet Direct (Indy) 10 HTTP server class TIdHTTPServer does support HTTP file upload with multipart/form-data encoding. The solution below is based on code in the Indy and Delphi newsgroups. Please note that a patch in the Indy library is required, as shown on Stackoverflow in Indy MIME decoding of Multipart/Form-Data Requests returns trailing CR/LF. … Continue reading Indy HTTP server: multipart/form-data file upload example
Habari Client libraries release 2014.09
Habarisoft released new versions of Habari Client libraries for Delphi and Free Pascal application integration with free open source message brokers. Tested with current message broker versions Apache ActiveMQ 5.10.0 Apollo 1.7 HornetQ 2.4.0.Final Open MQ 5.1 b09 RabbitMQ 3.3.5 Fixes Unhandled Exceptions in WaitForReceiptFrame are re-raised to notify client code about the exception Fixed compiler … Continue reading Habari Client libraries release 2014.09
Open source REST client libraries for Delphi
delphi-oopdelphi-oop includes a REST client to consume RESTful web services using your own annotated class (similar to JAX-RS). It supports Google OAuth 2.0 authentication. The library is mostly tested with Delphi XE and hosted on Google Code at https://code.google.com/p/delphi-oop/Code example: (more examples on the project page)[sourcecode lang="delphi"] TODataNorthwindClient = class(TSvRESTClient) public [GET] [Path('/Customers')] [Consumes(MEDIA_TYPE.JSON)] function … Continue reading Open source REST client libraries for Delphi
Open source SAX parsers for Delphi and Free Pascal
SAX (Simple API for XML) provides a mechanism for reading data from an XML document that is an alternative to that provided by the Document Object Model (DOM). Where the DOM operates on the document as a whole, SAX parsers operate on each piece of the XML document sequentially. SAX is supported by several libraries … Continue reading Open source SAX parsers for Delphi and Free Pascal
ScroogeXHTML 6.7 – fast RTF to HTML / XHTML converter
Habarisoft is pleased to announce the release of ScroogeXHTML 6.7, a fast RTF to HTML / XHTML converter library for Delphi and Free Pascal. This is mainly a bug fix release. New in release 6.7 Support for mixed case RTF tokens Fixed support for output without indentation (SCROOGE_NO_INDENT option) Updated documentation Removed debug mode (replaced … Continue reading ScroogeXHTML 6.7 – fast RTF to HTML / XHTML converter
Send secure SMTP email from Delphi applications
Introduction Sending email from Windows, Android and iOS Delphi applications over public SMTP servers requires an encrypted connection. Internet Direct (Indy) configuration for SSL/TLS connections is shown in this example source code. Disclaimer This code is mostly based on code posted in the Embarcadero forum and here. Example usage procedure TFormMailDemo.ButtonSendClick(Sender: TObject); var Mail: TSSLEmail; … Continue reading Send secure SMTP email from Delphi applications
ActiveMQ, Qpid, HornetQ and RabbitMQ in Comparison
An article by Thomas Beyer (also available in German language) gives a short introduction into popular messaging solutions which are available as free open source projects. "Newer architectures and the standardized AMQP protocol have led to a flood of message brokers. All brokers take claim to be fast, robust and reliable. But what really distinguish … Continue reading ActiveMQ, Qpid, HornetQ and RabbitMQ in Comparison
Query ActiveMQ Broker Statistics with Delphi
Broker Configuration To configure ActiveMQ to use the statistics plugin add the following to the ActiveMQ XML configuration: <plugins> <statisticsBrokerPlugin/> </plugins> The statistics plugin looks for messages sent to particular destinations. Query running broker statistics To query the running statistics of the message broker, the client sends an empty message to a Destination named ActiveMQ.Statistics.Broker, … Continue reading Query ActiveMQ Broker Statistics with Delphi