Einhugur Plugin Releases (2024)

(Thread for Einhugur Plugin Releases in 2024)

1 Like

Python3Script 5.1 for Xojo is out

PythonS3cript is to script your Xojo applications made with your favorite IDE, Xojo with Python, or to bridge Xojo and Python code. Python3Script in Xojo applications can be big door for your Xojo applications to interact with wide range of code that is out there, including interacting with various of electronic controllers which have ready made drivers for them in Python.

(Note this is the Python plugin for Python 3.x not to be confused with our PythonScript plugin which is for Python 2.7.x)

New in Python3Script 5.1:

  • Added support for Python 3.12.
  • Improved loading support for Python 3.11 on Armbian systems.

More info at www.einhugur.com

4 Likes

Einhugur Xml Plugin 1.0 for Xojo is out. (This is new plugin as the version hints)

The highlights for the plugin:

  • Fluent and easy to use syntax.
  • Opening XML documents (from string or file).
  • Creating XML documents.
  • Editing XML documents.
  • Saving XML documents (to string or file).
  • Moving nodes within document tree.
  • Copying nodes within document tree.
  • Copying attributes within document tree.
  • XPath queries.
  • Precompiled XPath queries.
  • Parameterized XPath queries.
  • Much smaller disk footprint than the built in Xojo Xml engine.
  • And much more …

The plugin is supported on:

  • macOS Apple Silicon
  • Windows (32 bit and 64 bit)
  • Windows ARM (64 bit)
  • Linux (32 bit and 64 bit)
  • Linux ARM (32 bit and 64 bit)
  • iOS

More info at https://www.einhugur.com

7 Likes

Sounds great! Which framework does it use?

Its using Pugi.

Pugi is very fast and good at XPath. But is a mini framework. (So does not do schema validations).

I used Pugi in the Word Plugin also. And have been meaning to make Plugin for it ever since. And now I regret not having done this before making the Word plugin since I learned so much by making this which would have made many things in the Word plugin so much easier to do.

Einhugur Xml Plugin 1.1 for Xojo is out. (Small bug called for quick update !)

The highlights for the plugin:

  • Fluent and easy to use syntax.
  • Opening XML documents (from string or file).
  • Creating XML documents.
  • Editing XML documents.
  • Saving XML documents (to string or file).
  • Moving nodes within document tree.
  • Copying nodes within document tree.
  • Copying attributes within document tree.
  • XPath queries.
  • Precompiled XPath queries.
  • Parameterized XPath queries.
  • Much smaller disk footprint than the built in Xojo Xml engine.
  • Includes optional serialization framework where you can serialize complex structures with one line of code.
    And much more …

The plugin is supported on:
macOS Apple Silicon
Windows (32 bit and 64 bit)
Windows ARM (64 bit)
Linux (32 bit and 64 bit)
Linux ARM (32 bit and 64 bit)
iOS

New in version 1.1:

  • Fixed crash issue if comparing Node or Attribute to nil. (Even if one is not supposed to compare those to nil given the fluent syntax design then I did so by accident my self, making me discover the crash).
  • The plugin now includes Serialization framework.
  • Added special function to support Serialization framework to be able to be stand alone without CoreClasses plugin.

More info at https://www.einhugur.com

4 Likes

Einhugur Word Plugin for Xojo version 3.0 is out

Word plugin is a Xojo plugin that enables you to create, read, write and edit Word docx files from Xojo code.

The plugin can:

  • Create new Word documents.
  • Read and write paragraphs and runs from Word documents.
  • Read and write tables in word documents. (Very basic writing).
  • Read and write nested tables and nested paragraphs in word documents. (Very basic table formatting).
  • Read and write document info in Word document.
  • Read and write pictures (jpg and png) from Word document.
  • Read SVG pictures from Word document (currently read only).
  • Read and write headers.
  • Read and write footers.
  • Read and write basic bullets and numbering setup on paragraphs.
  • Read and write indents.
  • Supports easy fill into form template feature.

Hello World word document generated with the plugin.

WordListIndent

List indents using bullets and numbering.


Some shapes and grouped shapes.

Plugin is supported on:

  • macOS Intel
  • macOS Apple Silicon
  • Windows (32 bit and 64 bit)
  • Windows ARM (64 bit)
  • Linux (32 bit and 64 bit)
  • Linux ARM(32 bit and 64 bit)
  • iOS

New in version 3.0:

  • Added LanguageCode read only property to the Paragraph class.
  • Added SetLanguageCode method to the Paragraph class.
  • Added LanguageCode read and write property to the Run class.
  • Added first attempt to support shapes.
  • Added AppendShape function to the Paragraph class.
  • Added AppendShapeGroup function to the Paragraph class.
  • Added AppendShapeRun function to the Paragraph class.
  • Added AppendShapeGroupRun function to the Paragraph class.
  • Added IsShape read only property to the Run class.
  • Added Shape read only property to the Run class.
  • Added ShapeGroup read only property to the Run class.
  • Added ShapeBase abstract class.
  • Added Shape class.
  • Added ShapeGroup class.
  • Added ShapeContainer class.
  • Added EmuUnits enum.
  • Added ShapeVerticalAlignments enum.
  • Added ShapeTypes enum.
  • Added FillTypes enum.
  • Added LineEndTypes enum.
  • Added ShapeTextWrapEnum.
  • Added two example projects for Shapes.

More info at www.einhugur.com

2 Likes

Einhugur Word Plugin for Xojo version 3.0.2 is out

The new update is small hotfix for the 3.0 release, fixing small issue with the new Language codes feature.

More info at www.einhugur.com

DateControl plugin for Xojo version 11.1 is out.

New in version 11.1:

  • Added invokedByUser parameter to the ValueChanged event.

image
DateControl in drop down mode, dark mode with support for empty dates turned on on Ubuntu.

image
DateControl in drop down mode, dark mode with support for empty dates turned off on Mint.

The control supports “NULL” dates or what some would call no selection.
The control supports Min and Max date.

More info at www.einhugur.com

4 Likes

Gpiod Plugin 0.7 is out.

This plugin is a wrapper for libgpiod from: libgpiod/libgpiod.git - C library and tools for interacting with the linux GPIO character device

This plugin is part of our community effort project so the plugin is completely free and open source.

The plugin encapsulates the libpgiod so does not require libpgiod to be installed.

All example projects have been tested with Raspberry Pi 2, 3, 4 (and I know a user has tested at least one example project on Raspberry Pi 5).

The plugin deals with async operations in native threads masking the difficult things to do in Xojo.

New in version 0.7

  • Added GetLineOffsetFromName function to the Chip class.
  • Added Reconfigure method to the LineRequest class.
  • Added OutputValue property to the LineSetting class.
  • Added InfoEvent class.
  • Added WaitInfoEvent on the Chip class.
  • Added WatchLineInfo method to the Chip class.
  • Added ReadInfoEvent method to the Chip class.
  • Added ReadInfoEventAsync method to the Chip class. (Uses native threading)
  • Added CancelAsyncInfoMonitor method to the Chip class.
  • Added Delegate for Info events on the Chip class.
  • Added Bias property to the LineSetting class.
  • Added LineBias enum.
  • Added EdgeDetection property to the LineSetting class.
  • Added LineEdge enum.
  • Added DebouncePeriod property to the LineSetting class.
  • Added EdgeEventBuffer class.
  • Added EdgeEvent class.
  • Added RequestReadEdgeEvents function to the LineRequest class.
  • Added WaitEdgeEvents function to the LineRequest class.
  • Added EdgeEvent type enum.
  • Added EdgeEventDelegate to the LineRequest class.
  • Added 4 more example projects.
  • Added more documentation.

Download link for the plugin:
https://www.einhugur.com/Downloads/Plugs/GpiodPlugin.zip

Source code for the plugin:
https://bitbucket.org/einhugur/gpiodplugin/src/main/

11 Likes

Dang, that’s some good service. Feature request implemented next day!

2 Likes

TypeLibF plugin for Xojo has been updated to version 5.0.2.

TypeLibF offers some advanced geometry classes. (And is internal support plugin for the PictureEffectsRaw plugin)

New in version 5.0.2:

  • Fixed problem with one variation of PolygonF.Offset.
  • Fixed problem with one variation of PolygonF.Rotate.
  • Fixed problem with one variation of PolygonF.Contains.
  • Fixed problem with LineF.Rotate.
  • Fixed problem with one variant of LineF.Contains.

More info at https://www.einhugur.com

Einhugur macOS Bridge plugin 4.7.2 for Xojo is out

Einhugur macOS Bridge

Einhugur macOS Bridge is a plugin to make it easier to use some macOS Native objects and interface with them using Xojo objects, Einhugur Plugin objects such as RawBitmap, declares and 3rd party plugins.

The macOS native objects have been simplified and adapted to make using them from Xojo very easy.
For Example then macOS file Icon for any file or file type can be obtained in just one line of code, and can then be either drawn in one line into Xojo Graphics or converted to Xojo picture object in one line of code.

The macOS Bridge plugin can help you set up Touch-bar support in your applications. And supports customization mode for it.


(Touch bar in the picture above shown in Touch Bar simulator)


Alert with destructive action on macOS Big Sur

image
Simple task manager created with NSRunningApplication class

New in version 4.7.2:

  • Fixed crash when NSTextView.FromIntegerPtr or NSTextView.FromPtr was used in open event on old macOS 10.15 (Catalina).

More info at https://www.einhugur.com

2 Likes

I2C Plugin 1.0 for Xojo is out.

This plugin is part of our community effort project so the plugin is completely free and open source.

Source code for the plugin:
https://bitbucket.org/einhugur/i2c-plugin/src/main/

Download link for the plugin:
https://www.einhugur.com/Downloads/Plugs/I2CPlugin.zip

5 Likes

TypeLibF plugin 6.0 for Xojo and PictureEffectsRaw plugin 7.2.2 for Xojo are out.

New in TypeLibF 6.0:

  • The Geometry in the plugin is all Double based now instead of Single based. (Note that ShapeDistort in * PictureEffects will need update for this change)
    Fixed Rotate methods in PolygonF class.

TypeLibF is geometry plugin as well as internal support plugin for PictureEffectsRaw.

New in PictureEffectsRaw 7.2.2:

  • Updated to support the change from Single to Double geometry in the TypeLibF.

PictureEffectsRaw is a Xojo plugin to do effects on Raw picture buffers, that originate from MemoryBlocks. The plugin extensively supports native threading, and can use up to 8 CPU cores at once for most of the effects.

Supported effects:

Color filters:
Brightness, Contrast, Color filtering, Levels, Tint, Temperature, Grayscale, Gamma, Hue - Saturation, Invert, Sepia, Exposure, Gain / Bias, Contrast Stretch, Desaturate, Equalize, Replace color
Blur:
Blur, Gaussian Blur, Crystalize
Enhance:
Sharpen, Smooth
Rotate and scale:
High quality Bilinear Scaling, Flip Horizontal, Flip Vertical, Stretch Horizontal, Stretch Vertical, High quality rotation rotation
Render:
Gradient, Clouds, Wood, Marble, Textile, Labyrinth , Rainbow Effect, Vignette
Stylize:
Emboss, Edge Detect
Artistic:
Oil Paint, Rank Order
Distort:
Shape distort, Polar Coordinates, Trim effect, Barrel distort, Interlace, Lens Effect, Pinch Effect, Twirl Effect
Other:
Channel mixer, Blend, Page Curl, Selective Color, Chroma keying (Green only), Dominant color detection.
Low level:
Map, Custom 3x3 matrix, ImageComparer.

More info at https://www.einhugur.com

DateControl plugin for Xojo version 11.1.2 is out.

New in version 11.1.2:

  • Fixed issue with unicode icon letters in custom drop down mode on Windows. This issue was caused by updated Visual Studio in version 11.1 where Visual Studio now handles u8 prefixes somehow differently than before…

DateControlDarkModeMojave

The control supports “NULL” dates or what some would call no selection.
The control supports Min and Max date.

More info at www.einhugur.com

2 Likes

@Björn_Eiríksson I don’t see the last couple of updates in Plugins Pro. Do you have to update something else for updates to appear there?

To simplify the update process on the Desktop side, when you want to check for updates from everyone Plugins Pro connects once: to my server. My server will fetch the latest versions all the vendor’s feeds once every 24 hours. So, unless someone pokes me, the cron script runs once every 24 hours.

I’ve just run the sever update script, so you should see the update in Plugins Pro now. :slight_smile:

5 Likes

Indeed I do, thanks Tim! I guess I was just jumping the gun. :slight_smile:

Gpiod Plugin 0.9 is out.

This plugin is a wrapper for libgpiod from: libgpiod/libgpiod.git - C library and tools for interacting with the linux GPIO character device

This plugin is part of our community effort project so the plugin is completely free and open source.

The plugin encapsulates the libpgiod so does not require libpgiod to be installed.

All example projects have been tested with Raspberry Pi 2, 3, 4 (and I know a user has tested at least one example project on Raspberry Pi 5).

The plugin deals with async operations in native threads masking the difficult things to do in Xojo.

New in version 0.9

  • Added Arduino style DelayMilliseconds method to the GPIOD module.
  • Added Arduino style DelayMicroseconds method to the Gpiod module.
  • Added Path property to the Chip class.
  • Added UnwatchLineInfo method to the Chip class.
  • Added EdgeDetection property to the LineInfo class.
  • Added Bias property to the LineInfo class.
  • Added LineDrain enum to the Gpiod module.
  • Added Drive property to the LineInfo class.
  • Added IsDebounced property to the LineInfo class.
  • Added DebouncePeriodUs property to the LineInfo class.
  • Added LineClock enum to the Gpiod module.
  • Added GetEventClock property to the LineInfo class.
  • Added Reset method to the LineSetting class.
  • Added Drive property to the LineSetting class.
  • Added ActiveLow property to the LineSetting class.
  • Added EventClock property to the LineSetting class.
  • Added Reset method to the LineConfig class.
  • Added LineSetting function to the LineConfig class.
  • Added ConfiguredOffsets function to the LineConfig class.
  • Added EventBufferSize property to the RequestConfig class.
  • Added ChipName property to the LineRequest class.
  • Removed Gtk linking.

Download link for the plugin:
https://www.einhugur.com/Downloads/Plugs/GpiodPlugin.zip

Source code for the plugin:
https://bitbucket.org/einhugur/gpiodplugin/src/main/

I have also slowly been rebuilding the old GPIO guides to use the Gpiod Plugin and then I2C Plugin instead of Wiring Pi, so you will find more example projects and guides there:
https://einhugur.com/GPIO/index.html

3 Likes