Skip to content
  1. May 20, 2014
  2. May 19, 2014
  3. May 13, 2014
  4. May 12, 2014
    • Matthew Dawson's avatar
      Handle MCOS objects in arrays as non-MCOS object properties. · aff2d006
      Matthew Dawson authored
      Since MLObject has been refactored to support this properly, now handle arrays
      of MCOS.  Note that currently only 2d arrays are supported for MCOS objects
      right now.
      aff2d006
    • Matthew Dawson's avatar
      Change MLObject to use a Map<String,MLArray> to store properties. · f7e67fdc
      Matthew Dawson authored
      With the change to have MLObject properly store arrays of objects, and due
      to the fact MLObject needs to handle the handle class, using MLStructure as
      the data storage and array handler is about to get very messy.  Thus change
      to the obvious data structure to manage everything.  The instance of a Map<>
      is a specific instance of an MCOS.  That way handles are properly represented.
      f7e67fdc
  5. May 10, 2014
    • Matthew Dawson's avatar
      Handle sub objects some. · c2f1720f
      Matthew Dawson authored
      Sub objects are just random integers in a uint32 array.  Start handling single
      objects.  Eventually, multiple object arrays need to be handled, but that
      requires adjusting MLObject first.
      c2f1720f
    • Matthew Dawson's avatar
      Fix up a few coding issues: · caa722a2
      Matthew Dawson authored
       - Remove a redundant if check on the objectId in the third segment.  This
      shouldn't happen anyways.
       - Remove an unused variable.
       - Correct a comment from a copy+paste error.
       - If properties are not found (not that there are none), then throw an exception.
       - Use the classname as found in the MCOS section, to make finding errors easier.
       - Even though it isn't used, store the segment 2 index for object properties,
         for the future.
      caa722a2
    • Matthew Dawson's avatar
      So, the value I had though was the object id is not. Fix. · 4240e667
      Matthew Dawson authored
      In the third segment, it appeared that there was an object id, related back
      to the object id given in a structure.  However, this is not true at all, as
      MATLAB will randomly decide what values go here.  However, the index into this
      segment seems to be the actual object id.  Thus switch to using that value.
      The meaning of the other field is left for someone else to divine, it isn't
      important here.
      4240e667
  6. May 09, 2014
  7. May 08, 2014
    • Matthew Dawson's avatar
      Add tests around handle handling. · be24249f
      Matthew Dawson authored
      Ensure handle classes have away to to compare for object equality.  Due to
      the current design of MLArray, this cannot be done per object.  So instead
      the same Objects share the same structure.  Eventually this should be fixed.
      be24249f
    • Matthew Dawson's avatar
      Start reading more property related fields. · 0378fc0b
      Matthew Dawson authored
      To support multiple objects with differing field values for the same class
      type, it is now necessary to actually parse segment 4 and act accordingly.
      Thus do that, and add a test to ensure the behaviour is correct.
      0378fc0b
    • Matthew Dawson's avatar
      Make sure fields names are properly set. · e8b47c46
      Matthew Dawson authored
      Due to the way MATLAB stores field names for structures, individual items
      in the structure don't have names.  Thus, one must use the field name.  Fix
      the grab bag parsing to do this correctly, and add a test to verify correct
      behaviour.
      e8b47c46
    • Matthew Dawson's avatar
      Fix bad documentation. · bf24d775
      Matthew Dawson authored
      Don't mislead in the documentation.  When reading 24 bytes, 24 bytes are read.
      Not 16.
      bf24d775
  8. May 07, 2014
  9. May 05, 2014
  10. May 03, 2014
    • Matthew Dawson's avatar
      Rename com.jmatio to ca.mjdsystems.jmatio. · a02779b8
      Matthew Dawson authored
      To match the new Group Id, switch the package name.  This also moves the
      package name under a controlled domain, avoiding potential name collisions
      later.
      a02779b8
    • Matthew Dawson's avatar
      Minor code style. · bc8ca145
      Matthew Dawson authored
      Fix some comment misspellings and formatting, and remove unused imports.
      bc8ca145
    • Matthew Dawson's avatar
      Add in the beginnings of an MCOS parser. · b10de602
      Matthew Dawson authored
      MCOS is handled completely separately through a weird format.  Thus, start
      supporting it by reading in the necessary data.  Currently it isn't fully
      parsed, as the first unit test doesn't require extra data.  Also include the
      MATLAB class file used to generate the test.
      b10de602
  11. May 02, 2014
  12. Apr 29, 2014
  13. May 09, 2013
  14. Mar 27, 2013
    • Sina Samangooei's avatar
      Added an equivilant function to getIR() in MLSparse for columns. I thought... · 0598604e
      Sina Samangooei authored
      Added an equivilant function to getIR() in MLSparse for columns. I thought getJC would do this but looking at the code it did something else. Therefore I added getIC (this is possibly named badly) which literally gives you the column index as an array whose i_th value is the column of the i_th entry in pr. I've also changed the pom.xml so that its version wasn't snapshot. This was so i could create the artifact and serve it off our nexus
      0598604e
Loading