Our Blog, Filemaker only, Xojo only, Archive (older), Follow us on Twitter, Xing, LinkedIn or Facebook.


Xojo 2017 Release 1 Now Available

Tuesday 28 March 2017 at 2:34 pm
Xojo, Inc. just released their latest update to Xojo:

Xojo 2017 Release 1 is now available! This update adds more than 230 improvements, with a major focus on debugging, including 64-bit debugging and Raspberry Pi Remote Debugging.

Xojo 2017 Release 1 features:

  • 64-bit debugging for macOS and Linux
  • Remote debugging to Raspberry Pi
  • Improved printing support on Windows (now using Direct2D)
    Improved Xojo.Net.HTTPSocket on Windows
  • Code Editor improvements, such as more automatic code formatting, optional line number display and improved tab handling
  • Menu shortcut editor allows you to set and change all IDE menu shortcuts
  • WebKit HTMLViewer on Windows is now much faster and standard-compliant (uses Chromium Embedded Framework 3)
  • Support for HTML in text-based web controls
The complete list of improvements in Xojo 2017 Release 1 can be found in the release notes. Download it now!

Is your license expired? Renew today to get access to this release and all others that come out while your license is current.

I am happy to see 64-bit debugging on my Mac which allows to hunt a few 64-bit related bugs in my projects.

Please note that our plugin extensions for WebKit on Windows require plugins version 17.1 or newer. For 17.2 we plan to add more new functions there to better integrate with Chromium.

For printing with DynaPDF on Windows we still see issues. For the time being we are working on newer functions there to do printing without Xojo's graphics class and show print dialog ourselves.

Learn more about Xojo's new release at the European MBS Xojo Conference in Berlin!

Amazon S3 and other services in Xojo and FileMaker

Saturday 25 March 2017 at 8:43 pm
The last weeks I worked on integrating Amazon S3 for a client. Normally using any web services is not much work as our CURL functions in the plugin handle the transfer thing with authentication and encryption. But for Amazon's web services, some extra work is needed.

So for next plugins, I implemented AWS4-HMAC-SHA256 signatures. They are required to authenticate and talk to the web services. To setup this, you pass our plugin the required informations: AWSAccessKeyId, AWSSecretAccessKey, Region, Service, Path, Domain, Verb, HashedPayload, Headers. The key and secret are available from Amazon on their website. The region defines where your server is, for me eu-central-1 with server in Frankfurt, Germany. The service in my case is s3. The path defines the path to the file, e.g. "/test.jpg". The domain can be calculated by plugin or overwritten by you. Usually it is something like s3.eu-central-1.amazonaws.com with various region names included. Verb defines which HTTP operation to do: get, put, delete or post.

The payload sent needs to be included in the signature. So if you provide the data to upload/send before our call to setup with our input functions, the plugin can hash it and include the hash. Or you provide a hash, a lowercase hex encoded SHA256. Especially when uploading a file which does not fit in memory, it may be an option to hash it yourself.

Next you can include various headers. The headers are included in the signature and passed to CURL for the transfer. Our plugin functions add extra headers for amazon and pass the URL to CURL with a few options. You can than add more options like SSL certificates and start the transfer.

The examples will show how to upload/download an image file to Amazon S3 in your bucket.
Coming soon with next plugin update.

PS: if you have older code for Amazon, you may need to update it to use AWS4-HMAC-SHA256, too. Newer regions only support the newer scheme and not the older signature system.

CURL conference

Sunday 19 March 2017 at 2:15 pm
This weekend I participated in the CURL conference in Nuremberg.
It’s great to finally meet the people behind CURL and learn bow all came together and what direction they want to go. We had over a dozen interesting presentations and I learnt a lot about HTTP/2, SSL security and how people use CURL in various ways.

One of the things I learnt from a nice fellow is how to load the system certificates on Windows. I even found similar code for macOS, so next plugins can use system certificates.

So we have now 4 ways to handle SSL security:
  • Ignore it and accept all certificates.
    OptionVerifyPeer = 0 and OptionVerifyHost = 0
    No verification is done and middle man attack is very easy.
  • Use a cacert.pem file with root certificates and verify against those.
    Use this for certificate pinning. Put the certificates of your servers in a pem file and only allow those. Or get a general cacert.pem file with common root certificates.
  • Use system provided SSL functionality, see CURLNMBS class.
    Only for Mac and Windows in our Xojo plugins.
  • New: Load system certificates and verify against them.
    For Mac and Windows with next plugin version.
Please try them soon in FileMaker and Xojo and let me know if they work fine for you.
I even thought about using the system certificates by default if you don’t provide certificates, but ask to verify.

The conference was great and thanks to everyone helping. See you again some day!

MonkeyBread Software Releases the MBS Xojo Plugins in version 17.1

Tuesday 14 March 2017 at 09:18 am
NICKENICH, Germany (March 14th, 2017) -- Monkeybread Software releases version 17.1 of the MBS plug-in for Xojo and Real Studio.

The MBS plug-in comprises a collection of several plug-in parts which extend the Xojo (Real Studio) development environment with 2,400 classes featuring over 62,000 documented functions. Our plugins support all three platforms Mac OS X, Windows and Linux with all project types desktop, web and console including 64-bit and ARM targets.

Some of the highlights on the 17.1 update:

The new NSOutlineControlMBS and the improved NSTableControlMBS controls allow you to implement modern table controls based on Apple's Cocoa controls. Included with the plugins are example projects to show how to replace the standard listbox with our replacements.

For CURL we now have three variants: CURLS classes come with an internal CURL, SSL and SSH library, so you can use it without installation extra libraries. For Mac and Windows the CURLN classes allow you to use native SSL. And the CURL classes without N or S allow you to use your own library files. Our examples mostly demonstrate using CURLS to show you the same behavior cross platform.

Our new ParseDateMBS function parses date and time. You specify the format of the date to parse. Same format can be used with FormatDateMBS function to format a date or time in as specific format.

The functions to edit word files can now extend tables. If your template contains a table and you want to flexible add rows and fill them, you can now duplicate a row as needed and insert it below or on the end of the table.

For Windows we implemented a new class WindowsProcessMBS as a native shell class replacement. You can launch processes and receive their output as string as well as send input to them. Optionally you can use cmd.exe to run shell commands.

You can use the WinNotificationMBS class to draw into a MDI parent window of your application. Our example shows how to draw a picture there. This class is mostly used to be notified about global events like screen resolution changes.

We updated the controls in the plugin and added new mouse events. The cocoa controls got FrameChanged and BoundsChanged events to recognize size changes.

Finally we updated PortMidi, Tidy to version 5.3.15, DynaPDF to 4.0.9.24, SQLite to 3.17.0 and CURL to 7.53.1.

See release notes for a complete list of changes.

Stammtisch in Nürnberg

Tuesday 14 March 2017 at 09:02 am
On my next visit to Nuremberg, I'd love to make another FileMaker and Xojo developer meeting:

Wer hat Interesse an einem Xojo und FileMaker Entwicklertreffen am 17. März 2017 in Nürnberg?

Einfach gemütlich zusammen sitzen und über Xojo und FileMaker plaudern.
Gerne zeige ich auch neue Pluginfunktionen oder helfe bei Problemen mit euren Projekten. Einfach Computer mitbringen und was zeigen.

Bei Interesse bitte in der Liste eintragen.

MBS Xojo Plugins, version 17.1pr5

Thursday 09 March 2017 at 10:45 pm
New in this prerelease of the 17.1 plugins: Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

Xojo Stammtisch in Hamburg

Thursday 09 March 2017 at 4:25 pm
On my next visit to Hamburg, I'd love to make another Xojo developer meeting:

Wer hat Interesse an einem Xojo Entwicklertreffen am 7. April 2017 in Hamburg?

Einfach gemütlich zusammen sitzen und über Xojo schnacken.
Gerne zeige ich auch neue Pluginfunktionen oder helfe bei Problemen mit Xojo Projekten. Einfach Computer mitbringen und was zeigen.

Bei Interesse bitte in der Liste eintragen.

Reminder for Xojo and FileMaker events in Netherlands

Wednesday 08 March 2017 at 10:39 pm
In the next days I visit Netherlands. We have two events:

Xojo Developer meeting in Utrecht, 10th March 2017.
MBS FileMaker Plugin training day in Utrecht, 11th March 2017.

If you want to join the Xojo meeting, let me know. For the FileMaker meeting you can still sign up on the MeetUp page.

See you there!

MBS Xojo Plugins, version 17.1pr4

Monday 06 March 2017 at 10:52 pm
New in this prerelease of the 17.1 plugins:
  • Updated DynaPDF to version 4.0.9.24.
  • Added NSOutlineViewMBS, NSOutlineViewItemMBS and NSOutlineControlMBS for hierarchical Cocoa listbox.
  • For the conversion to NSObject* or CFTypeRef from variant we now consider Ptr to be a valid object pointer and expect you know what you are doing!
  • Added ResourcePropertyForKey and SetResourcePropertyForKey and a lot of keys to CFURLMBS class.
  • Fixed a bug in CNLabeledValueMBS failing to return phone number value.
  • Implemented Source and Text properties for ChromiumFrameMBS and CEF3.
  • Added CURLN* classes for using built-in CURL library with native SSL on Mac and Windows.
  • Split CURLEmail classes into own plugin part, so it can stay as CURLEmailMBS and used with all CURL variants.
  • Updated CURL library to version 7.53.1
  • Added AllowsCharacterPickerTouchBarItem and AutomaticTextCompletionEnabled for touch bar to NSTextFieldMBS class.
Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

Two months till MBS Xojo Conference in Berlin

Sunday 05 March 2017 at 2:34 pm
The conference is coming closer and just two months are left. If you like to come, please check soon your schedule and make your reservations for traveling.

Monkeybread Software is pleased to announce the MBS Xojo Conference in metropolitan Berlin, Germany. We meet in the lovely Ellington hotel in the center of west Berlin. The hotel is near Kurfürstendamm, the Zoo and KaDeWe. Beside our two conference days we have accompanying social programme with our dinner event and optional two training days. For the evenings we have casual get-together in the hotel bar or beer garden.

Just two months left and we already have over 70 attendees from 16 countries. This is the only Xojo related conference in the year 2017 an the biggest so far in Europe.

We are happy to have Xojo engineers join our conference. Geoff Perlman, CEO of Xojo Inc. and other engineers will join us and present news about Xojo. Bob and Carol Keeney will share knowledge about reporting and databases, Yousaf Shah will show Raspberry Pi uses and talk about running a business. Jens Boschulte, our PDF specialist and creator of the DynaPDF library will be available for questions. And of course we have a few other well known Xojo developers coming.

The schedule:

May 3rd: Xojo Training in English
May 4th: Conference, first day with dinner event
May 5th: Conference, second day
May 6th: Xojo Training in German

See website for details: monkeybreadsoftware.de/conference

Attending the conference costs regularly 499 Euro plus VAT, including food and beverage in the Ellington Hotel as well as an accompanying social program.

Sessions are to be held in English. Our conference is conceived as a networking event for the Xojo community. The conference is an ideal opportunity for sharing your thoughts and your own development experience with fellow users and developers. If you like to hold a presentation, please contact us as soon as possible. Speaker receive discounted tickets.

Registration and more Information on our website.

JPEG Quality Estimate

Saturday 04 March 2017 at 9:06 pm

You can actually query an estimate for the quality setting used to save a JPEG image.

 

In FileMaker

Set Variable [$img; Value:MBS("GMImage.NewFromContainer"; Image::InputImage)]

Set Variable [$value; Value:MBS("GMImage.GetAttribute"; $img; "JPEG-Quality")]

Show Custom Dialog ["JPEG Quality used to compress …"; $value]

Set Variable [$r; Value:MBS("GMImage.Destroy"; $img)]

Or in Xojo:

dim f as FolderItem = SpecialFolder.Desktop.Child("test.jpg")

dim g as GMImageMBS = new GMImageMBS(f)

dim s as string = g.attributeValue("JPEG-Quality")

MsgBox "JPEG Quality: "+s

GraphicsMagick lets you read various attributes including EXIF, IPTC and 8BIM metadata.

The JPEG loader in GraphicsMagick checks the JPEG settings for colorspace, orientation and quality, so the same settings can be used to save the same image again.


Xojo Developer Meeting for Utrecht

Tuesday 28 February 2017 at 7:46 pm
As I come to Utrecht (Netherlands), I plan a Xojo Developer dinner meeting there:

Date: 10th March 2017
Time: probably 18:00 to 22:00 o'clock, so you can come later or leave earlier.
Where: Somewhere in/near Utrecht, suggestions welcome.
Cost: Your own food and beverage

If you are interested, please let me know.
Topics may include news for MBS Plugins, Xojo conferences and latest Xojo release.

If you are interested in FileMaker, you can join the MBS FileMaker Plugin Training day in Utrecht

Adding CURLN* classes to MBS Xojo Plugins

Friday 24 February 2017 at 7:06 pm
As you may know we have already two CURL variants. First, the one to use your custom CURL library or the system provided one on Mac or Linux. Second, the CURLS* classes using a statically linked curl library with OpenSSL and SSH2 libraries. Now we a third option with CURLN* classes. Those use a built-in CURL library with the native SSL on Mac and Windows.
Here is a table with the built-in libraries:

PlatformCURLCURLSCURLN
Mac 64-bit-OpenSSLDarwinSSL
Mac 32-bit-OpenSSLDarwinSSL
Mac 32-bit PPC-OpenSSL-
Windows 32-bit-OpenSSLWinSSL
Windows 64-bit-OpenSSLWinSSL
Linux 32-bit-OpenSSL-
Linux 64-bit-OpenSSL-
Linux 32-bit ARM-OpenSSL-

For all variants you can always optionally load system or custom libraries. It's just about what is included in the plugin as default option.

Native SSL on Mac requires OS X 10.8 or newer.

If no library was loaded and you run the CURL class constructor, we will try to load the system library. That works fine on Linux and Mac.

So now it's your decision what you want to use:
The default for examples will stay with CURLSMBS as the built-in libraries provide cross platform the same experience. If you need to do native SSL, you may want to try CURLNMBS and if you plan to use your own custom CURL libraries, you can use CURLMBS.

XDC 2016 videos are here!

Wednesday 22 February 2017 at 9:33 pm
Everyone can now watch those 34 sessions from last year's XDC in Houston, Texas.

If you attended, you can simply login on xojo.com and find the videos in the navigation bar.

If not, you can purchase them for a special introductory price of $349, buy now.

Session list:
  • XDC Keynote
  • About the Xojo Compiler, Joe Ranieri
  • Advanced Git Features and Methodologies, Justin Elliott
  • All About iOS, Travis Hill
  • Ask the Xojo Engineers
  • Build and Consume REST WebServices with Xojo, Pat Delaney
  • Database Driven Apps, Hal Gumbert
  • Database Design Patterns and Anti-Patterns, Craig Boyd
  • Desktop Developer’s Guide to Making iOS Apps, Paul Lefebvre
  • Eliminating Common Database Issues, Bob Keeney
  • Quick, Good and Cheap: Removing Human Error in the Xojo Application Build Process, Greg O’Lone
  • Fun topics with Introspection, Norman Palardy
  • Grow Your Software Company: Create Value, Get Sales, Paul Levine
  • Implementing Self-Updating Apps with Kaju, Kem Tekinay
  • It Rhymes with Mojo, Mark Strickland
  • Load Balancing and Other Techniques for Enterprise Web Apps, John Joyce
  • Managing Your Projects (and Yourself) to Success, Susan Fennema
  • Mastering PostgreSQL, Dirk Cleenwerck
  • Modernizing Your Xojo Apps, Paul Lefebvre
  • Panel Discussion - Running a Software Business - Geoff Perlman, Paul Levine, Fred Roller
  • Panel Discussion - Xojo Consulting - Paul Lefebvre, Bob Keeney, Tim Dietrich, Hal Gumbert
  • Powering Apple TV Apps With Xojo, Tim Dietrich
  • Raspberry Pi: The Ultimate Gadget, Paul Lefebvre
  • Responsive Design for Desktop and Web, Michel Bujardet
  • Snippets: A Collection of Tools and Code to Enhance Productivity, Bob Gordon
  • Supercharge Your Windows and Linux Apps, William Yu
  • Supporting Retina and HiDPI in Your Applications, Greg O'Lone
  • Test Driven Development, Jeremy Cowgar
  • The Dirty Dozen: Connecting to Nearly Any Database with the MBS SQL Plugin, Christian Schmitz
  • The Xojo Framework, Joe Ranieri & Travis Hill
  • Unit Testing from Soup to Nuts in Xojo, Philippe Casgrain
  • Xojo Reporting on Steroids, Bob Keeney
  • Xojo's Role in the API Economy, Tim Dietrich
  • XojoScript: Xojo's Coolest Feature, Marc Zeedar
If you like to attend a conference, we have two great options for you:

in 2017: the MBS Xojo Conference in Berlin, Germany from 4th to 5th May 2017.
in 2018: the Xojo Developer Conference 2018 in Denver, USA from 25th to 27th April 2018.

MBS Xojo Plugins, version 17.1pr3

Wednesday 22 February 2017 at 4:45 pm
New in this prerelease of the 17.1 plugins: Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

Differences between CURLMBS and CURLSMBS classes

Wednesday 22 February 2017 at 2:27 pm
For years now we have two classes for CURL in your MBS Xojo Plugins:

CURLS (with S) which uses our statically linked CURL library. And it includes SSH and SSL libraries, so it has no dependencies. You can use the plugin and no other DLLs are required.
CURL (without S) does the same, except that it comes without a built in library. You can load whatever CURL library you want. For example you can use the one which comes with macOS or Linux. Or you provide your own dll/dylib/so files. Those versions may be with or without SSH or other features.

For 7.1 plugins we made sure both sets of classes have the same features and match in classes. So we got FileInfo class for CURL part, too. And the CURLEmailMBS class used with CURLS part is now named CURLSEmailMBS. That is due the CURLEmailMBS is now related to CURLMBS. Please update the class name in your code.

If you are interested to use native SSL libraries on Mac or Windows and ditch OpenSSL, we have later special CURL Libraries for you. They work well with CURL plugin, but you have to include them with your application and load them at runtime.

Dash help archives for Xojo and FileMaker

Monday 20 February 2017 at 09:15 am
For browsing help files, the Dash application is very useful on Mac and iOS.

Here you can click to launch Dash and install our plugin help:
MBS Xojo Plugin and MBS FileMaker Plugin

You can download the archives manually on our website:
FileMaker and Xojo (Real Studio).

You can also add Xojo documentation itself to your dash set, see download in preferences dialog.
For FileMaker you find the docsets for v15 here: FileMaker Dash Docsets

Feedback is welcome.

Worldwide first curl conference in Germany, March 2017

Wednesday 15 February 2017 at 10:41 am
On the weekend of March 18-19, 2017, the first ever curl conference is taking place is Nuremberg, Germany.

Users, developers, binding authors, application authors, curl maintainers, libcurl hackers and other people with a curl interest are welcome!

I will be there and finally meet the curl people. I've been using curl for various projects including Xojo and FileMaker plugins for over 10 years.
Do you also come?

MBS Xojo Plugins, version 17.1pr2

Friday 10 February 2017 at 4:57 pm
New in this prerelease of the 17.1 plugins: Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

Macwelt TV Folgen rund um Xojo

Friday 10 February 2017 at 10:24 am
Vor fast zehn Jahren habe ich für die Macwelt ein paar Videos gemacht für Macwelt TV zu REALbasic:



Die Anleitungen funktionieren wunderbar mit dem aktuellen Xojo. Natürlich sieht Xojo etwas anders aus als REALbasic früher:
  • Alle Events müssen Sie selber hinzufügen.
  • Das StaticText Steuerelement heißt jetzt Label.
  • Alle Konstruktoren heißen Constructor und nicht mehr wie die Klasse.
Aber die Spiele kann man beide noch wunderbar nach programmieren und etwas Spaß mit dem Ergebnis haben!

Alle Videos finden Sie auf YouTube. Ein paar Kopieren liegen auch hier zum Download.

Older blog entries:

2017-02-08 MDI Window Background in Xojo
2017-02-07 Tip of the day: AES 256 CBC on iOS for Xojo
2017-02-05 MBS Xojo / Real Studio Plugins, version 17.1pr1
2017-02-03 Running command lines tools on Windows
2017-01-30 Last week for early bird tickets for MBS Xojo Conference
2017-01-26 Meine Bundestagspetitionen
2017-01-24 Xojo Inc. is welcoming more pre-release testers
2017-01-23 MBS FileMaker Plugin 7.0 - More than 4400 Functions In One Plugin
2017-01-23 MonkeyBread Software Releases the MBS Xojo plug-ins in version 17.0
2017-01-22 Dash help archives updated
2017-01-20 MBS Xojo / Real Studio Plugins, version 17.0pr4
2017-01-17 curl meeting in Germany, March 2017
2017-01-17 SuperScript and SubScript for Xojo Textarea
2017-01-13 MBS Xojo / Real Studio Plugins, version 17.0pr3
2017-01-10 Free tickets for young developers for MBS Xojo Conference
2017-01-09 Xojo job offer in southern France
2017-01-09 MBS Xojo / Real Studio Plugins, version 17.0pr2
2017-01-08 Loading LibXL and DynaPDF libraries in our Xojo plugins
2017-01-07 FileMaker Conference .fmp[x]Berlin 2017
2017-01-06 Save the Date for XDC 2018 in Denver

Archives

Mar 2017
Feb 2017
Jan 2017
Dec 2016
Nov 2016
Oct 2016
Sep 2016
Aug 2016
Jul 2016
Jun 2016
May 2016
Apr 2016
Mar 2016
Feb 2016
Jan 2016
Dec 2015
Nov 2015
Oct 2015
Sep 2015
Aug 2015
Jul 2015
Jun 2015
May 2015
Apr 2015
Mar 2015
Feb 2015
Jan 2015
Dec 2014
Nov 2014
Oct 2014
Sep 2014
Aug 2014
Jul 2014
Jun 2014
May 2014
Apr 2014
Mar 2014
Feb 2014
Jan 2014
Dec 2013
Nov 2013
Oct 2013
Sep 2013
Aug 2013
Jul 2013
Jun 2013
May 2013
Apr 2013
Mar 2013
Feb 2013
Jan 2013
Dec 2012
Nov 2012
Oct 2012
Sep 2012
Aug 2012
Jul 2012
Jun 2012
May 2012
Apr 2012
Mar 2012
Feb 2012
Jan 2012
Dec 2011
Nov 2011
Oct 2011
Sep 2011
Aug 2011
Jul 2011
Jun 2011
May 2011
Apr 2011
Mar 2011
Feb 2011
Jan 2011
Dec 2010
Nov 2010
Oct 2010
Sep 2010
Aug 2010
Jul 2010
Jun 2010
May 2010
Apr 2010
Mar 2010
Feb 2010
Jan 2010
Dec 2009
Nov 2009
Oct 2009
Sep 2009
Aug 2009
Jul 2009
Apr 2009
Mar 2009
Feb 2009
Dec 2008
Nov 2008
Oct 2008
Aug 2008
May 2008
Apr 2008
Mar 2008
Feb 2008
XML: RSS Feed XML: Atom Feed