Added debug output to CMS_BLOCK.

Updated SHARED_LOGGER to remove a few obsolete calls on json parser.
Added favicon.ico specific handling.
Fixed issue with theme and non raw block.
This commit is contained in:
2015-01-30 19:37:12 +01:00
parent 88ec1452d8
commit be0b5c23d2
4 changed files with 51 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ note
deferred class
CMS_BLOCK
inherit
DEBUG_OUTPUT
feature -- Access
name: READABLE_STRING_8
@@ -35,4 +38,28 @@ feature -- Conversion
deferred
end
feature -- Status report
debug_output: STRING_32
-- String that should be displayed in debugger to represent `Current'.
do
create Result.make_from_string_general ("Block")
if is_raw then
Result.append_string_general (" <raw>")
end
if not is_enabled then
Result.append_string_general (" <disabled>")
end
Result.append_character (' ')
Result.append_character ('[')
Result.append_string_general (name)
Result.append_character (']')
if attached title as l_title then
Result.append_character (' ')
Result.append_character ('%"')
Result.append (l_title)
Result.append_character ('%"')
end
end
end