[haiku-commits] Re: haiku: hrev46407 - src/kits/storage/mime src/servers/registrar src/servers/registrar/mime headers/private/storage/mime

  • From: Urias McCullough <umccullough@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 22 Nov 2013 09:51:18 -0800

On Fri, Nov 22, 2013 at 3:24 AM,  <ingo_weinhold@xxxxxx> wrote:
> hrev46407 adds 3 changesets to branch 'master'
> old head: eb539d59e7d26369ad2cbb9b3780cfdbc78a8a37
> new head: 2b76973fa2401f7a5edf68e6470f3d3210cbcff3
> overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=2b76973+%5Eeb539d5
>
> ----------------------------------------------------------------------------
>
> 85835e4: registrar: Move more classes to libstorage_kit_mime.a
>
>   Move MimeSnifferAddon, MimeSnifferAddonManager, and TextSnifferAddon to
>   libstorage_kit_mime.a, so we can reuse them.
>
> 6140f89: TextSnifferAddon: Use MIME DB directly
>
>   A DatabaseLocation is passed to the constructor and used to verify that
>   the sniffed MIME type is installed instead of BMimeType::IsInstalled().
>   This makes the add-on independent of the default MIME DB.
>
> 2b76973: mimeset: Use TextSnifferAddon when using a custom MIME DB
>
>   That addresses the problem that packaged text files aren't correctly
>   identified (ticket #9972). All concerned packages have to be rebuilt,
>   of course.
>
>                                     [ Ingo Weinhold <ingo_weinhold@xxxxxx> ]
>
> ----------------------------------------------------------------------------
>
> 16 files changed, 140 insertions(+), 64 deletions(-)
> build/jam/BuildSetup                             |  1 +
> .../os/add-ons/registrar/MimeSnifferAddon.h      |  1 +
> .../storage/mime/MimeSnifferAddonManager.h       |  1 +
> .../private/storage/mime/TextSnifferAddon.h      |  1 +
> .../storage}/mime/MimeSnifferAddonManager.h      | 14 +++---
> headers/private/storage/mime/TextSnifferAddon.h  | 44 ++++++++++++++++++
> src/bin/mimeset.cpp                              | 17 ++++++-
> src/build/libbe/storage/Jamfile                  |  3 ++
> src/kits/storage/mime/Jamfile                    |  3 ++
> .../storage}/mime/MimeSnifferAddon.cpp           |  8 ++--
> .../storage}/mime/MimeSnifferAddonManager.cpp    | 26 +++++++----
> .../storage/mime}/TextSnifferAddon.cpp           | 47 ++++++++++++++------
> .../registrar => kits/storage/mime}/names.h      |  0
> src/servers/registrar/Jamfile                    |  3 --
> src/servers/registrar/MIMEManager.cpp            | 11 +++--
> src/servers/registrar/TextSnifferAddon.h         | 24 ----------


It seems the STXTTranslator also uses names.h - perhaps that should
also be moved to the headers/private/storage and jamfile adjusted?

http://mmadia.dyndns.org:8010/builders/x86-Linux64-host/builds/1945/steps/%5Bx86gcc2%5D/logs/stdio

- Urias

Other related posts: