[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] f6445a: FileAttributesPlugin: Add session Id

GitHub noreply at github.com
Sat Dec 15 09:09:58 UTC 2018


  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: f6445ab9ea75f685e4e53bff8917449646c3754b
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/f6445ab9ea75f685e4e53bff8917449646c3754b
  Author: AlistairGrant <akgrant0710 at gmail.com>
  Date:   2018-12-01 (Sat, 01 Dec 2018)

  Changed paths:
    M platforms/Cross/plugins/FileAttributesPlugin/faCommon.c
    M platforms/Cross/plugins/FileAttributesPlugin/faCommon.h
    M platforms/Cross/plugins/FileAttributesPlugin/faConstants.h
    M platforms/win32/plugins/FileAttributesPlugin/faSupport.h
    M src/plugins/FileAttributesPlugin/FileAttributesPlugin.c

  Log Message:
  -----------
  FileAttributesPlugin: Add session Id

FileAttributesPlugin passes an address back to the image while iterating
over directories.  If the iteration is paused, image save and the VM
restarted, the address is, of course, no longer valid.

Store the VM session Id with the address to ensure that invalid
addresses are not used.


  Commit: 94c54edc5bbb8dfac318686176e67ceaa20883bb
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/94c54edc5bbb8dfac318686176e67ceaa20883bb
  Author: AlistairGrant <akgrant0710 at gmail.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M platforms/unix/plugins/FileAttributesPlugin/faSupport.c
    M platforms/unix/plugins/FileAttributesPlugin/faSupport.h
    M platforms/win32/plugins/FileAttributesPlugin/faSupport.c
    M platforms/win32/plugins/FileAttributesPlugin/faSupport.h
    M src/plugins/FileAttributesPlugin/FileAttributesPlugin.c

  Log Message:
  -----------
  FileAttributesPlugin 2.0.6

- Handle VM restart mid directory iteration
- Handle long file names on Windows

Windows Long Path Prefix usage depends on:

- the system call being made (plain, W, ExW, etc.)
- the file system where the file resides
- the length of the path
- the contents of the path, e.g. does it include ".." as a segment

Add a faGetPlatPathCPP() to determine whether to apply the LPP or not
and use it when opening a directory.


  Commit: b4344b7da24dbea8b9e8f97f5bbcb1062af6988b
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/b4344b7da24dbea8b9e8f97f5bbcb1062af6988b
  Author: AlistairGrant <akgrant0710 at gmail.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M platforms/Cross/plugins/FileAttributesPlugin/faCommon.c

  Log Message:
  -----------
  FileAttributesPlugin thisSession -> vmSessionId

Rename thisSession to vmSessionId to avoid a name conflict with
FilePlugin on MacOS.


  Commit: b53874d880d72e6620f77614e422f84ecdd96479
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/b53874d880d72e6620f77614e422f84ecdd96479
  Author: akgrant43 <akgrant at gmail.com>
  Date:   2018-12-15 (Sat, 15 Dec 2018)

  Changed paths:
    M platforms/Cross/plugins/FileAttributesPlugin/faCommon.c
    M platforms/Cross/plugins/FileAttributesPlugin/faCommon.h
    M platforms/Cross/plugins/FileAttributesPlugin/faConstants.h
    M platforms/unix/plugins/FileAttributesPlugin/faSupport.c
    M platforms/unix/plugins/FileAttributesPlugin/faSupport.h
    M platforms/win32/plugins/FileAttributesPlugin/faSupport.c
    M platforms/win32/plugins/FileAttributesPlugin/faSupport.h
    M src/plugins/FileAttributesPlugin/FileAttributesPlugin.c

  Log Message:
  -----------
  Merge pull request #321 from akgrant43/FapSessionId

FileAttributesPlugin 2.0.6

- Handle VM restart mid directory iteration
- Handle long file names on Windows


Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/1b837f94e96b...b53874d880d7
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Vm-dev mailing list