#
425ac1b6 |
|
20-Jun-2023 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
refactor: Swap %Ld for %lld in all format usages * %Ld is an undocumented alias for %lld in glibc. * muslc doesn't implement it for this reason. * While we will likely never drop %Ld support, lets clean house and set a better example. Change-Id: Id46dad3104abae483e80cc5c05d1464d3ecd8030 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6636 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
2ca13760 |
|
20-Aug-2021 |
Coldfirex <sakison@gmail.com> |
Mass updating of OpenBeOS text to Haiku No functional code altered. https://dev.haiku-os.org/ticket/17197 Change-Id: I75cc74f6be0ad968fd77c31fbe5b0f650a6fe9e0 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4364 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
a30a4a41 |
|
18-Jun-2014 |
John Scipione <jscipione@gmail.com> |
Style fixes to Storage Kit classes. No functional changes intended. * Some variable renaming for clarity and consistency. * Pointer style fixes. * Added private method documentation back to cpp files for some methods.
|
#
155b583a |
|
09-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed unit tests build for platforms libbe_test and r5. Only randomly tested a few whether they actually work. New pseudo target "unittests", which builds all unit tests for the currently set TARGET_PLATFORM. They are placed in generated/tests/<platform>/unittests. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14791 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
625ffa19 |
|
11-Jan-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Re-enabled the tests for data-only-based MIME type sniffing. Had to disable the special test for sniffing a MIME type file (as stored in the MIME DB), since the framework is not really prepared to deal with that. * Removed left-over debug code. * Fixed a nasty `use of member of temporary object' bug. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10689 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e74030b8 |
|
01-Oct-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added meta mime file test to sniffing test + Added commented out update_meta_mime(NULL) and create_app_meta_mime(NULL) calls for the adventurous tester. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1335 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
682cd7e5 |
|
29-Sep-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Made some minor adjustments to help figuring out how mime update calls work (still in progress). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1278 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1bd963b6 |
|
23-Sep-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added file-extension based mime type guessing + Added sniffer rule based mime type guessing + Added get_device_icon() + Added complete (synchronous, asynchronous; recursive, non-recursive; forcing, non-forcing; you name it we got it :-) update_mime_info() implementation. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1152 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ce61895f |
|
23-Sep-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
We now support MIME strings of maximal length B_MIME_TYPE_LENGTH including the null only. Adjusted the tests accordingly. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1132 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e3a2f206 |
|
09-Sep-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added SetSupportedTypes() test + Modified BMimeType::SetSupportedTypes functionality so it keeps track of stranded types (i.e. previously supported types that have not had the now unsupporting app signature removed from their supporting apps list yet due to a false fullSync parameter) over consecutive SetSupportedTypes(..., false) calls and updates all appropriate stranded types on the next SetSupportedTypes(..., true) call. + Added fullSync parameter to BMimeType::DeleteSupportedTypes + Made BMimeType::Delete() do a DeleteSupportedTypes(..., true) call to properly update the supporting apps lists when a mime type is deleted. + Added initial BMimeType::Get/SetSnifferRule + Updated BMimeType::CheckSnifferRule() to return B_BAD_VALUE when passed a NULL rule string. + Brought CheckSnifferRule() tests up to date + Added lots of Mime::Database doxygen + Added any missing mime monitor notifications in Mime::Database + Possibly made some other changes as well... :-) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1004 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
74ec200f |
|
28-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Added a #if clause to exclude the __mime_table code from the OBOS::GetSupportingApps() tests, as the __mime_table is not currently used. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@927 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f7046d77 |
|
27-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Updated Installed Types test slightly + Cleaned up warnings git-svn-id: file:///srv/svn/repos/haiku/trunk/current@901 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fde08bf3 |
|
23-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Updated InstalledTypesTest() to recheck GetInstalledTypes() and friends after installing and deleting from the database. + Updated database dir constant per the recent mime migration git-svn-id: file:///srv/svn/repos/haiku/trunk/current@859 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3155eae2 |
|
21-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added code/updated tests for - AttrInfo - FileExtensions + Updated Delete() code to send monitor updates + Tenatively added "be:action" field to monitor messages + Added data type constants git-svn-id: file:///srv/svn/repos/haiku/trunk/current@847 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dd0ba994 |
|
20-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Updated the following tests to account for new behaviour of BMimeType::Set*(NULL) calls as well as test new BMimeType::Delete*() calls: + PreferredApp + AppHint + LongDescription + ShortDescription + Icon + IconForType git-svn-id: file:///srv/svn/repos/haiku/trunk/current@835 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9c561e65 |
|
19-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Updated tests: - PreferredApp - AppHint - Icon + Added reduce_color_depth() helper function B_GRAY1 to B_CMAP8 color conversions still need to be tested. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@822 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75120765 |
|
16-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Modified MimeTypeTestSuite slightly so as to not remove the copied mime database directory if it already existed in the first place. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@791 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dda17c00 |
|
16-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Updated OBOS tests to use look in the same directory as the MimeDatabase class does for the mime database. Also, if said directory is different than the system directory, a copy is first made when necessary, and then removed when the tests are done. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@790 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
64b563e0 |
|
11-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Finally finished off GetSupportingApps() test git-svn-id: file:///srv/svn/repos/haiku/trunk/current@712 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4177635e |
|
24-Jul-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Added initialization and MIME string functions. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@416 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
762a48a0 |
|
23-Jul-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Finished BMimeType doxygen + Finally checked in my remaining BMimeType tests... :-) NOTE -- The BMimeType::GetSupportingApps() test is not yet finished. For some reason GetSupportingApps() is returning a few strange signatures that don't appear to be in the database. I'm still figuring out where they're coming from. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@408 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
aad997bd |
|
17-Jul-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Finished migrating Storage Kit tests to new framework. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@292 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
28fd2c3c |
|
09-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
The included Test.StorageKit.h has been renamed to StorageKitTester.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@32 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52a38012 |
|
08-Jul-2002 |
ejakowatz <ejakowatz@nowhere.fake> |
It is accomplished ... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a30a4a41f948ebb03b95dab065a27a584ac0c97a |
|
18-Jun-2014 |
John Scipione <jscipione@gmail.com> |
Style fixes to Storage Kit classes. No functional changes intended. * Some variable renaming for clarity and consistency. * Pointer style fixes. * Added private method documentation back to cpp files for some methods.
|
#
155b583ac369749fdfae25f419056389ec7eb16e |
|
09-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed unit tests build for platforms libbe_test and r5. Only randomly tested a few whether they actually work. New pseudo target "unittests", which builds all unit tests for the currently set TARGET_PLATFORM. They are placed in generated/tests/<platform>/unittests. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14791 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
625ffa198e737bb85580618f36de217d048154de |
|
11-Jan-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Re-enabled the tests for data-only-based MIME type sniffing. Had to disable the special test for sniffing a MIME type file (as stored in the MIME DB), since the framework is not really prepared to deal with that. * Removed left-over debug code. * Fixed a nasty `use of member of temporary object' bug. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10689 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e74030b843496cde230c40637f8c490f6b7f87da |
|
01-Oct-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added meta mime file test to sniffing test + Added commented out update_meta_mime(NULL) and create_app_meta_mime(NULL) calls for the adventurous tester. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1335 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
682cd7e59c89fed10edd2e981f4c1417791ef296 |
|
29-Sep-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Made some minor adjustments to help figuring out how mime update calls work (still in progress). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1278 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1bd963b6c27017324c3589c8ea29d635e1552b7f |
|
23-Sep-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added file-extension based mime type guessing + Added sniffer rule based mime type guessing + Added get_device_icon() + Added complete (synchronous, asynchronous; recursive, non-recursive; forcing, non-forcing; you name it we got it :-) update_mime_info() implementation. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1152 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ce61895f3ef6c256122419ae9f46a2ed5a5f14cb |
|
23-Sep-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
We now support MIME strings of maximal length B_MIME_TYPE_LENGTH including the null only. Adjusted the tests accordingly. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1132 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e3a2f2069e5e2614e2a96c24502c91b482ec8e65 |
|
09-Sep-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added SetSupportedTypes() test + Modified BMimeType::SetSupportedTypes functionality so it keeps track of stranded types (i.e. previously supported types that have not had the now unsupporting app signature removed from their supporting apps list yet due to a false fullSync parameter) over consecutive SetSupportedTypes(..., false) calls and updates all appropriate stranded types on the next SetSupportedTypes(..., true) call. + Added fullSync parameter to BMimeType::DeleteSupportedTypes + Made BMimeType::Delete() do a DeleteSupportedTypes(..., true) call to properly update the supporting apps lists when a mime type is deleted. + Added initial BMimeType::Get/SetSnifferRule + Updated BMimeType::CheckSnifferRule() to return B_BAD_VALUE when passed a NULL rule string. + Brought CheckSnifferRule() tests up to date + Added lots of Mime::Database doxygen + Added any missing mime monitor notifications in Mime::Database + Possibly made some other changes as well... :-) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1004 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
74ec200f312b2626583ae1fe60ac290e2fbfe479 |
|
28-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Added a #if clause to exclude the __mime_table code from the OBOS::GetSupportingApps() tests, as the __mime_table is not currently used. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@927 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f7046d7717f6dfe6d9abd52473eb401153e40ee6 |
|
27-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Updated Installed Types test slightly + Cleaned up warnings git-svn-id: file:///srv/svn/repos/haiku/trunk/current@901 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fde08bf3f4ee10d44bacd3036b9395b39591b85a |
|
23-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Updated InstalledTypesTest() to recheck GetInstalledTypes() and friends after installing and deleting from the database. + Updated database dir constant per the recent mime migration git-svn-id: file:///srv/svn/repos/haiku/trunk/current@859 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3155eae222d119aa730971cebdfad8575838eb44 |
|
21-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Added code/updated tests for - AttrInfo - FileExtensions + Updated Delete() code to send monitor updates + Tenatively added "be:action" field to monitor messages + Added data type constants git-svn-id: file:///srv/svn/repos/haiku/trunk/current@847 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dd0ba994cc21824685f2d30860694d6770472c51 |
|
20-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Updated the following tests to account for new behaviour of BMimeType::Set*(NULL) calls as well as test new BMimeType::Delete*() calls: + PreferredApp + AppHint + LongDescription + ShortDescription + Icon + IconForType git-svn-id: file:///srv/svn/repos/haiku/trunk/current@835 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9c561e653798abc364279d8935797de45037e8bb |
|
19-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Updated tests: - PreferredApp - AppHint - Icon + Added reduce_color_depth() helper function B_GRAY1 to B_CMAP8 color conversions still need to be tested. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@822 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75120765af8ac31b16df6289cba010eb33c21287 |
|
16-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Modified MimeTypeTestSuite slightly so as to not remove the copied mime database directory if it already existed in the first place. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@791 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dda17c00100f8387bfb6cd2407c5c2300103ef88 |
|
16-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Updated OBOS tests to use look in the same directory as the MimeDatabase class does for the mime database. Also, if said directory is different than the system directory, a copy is first made when necessary, and then removed when the tests are done. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@790 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
64b563e06b4c64e8ecae41a9aeaae521f35412c3 |
|
11-Aug-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Finally finished off GetSupportingApps() test git-svn-id: file:///srv/svn/repos/haiku/trunk/current@712 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4177635e24b3c9414ac5b964f922010b04b35e64 |
|
24-Jul-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Added initialization and MIME string functions. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@416 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
762a48a0838f3f15a369a233c01298defeb1e503 |
|
23-Jul-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
+ Finished BMimeType doxygen + Finally checked in my remaining BMimeType tests... :-) NOTE -- The BMimeType::GetSupportingApps() test is not yet finished. For some reason GetSupportingApps() is returning a few strange signatures that don't appear to be in the database. I'm still figuring out where they're coming from. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@408 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
aad997bd6c9035ac0185bda5c52bd1ba2dd8a47d |
|
17-Jul-2002 |
Tyler Dauwalder <tylerdauwalder@nowhere.fake> |
Finished migrating Storage Kit tests to new framework. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@292 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
28fd2c3c85827fa730f6564a835e03f87d36aeb5 |
|
09-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
The included Test.StorageKit.h has been renamed to StorageKitTester.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@32 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52a380120846174213ccce9c4aab0dda17c72083 |
|
08-Jul-2002 |
ejakowatz <ejakowatz@nowhere.fake> |
It is accomplished ... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
|