patchGNU Octave - Patches: patch #9824, [octave forge] (windows)...

 
 

patch #9824: [octave forge] (windows) Implementation of one dimensional SAFEARRAY for Octave to COM

Submitter:  Miloš Petrašinović <mpetrasinovic>
Submitted:  Sun 30 Jun 2019 07:29:41 PM UTC
   
 
Category:  Forge : new feature Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  lostbard Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 27 Jul 2020 07:36:21 PM UTC, comment #8: 

Closing as fixed - it will appear in the next release of octave

John Donoghue <lostbard>
Group Member
Fri 26 Jun 2020 03:21:10 PM UTC, comment #7: 

I will test and let you know.

Miloš Petrašinović <mpetrasinovic>
Fri 26 Jun 2020 03:14:32 PM UTC, comment #6: 

It will be part of the 1.6 release - not sure when that will be yet.

John Donoghue <lostbard>
Group Member
Fri 26 Jun 2020 03:09:02 PM UTC, comment #5: 
John Donoghue <lostbard>
Group Member
Fri 26 Jun 2020 03:03:42 PM UTC, comment #4: 

Yes, I totally agree with that. I just did not know how to implement that so I just created a workaround.

Will you implement this?

Miloš Petrašinović <mpetrasinovic>
Fri 26 Jun 2020 02:54:46 PM UTC, comment #3: 

I think it would be easier to provide a feature function. (I will call it windows_feature, to avoid name conflicts in the future)

When it is octave, you could then set:

feature = @windows_feature;

and then use the COM functions the same as matlab.

John Donoghue <lostbard>
Group Member
Mon 08 Jun 2020 07:13:38 PM UTC, comment #2: 

Thank you for your response. I am not sure how to create this test but I know that this is working because I am using it to communicate with LibreOffice Calc (version 6.2.4.2 on Win 10). You can find everything attached, so you can try to test it this way. Some functions can not work without this patch. As you can see in pkgWinCheck function my pkg version is available at https://vazmfb.com/pkg/windows-1.3.1a.tar

(file #49231)

Miloš Petrašinović <mpetrasinovic>
Mon 08 Jun 2020 06:08:14 PM UTC, comment #1: 

Is there a system function or com control that can be used to test this is working or not ?

John Donoghue <lostbard>
Group Member
Sun 30 Jun 2019 07:29:41 PM UTC, original submission:  

If the third argument of the invoke function, within the windows package, is "COM_SafeArraySingleDim" then created SAFEARRAY is one dimensional. One dimensional SAFEARRAY can be necessary for some programs (like CATIA) which can't work with two dimensional. This is implemented in Matlab using command feature('COM_SafeArraySingleDim', 1).

Miloš Petrašinović <mpetrasinovic>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #49231:  CalcLink.zip added by mpetrasinovic (5KiB - application/x-zip-compressed)
file #47150:  127.patch added by mpetrasinovic (3KiB - application/octet-stream)

 

Depends on the following items: None found

Digest:
   patch dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by mpetrasinovic (Submitted the item)
  • -email is unavailable- added by mpetrasinovic
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-07-27 lostbard StatusReady For Test Done
        Open/ClosedOpen Closed
    2020-06-26 lostbard StatusNone Ready For Test
        Assigned toNone lostbard
    2020-06-08 mpetrasinovic Attached File- Added CalcLink.zip, #49231
    2020-01-29 mtmiller Dependencies- patch #9825 is dependent
    2020-01-28 mtmiller CategoryCore : new feature Forge : new feature
    2020-01-28 mtmiller SummaryImplementation of one dimensional SAFEARRAY for Octave to COM [octave forge] (windows) Implementation of one dimensional SAFEARRAY for Octave to COM
    2019-06-30 mpetrasinovic Attached File- Added 127.patch, #47150
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code