[pdal-commits] [PDAL/PDAL] 3f1af0: Load only one plugin when guessing plugin names

GitHub noreply at github.com
Sun Apr 26 08:04:50 PDT 2015


  Branch: refs/heads/pm-consistency
  Home:   https://github.com/PDAL/PDAL
  Commit: 3f1af0f4350acce47d02422e84d78ca3d569a38d
      https://github.com/PDAL/PDAL/commit/3f1af0f4350acce47d02422e84d78ca3d569a38d
  Author: Pete Gadomski <pete.gadomski at gmail.com>
  Date:   2015-04-26 (Sun, 26 Apr 2015)

  Changed paths:
    M src/PluginManager.cpp

  Log Message:
  -----------
  Load only one plugin when guessing plugin names

In `PluginManager::guessLoadByPath`, the driverName was not being
entirely used when loading plugins. Only the plugin type (filter,
reader, writer) was used. This patch checks the actual name of the
driver (e.g. hexbin) against the filename of the library, and only loads
the plugin if the name matches.

Since a plugin only needs to be loaded once, the return value of the
`loadByPath` call is returned from `guessLoadByPath`. If no plugins are
found, the `guessLoadByPath` now returns -1.


  Commit: ed26e22b4af7a0481c2fa4a62a6b363c0f2aa967
      https://github.com/PDAL/PDAL/commit/ed26e22b4af7a0481c2fa4a62a6b363c0f2aa967
  Author: Connor Manning <connor at hobu.co>
  Date:   2015-04-26 (Sun, 26 Apr 2015)

  Changed paths:
    M include/pdal/PluginManager.hpp
    M src/PluginManager.cpp

  Log Message:
  -----------
  Remove explicit deletes for Windows.


  Commit: fc9ce614100bf063e1a1ea56cef3e95ad26283f8
      https://github.com/PDAL/PDAL/commit/fc9ce614100bf063e1a1ea56cef3e95ad26283f8
  Author: Connor Manning <connor at hobu.co>
  Date:   2015-04-26 (Sun, 26 Apr 2015)

  Changed paths:
    M src/PluginManager.cpp

  Log Message:
  -----------
  Merge remote-tracking branch 'gadomski/missing-plugin-cleanup' into pm-consistency

Conflicts:
	src/PluginManager.cpp


Compare: https://github.com/PDAL/PDAL/compare/2f873b3d271b...fc9ce614100b


More information about the pdal-commits mailing list