History log of /haiku-fatelf/src/build/libbe/storage/mime/UpdateMimeInfoThread.cpp
Revision Date Author Comments
# 212e4c42 09-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Jamfile changes to make <build>mimeset pick up headers/build/os/storage/AppFileInfo.h rather than the one in /boot/develop/headers on a BeOS-compatible host. This enables use of BAppFileInfo::Get/SetCatalogEntry() in <build>mimeset. Thanks Ingo!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40888 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 82e7ef67 07-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Add app filename localization catalog entry support to BAppFileInfo, registrar and mimeset. Need help to understand why the build-version of UpdateMimeInfoThread.cpp does not compile with the added code, currently commented out. Sorry about the arbitrary B_MIME_TYPE_LENGTH*3. Advice and review welcome.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40858 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5ebf78f4 04-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

* More or less reverted r24782; most ifdef's are NOT needed when running
Haiku code, they work around buggy BeOS code not present on Haiku.
* If this code turns out to be problematic under Haiku (Bruno, did your changes
make any difference at all?), then please fix the problems in the Storage
Kit, don't enable work-arounds for BeOS.
* Simplified the macro check as suggested by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24790 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 381016e1 03-Apr-2008 Bruno G. Albuquerque <bga@bug-br.org.br>

While tracking a mimeset bug when building under Haiku, I found these. Not sure
if these changes are correct byt they seem to make sense. Ingo?

- Haiku uses the same code that BeOS/Dano/Zeta uses for mime related stuff
during the build process. Added checking for HAIKU_HOST_PLATFORM_HAIKU where
relevant.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24782 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bae87c91 06-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

Added a new type for the vector icon format 'VICN' or B_VECTOR_ICON_TYPE.
It's hopefully now used everywhere instead of B_RAW_TYPE where appropriate.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19219 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2b88f9a2 04-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

Build fix for R5.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19206 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 71a0a68a 04-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

* BeOS also gives back B_BAD_VALUE on shared libraries when doing BAppFileInfo::SetVersionInfo()
* Furthermore, this call crashes when called with a NULL version info
* Fixed some typos that should have proven problematic under R5/BONE.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19205 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f5affa0 04-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

BeOS returns B_BAD_VALUE for some things on shared libraries.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19204 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e89f143e 04-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

* The build's UpdateMimeInfoThread can now also run on BeOS (which obviously returns
B_NAME_NOT_FOUND instead of B_ENTRY_NOT_FOUND for all missing types).
* Also, BMimeType::GuessMimeType() doesn't seem to work at all under BeOS.
* The build's MIME updater no longer ignores the error from DoMimeUpdate() - so that
you'll now may get error messages during the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19202 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2a105bc1 04-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

Added support for setting the vector icons under Linux - not yet tested, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19200 a95241bf-73f2-0310-859d-f6bbb57e9c96


# aa8265a5 07-May-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed copy'n'paste error. It caused update_mime_info() to remove the signature
of an object file, if the file's resources didn't specify supported
types. Both under Haiku itself and for the Linux build. This finally closes
bug 170 (AboutHaiku not being startable from Deskbar when built under
Linux).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17354 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9ff556c3 28-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Even better use the type guaranteed to be the correct one for the platform.
Thanks to John Drinkwater for pointing that out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16132 a95241bf-73f2-0310-859d-f6bbb57e9c96


# de3b6032 28-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

There's even a constant for the ELF executable type.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16125 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0b537029 28-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Synchronized the MIME stuff in the build platform support libbe with
the current Haiku libbe.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16124 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 338b8dc3 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 212e4c4243f307ec1231344a9957bbed1c77c616 09-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Jamfile changes to make <build>mimeset pick up headers/build/os/storage/AppFileInfo.h rather than the one in /boot/develop/headers on a BeOS-compatible host. This enables use of BAppFileInfo::Get/SetCatalogEntry() in <build>mimeset. Thanks Ingo!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40888 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 82e7ef6709f5e5a6c88df15f66565244a106d6fc 07-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Add app filename localization catalog entry support to BAppFileInfo, registrar and mimeset. Need help to understand why the build-version of UpdateMimeInfoThread.cpp does not compile with the added code, currently commented out. Sorry about the arbitrary B_MIME_TYPE_LENGTH*3. Advice and review welcome.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40858 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5ebf78f405dc810722e3ebf42821ffe3dfd4e5cd 04-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

* More or less reverted r24782; most ifdef's are NOT needed when running
Haiku code, they work around buggy BeOS code not present on Haiku.
* If this code turns out to be problematic under Haiku (Bruno, did your changes
make any difference at all?), then please fix the problems in the Storage
Kit, don't enable work-arounds for BeOS.
* Simplified the macro check as suggested by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24790 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 381016e1e0d9097d93db747882695109eba0cb4b 03-Apr-2008 Bruno G. Albuquerque <bga@bug-br.org.br>

While tracking a mimeset bug when building under Haiku, I found these. Not sure
if these changes are correct byt they seem to make sense. Ingo?

- Haiku uses the same code that BeOS/Dano/Zeta uses for mime related stuff
during the build process. Added checking for HAIKU_HOST_PLATFORM_HAIKU where
relevant.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24782 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bae87c9140b843a16dd71b5ed9cf467f44b57b98 06-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

Added a new type for the vector icon format 'VICN' or B_VECTOR_ICON_TYPE.
It's hopefully now used everywhere instead of B_RAW_TYPE where appropriate.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19219 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2b88f9a2356690753f3ea9c8cc3038c82ede7b7f 04-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

Build fix for R5.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19206 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 71a0a68ad01364a3bebb034ec573bae4d837effe 04-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

* BeOS also gives back B_BAD_VALUE on shared libraries when doing BAppFileInfo::SetVersionInfo()
* Furthermore, this call crashes when called with a NULL version info
* Fixed some typos that should have proven problematic under R5/BONE.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19205 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f5affa07feef0c142d61437da6916c1da7548f8 04-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

BeOS returns B_BAD_VALUE for some things on shared libraries.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19204 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e89f143e3cd62b26ab938ee4668a78460041bc7d 04-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

* The build's UpdateMimeInfoThread can now also run on BeOS (which obviously returns
B_NAME_NOT_FOUND instead of B_ENTRY_NOT_FOUND for all missing types).
* Also, BMimeType::GuessMimeType() doesn't seem to work at all under BeOS.
* The build's MIME updater no longer ignores the error from DoMimeUpdate() - so that
you'll now may get error messages during the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19202 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2a105bc1e6a6e397e63bd7e4265420d586e38f28 04-Nov-2006 Axel Dörfler <axeld@pinc-software.de>

Added support for setting the vector icons under Linux - not yet tested, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19200 a95241bf-73f2-0310-859d-f6bbb57e9c96


# aa8265a5bec64738d07690615f300ded6e2af29f 07-May-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed copy'n'paste error. It caused update_mime_info() to remove the signature
of an object file, if the file's resources didn't specify supported
types. Both under Haiku itself and for the Linux build. This finally closes
bug 170 (AboutHaiku not being startable from Deskbar when built under
Linux).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17354 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9ff556c32a5263a7f49401dd0dfee733b0264151 28-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Even better use the type guaranteed to be the correct one for the platform.
Thanks to John Drinkwater for pointing that out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16132 a95241bf-73f2-0310-859d-f6bbb57e9c96


# de3b6032e7d95ec5fa29c5f83a532fc49e6d0aa5 28-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

There's even a constant for the ELF executable type.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16125 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0b537029e3ee788c7b5cd666e6603aa40b93c529 28-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Synchronized the MIME stuff in the build platform support libbe with
the current Haiku libbe.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16124 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 338b8dc301721b1f472e8297a898d4eaa2f2ee3a 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96