Extensions Manager

Extensions Manager - Built-in manager of extensions (plug-ins, snippets, examples, etc.) in SMath Studio - Messages

#1 Posted: 3/17/2014 4:08:01 PM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: Super Administrator

Extensions manager is a great tool built-in into SMath Studio which allows to manage resources of different types created for the program.

There is an opportunity to share your own extensions and make them available for everyone within Extensions Manager.

The following document describes the process:
SMathStudioExtensionsManager.pdf (201 KiB) downloaded 1433 time(s).
2 users liked this post
Davide Carpi 3/17/2014 8:38:00 PM, Radovan Omorjan 3/17/2014 4:41:00 PM
#2 Posted: 3/17/2014 4:18:03 PM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: Super Administrator

One important update made today: new SMath Studio version field added on plug-ins registration form:


Please use it. This field allows to specify what minimum version of SMath Studio can handle you plug-in.
Based on this info SMath server composes list of plug-ins supported for exact client. This means that list of plug-ins shown within Extensions Manager for SMath Studio 0.97.5154 will differ from the list of plug-ins shown for SMath Studio 0.97.5189. So there is no matter if you use the latest version of the program or not, you will be able to use the latest plug-in version available for your SMath Studio.

Best regards.
2 users liked this post
Davide Carpi 3/17/2014 8:45:00 PM, Radovan Omorjan 3/17/2014 4:41:00 PM
#3 Posted: 3/17/2014 4:34:18 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Andrey, thank you for clarifying the process of contributing extension. Did I get it right that we should not care about deleting old versions? I did this in the past in order not to waste server space. Do you have limitless space or are old versions deleted automatically? Perhaps the SVN repository is the biggest space eater, judging by the enormous size of the hidden files in my local working copy for the interactive handbook...

Another question: How to link to the most recent version of some extension, let's say, to the pdf Handbuch from the wiki page. Currently, I upload the updates to the extension registration and in parallel to the wiki file management. I'd like to simplify this.

Does the download count in the internet file manager just count the downloads via the extension manager or also external downloads via http://smath.info/?extensions=SMathStudio_Desktop?
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#4 Posted: 3/17/2014 4:52:26 PM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: Super Administrator

Hello, Martin!

Wrote

Did I get it right that we should not care about deleting old versions?


Absolutely! Server will take care of all versions of extensions as it stores full history of every extension. In future there will be UI to allow user to get extension of version interested to user/client. This history will show changes made between versions, ranks, etc. I'm working on improvements all the time.

Wrote

Do you have limitless space or are old versions deleted automatically?


I've bought enough hard disk drives (thank for all who made donations!) to store all versions of extensions and backups of them (daily backups).

Wrote

Another question: How to link to the most recent version of some extension, let's say, to the pdf Handbuch from the wiki page. Currently, I upload the updates to the extension registration and in parallel to the wiki file management. I'd like to simplify this.


Yes, it is possible. F.e., here is a link to SMath Studio 0.96.4902 (old version of the program): https://smath.com/files/Download/rhYyd - when you open it, take a look what you get on the download page:


So, this is how files history works. You can put links to the exact versions of the extension, but user will always get the latest one.

Wrote

Does the download count in the internet file manager just count the downloads via the extension manager or also external downloads via http://smath.info/?extensions=SMathStudio_Desktop?


It counts all downloads of the file, no matter how they was initiated.

Best regards, Andrey Ivashov.
2 users liked this post
Davide Carpi 3/17/2014 8:38:00 PM, Martin Kraska 3/17/2014 5:58:00 PM
#5 Posted: 3/20/2014 1:37:35 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote


If you access the extensions via http://smath.info/?extensions=SMathStudio_Desktop, then the links immediately start the download.

If you copy the link adress and paste it to the adress field of your browser, then you get the metadata screen above for the current version.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#6 Posted: 3/20/2014 6:03:13 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

If you access the extensions via http://smath.info/?extensions=SMathStudio_Desktop, then the links immediately start the download.

If you copy the link adress and paste it to the adress field of your browser, then you get the metadata screen above for the current version.


This is by design... in the same way you can download the SMath executables directly (by clicking the link) or by page dialog, if you copy and paste the link in the address bar.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Andrey Ivashov 3/29/2014 6:48:00 AM
#7 Posted: 3/27/2014 1:59:38 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

I can't provide new versions of PDF handbooks and of interactive books. In both cases, the web registration form complains that I

"Must declare the scalar variable "@forversion" "

However, there is no hint on how to specify this. I guess that this is related to the new feature for plugins, where the SMath-version can be specified, where these plugins should be offered.

Yet, the upload was successful, but the newly registered versions are not shown in the online gallery, thus not accessible for other users. Sorry for that.

register.png
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#8 Posted: 3/29/2014 6:45:58 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

I can't provide new versions of PDF handbooks and of interactive books.


Problem solved, new versions are available.
Thanks, Andrey.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
3 users liked this post
Andrey Ivashov 3/29/2014 6:49:00 AM, Radovan Omorjan 3/29/2014 7:23:00 AM, Davide Carpi 3/29/2014 7:51:00 AM
#9 Posted: 3/29/2014 7:26:32 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Yes, indeed

By the way, I mentioned this before. FindRoot() differences inside Portable and Regular version.
See the videos please. (Win7 x86)

Regular
Portable

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 users liked this post
Davide Carpi 3/29/2014 7:51:00 AM
#10 Posted: 3/31/2014 10:21:13 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Andrey, could you please allow for deleting attachments in the issues?
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#11 Posted: 4/15/2015 9:59:51 PM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

I Have attempted to upload a plugin and received following error. What am I doing wrong?

Thanks!
New Bitmap Image (1).png
#12 Posted: 10/30/2015 2:49:05 AM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Hi Andrey,

I tried updating my EXCEL plugin to the extension manager with no success.It seems that things have changed, and instead with uploading zipped DLL (which was quite easy, now I need to work with "SMath Release Manager", which i am not familiar with..

Could you help me out? What do I need to do to update the .dll file to the extension manager?

Thank you

Untitled.png
#13 Posted: 10/30/2015 9:26:10 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Hello oxel007

  1. Upload your project into the SVN server;
  2. Modify your *.csproj/*.vbproj to link the SMath libraries (f.e. you can look here or here);
    Important: The solution file name must be equal to folder name;

      <PropertyGroup>
        <!-- Relase -> SMath Relase Manager -->
        <SMathDir Condition=" '$(SMathDir)' == '' AND '$(Configuration)' == 'Relase' ">..\..\..\Main\SMathStudio\canvas\bin\Debug</SMathDir>
        <!-- Debug -> local use -->
        <SMathDir Condition=" '$(SMathDir)' == '' AND '$(Configuration)' == 'Debug' ">C:\Program Files (x86)\SMath Studio</SMathDir>
      </PropertyGroup>
      <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
        <StartAction>Program</StartAction>
        <StartProgram>$(SMathDir)\SMathStudio_Desktop.exe</StartProgram>
      </PropertyGroup>
      <ItemGroup>
        <Reference Include="SMath.Controls">
          <HintPath>$(SMathDir)\SMath.Controls.dll</HintPath>
          <Private>False</Private>
        </Reference>
        <Reference Include="SMath.Manager">
          <HintPath>$(SMathDir)\SMath.Manager.dll</HintPath>
          <Private>False</Private>
        </Reference>
        <Reference Include="SMath.Math.Numeric">
          <HintPath>$(SMathDir)\SMath.Math.Numeric.dll</HintPath>
          <Private>False</Private>
        </Reference>
        <Reference Include="SMath.Math.Symbolic">
          <HintPath>$(SMathDir)\SMath.Math.Symbolic.dll</HintPath>
          <Private>False</Private>
        </Reference>
    If your plugin uses P/Invoke to call unmanaged APIs, you have to use the AfterBuild field at the end of the file:
      <Target Name="AfterBuild">
        <Copy SourceFiles="WriterManager\Resources\Hunspellx64.dll" DestinationFolder="$(OutputPath)" ContinueOnError="false" />
        <Copy SourceFiles="WriterManager\Resources\Hunspellx86.dll" DestinationFolder="$(OutputPath)" ContinueOnError="false" />
      </Target>
  3. Use BUILD to compile your solution; a LOG file will be produced and you can notice errors and warnings, if any;
  4. Use PUBLISH to make available the plugin in the Extensions Manager;
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
3 users liked this post
Andrey Ivashov 11/2/2015 5:33:00 PM, Вячеслав Мезенцев 10/30/2015 11:12:00 AM, Alexander O. Melnik 10/30/2015 11:16:00 AM
#14 Posted: 10/30/2015 11:12:45 AM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Davide, hopefully I will get it done right - thing looks intimidating haha.

On a side note - what will happen to my existing plugin in the extensions manager?

Thanks
#15 Posted: 10/30/2015 12:04:29 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

You're welcome

Wrote

On a side note - what will happen to my existing plugin in the extensions manager?


The existing plugins still remains in the system and are available for the older version of SS (if you publish the newer plugins for a target version greater than that chooen for the previous plugins).

As mentioned in the attachment in the first post you can access them from this link: http://smath.info/upload/default.aspx.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#16 Posted: 10/30/2015 1:37:32 PM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Hi Davide,

Could please peak through this warning and let me know whether it is substantial (i.e. whether I need to do anything to fix it). Thank you!!!

30-10-2015 09:34:02. Extracting sources from repository...
30-10-2015 09:34:06. - Done. (SVN rev. [1409])
30-10-2015 09:34:06. ------------------------------
30-10-2015 09:34:06. [Warning!] SMath Studio binaries found included into SVN repository. Please consider to reference them from outside of the solution!
30-10-2015 09:34:06. - {SourcesDir}\smath\canvas.dll
30-10-2015 09:34:06. - {SourcesDir}\XLSXupdate\bin\Debug\canvas.dll
30-10-2015 09:34:06. - {SourcesDir}\XLSXupdate\bin\Release\canvas.dll
30-10-2015 09:34:06. - {SourcesDir}\smath\ioman.dll
30-10-2015 09:34:06. - {SourcesDir}\XLSXupdate\bin\Debug\ioman.dll
30-10-2015 09:34:06. - {SourcesDir}\XLSXupdate\bin\Release\ioman.dll
30-10-2015 09:34:06. - {SourcesDir}\smath\NuLib.dll
30-10-2015 09:34:06. - {SourcesDir}\XLSXupdate\bin\Debug\NuLib.dll
30-10-2015 09:34:06. - {SourcesDir}\XLSXupdate\bin\Release\NuLib.dll
30-10-2015 09:34:06. - {SourcesDir}\smath\SyLib.dll
30-10-2015 09:34:06. - {SourcesDir}\XLSXupdate\bin\Debug\SyLib.dll
30-10-2015 09:34:06. - {SourcesDir}\XLSXupdate\bin\Release\SyLib.dll
30-10-2015 09:34:06. ------------------------------
30-10-2015 09:34:06. Building XLSXupdate in Release mode...
Microsoft (R) Build Engine version 4.0.30319.34209
[Microsoft .NET Framework, version 4.0.30319.34209]
Copyright (C) Microsoft Corporation. All rights reserved.
#17 Posted: 10/31/2015 8:39:42 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Seems that your issues were fixed by Andrey
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts New Posts
  • No New Posts No New Posts