History log of /haiku/src/add-ons/kernel/file_systems/udf/UdfDebug.h
Revision Date Author Comments
# 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>


# 3218588c 29-Sep-2020 Murai Takashi <tmurai01@gmail.com>

file_systems/udf: Fix -Wformat=

Change-Id: I560764359c783917df63fb70edc456a20c143b0a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3289
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# b6f76ebe 09-Feb-2017 Augustin Cavalier <waddlesplash@gmail.com>

s/OpenBeOS License/MIT License/ universally, as they're the same thing.

Fixes #8681.


# 49a6a0eb 09-Jun-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Fix build of makeudfimage tests.

* The Udf namespace was removed from the headers, but not all the
implementation files
* kernel_cpp.h is not actually used
* TRACE_ERROR can't be set to dprintf when building as part of the test
(and not as a kernel add-on)

First step on the way to get jam -q unittests to work again...


# af15ee68 28-Feb-2010 Michael Lotz <mmlr@mlotz.ch>

* Implement udf_io and udf_get_file_map.
* Add file map and cache and do reads through the file_cache for file ICBs.
* Move the private _Read() backend from the header to the implementation file.
* Read() is now only used for directory iteration.
* Turned off the verbose debug output.
* Minor cleanup.

This fixes the abuse of the block_cache, should allow executables on UDF and
won't panic on protected content.


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


# 20d84995 20-Sep-2009 Rene Gollent <anevilyak@gmail.com>

Various changes to get this mostly compiling, with the exception of a template issue I don't yet completely understand.


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


# 6960a91c 19-Aug-2008 Salvatore Benedetto <salvatore.benedetto@gmail.com>

* Improve debug output
* Better formatting code

No functional changes.

Right now the code fails on recognizing the descriptor sequence.
I have to figure out if I pass the wrong values to the function.


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


# c49d6efc 18-Aug-2008 Salvatore Benedetto <salvatore.benedetto@gmail.com>

* Replaced kernel_cpp.h with util/kernel_cpp.h
* Removed Udf namespace
* Minor clean up


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


# 063b74d2 19-Jan-2004 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Switched from USER to _KERNEL_MODE for detecting user vs. kernel versions.


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


# 8d3a43fb 05-Jan-2004 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Messed with the #includes, which still need some cleaning up.


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


# 5198a15d 01-Jan-2004 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Replaced user- and kernel-specific includes I accidentally removed previously.


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


# 21ea9aea 02-Dec-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Removed category stuff from UdfDebug.h since it ended
up not being as useful as I'd hoped, and I need to use the
same debugging macros for makeudfimage as for udf.


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


# 43c2ddb4 11-Nov-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Upgraded my vocabulary.


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


# eaa70c97 18-Sep-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Fixed debug-to-file output to actually work when run in R5 kernel mode.


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


# c52519cf 12-Sep-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Switched from local cpp.h/cpp.cpp to global kernel_cpp.h/kernel_cpp.cpp


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


# 49cab548 29-Aug-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added support for sending debugging output to a file.


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


# 8279a93b 04-Jul-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

- Added CF_HELPER category
- Updated DUMP_INIT to automatically add the CF_DUMP category


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


# 81d91d06 27-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added DUMP() and PDUMP() macros.


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


# 6b3fa44d 21-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Forgot to keep #ifndef DEBUG macros up to date.


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


# 6cbf5bf3 21-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

- Added option to include class name with DEBUG_INIT() to so it's clearer which
dump() or init_check() or what have you function is printing out debug info.
- Added DUMP_INIT() for dump() functions
- Added tabCount option for class DebugHelper.


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


# 778d70ca 13-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

- Added category support
- Moved doxs from header to cpp file


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


# be45fb85 12-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Revamped debugging macros:
- Updated macro formatting to be more readable
- Changed semantics to be more to my liking
- Added neat-o automatic call-stack indenting
- Added more detailed macro docs


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


# a44384b0 12-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Hadn't intended to lose a step of revision history along
with the rename from Debug.{h,cpp}. This is what the
first revision of UdfDebug.{h,cpp} should have looked
like. The new updated version shall follow in the next
revision.


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


# fe89a5ba 12-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Renamed Debug.{h,cpp} to UdfDebug.{h,cpp} to cut down on
the proliferation of files named Debug.*


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


# 49a6a0ebf3eb74e92ea0b1155c8bef5d507b246d 09-Jun-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Fix build of makeudfimage tests.

* The Udf namespace was removed from the headers, but not all the
implementation files
* kernel_cpp.h is not actually used
* TRACE_ERROR can't be set to dprintf when building as part of the test
(and not as a kernel add-on)

First step on the way to get jam -q unittests to work again...


# af15ee68f1946a47cad0c4de56dfd9b3de213d77 28-Feb-2010 Michael Lotz <mmlr@mlotz.ch>

* Implement udf_io and udf_get_file_map.
* Add file map and cache and do reads through the file_cache for file ICBs.
* Move the private _Read() backend from the header to the implementation file.
* Read() is now only used for directory iteration.
* Turned off the verbose debug output.
* Minor cleanup.

This fixes the abuse of the block_cache, should allow executables on UDF and
won't panic on protected content.


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


# 20d84995300bd9c3c5fd62bf8ba599aa7c7e0de9 20-Sep-2009 Rene Gollent <anevilyak@gmail.com>

Various changes to get this mostly compiling, with the exception of a template issue I don't yet completely understand.


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


# 6960a91cd7dbbe3719c361b6651612788a8f982b 19-Aug-2008 Salvatore Benedetto <salvatore.benedetto@gmail.com>

* Improve debug output
* Better formatting code

No functional changes.

Right now the code fails on recognizing the descriptor sequence.
I have to figure out if I pass the wrong values to the function.


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


# c49d6efc605061aff66cafddda193daf331fcad5 18-Aug-2008 Salvatore Benedetto <salvatore.benedetto@gmail.com>

* Replaced kernel_cpp.h with util/kernel_cpp.h
* Removed Udf namespace
* Minor clean up


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


# 063b74d2f03befc49b5630dd55a1f247f570317c 19-Jan-2004 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Switched from USER to _KERNEL_MODE for detecting user vs. kernel versions.


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


# 8d3a43fbd0f9abd9a1f4023ee02453155fe552bb 05-Jan-2004 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Messed with the #includes, which still need some cleaning up.


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


# 5198a15dbc058dc835915911ca10cf07c5cc4d41 01-Jan-2004 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Replaced user- and kernel-specific includes I accidentally removed previously.


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


# 21ea9aea0c8dab99f5dad0686b870ff6c5c006a6 02-Dec-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Removed category stuff from UdfDebug.h since it ended
up not being as useful as I'd hoped, and I need to use the
same debugging macros for makeudfimage as for udf.


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


# 43c2ddb4810bd7959be809fee56b9b83fe16a944 11-Nov-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Upgraded my vocabulary.


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


# eaa70c976c275f986e24f9922ff77e611ea513a6 18-Sep-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Fixed debug-to-file output to actually work when run in R5 kernel mode.


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


# c52519cfcd3c75d581521082002825cefd75ab03 12-Sep-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Switched from local cpp.h/cpp.cpp to global kernel_cpp.h/kernel_cpp.cpp


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


# 49cab54852e595a0b723dc32a3ae70f9105a2a75 29-Aug-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added support for sending debugging output to a file.


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


# 8279a93bdbbae2931adcafa842b16596c159c529 04-Jul-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

- Added CF_HELPER category
- Updated DUMP_INIT to automatically add the CF_DUMP category


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


# 81d91d069a1e473c1fc41ec847b7242de9bcc22d 27-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added DUMP() and PDUMP() macros.


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


# 6b3fa44dd024a6813737f2141e1a0e3bf946d71e 21-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Forgot to keep #ifndef DEBUG macros up to date.


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


# 6cbf5bf3799cadbd5967d24da4f24ce12daa3ca5 21-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

- Added option to include class name with DEBUG_INIT() to so it's clearer which
dump() or init_check() or what have you function is printing out debug info.
- Added DUMP_INIT() for dump() functions
- Added tabCount option for class DebugHelper.


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


# 778d70ca00541e728171f21c822826c36d22d88f 13-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

- Added category support
- Moved doxs from header to cpp file


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


# be45fb85b6c14fddee075778265ddabf9ed2caf2 12-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Revamped debugging macros:
- Updated macro formatting to be more readable
- Changed semantics to be more to my liking
- Added neat-o automatic call-stack indenting
- Added more detailed macro docs


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


# a44384b0388e46738289ab31b9d9c2ab3eb9a721 12-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Hadn't intended to lose a step of revision history along
with the rename from Debug.{h,cpp}. This is what the
first revision of UdfDebug.{h,cpp} should have looked
like. The new updated version shall follow in the next
revision.


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


# fe89a5bae9cc44407ab5d8aeadaf79cf136c375a 12-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Renamed Debug.{h,cpp} to UdfDebug.{h,cpp} to cut down on
the proliferation of files named Debug.*


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