mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-18 07:49:17 +01:00
00cdc1fd6f
This commit does a major refactor of the memory implementation, it forms a memory map which is far cleaner than trying to access it through a handle table lookup. In addition, it creates a common interface for all memory kernel objects: KMemory from which all other kernel memory objects inherit. This allows doing resizing, permission change, etc without casting to the base memory type.
200 lines
7.4 KiB
XML
200 lines
7.4 KiB
XML
<component name="ProjectCodeStyleConfiguration">
|
|
<code_scheme name="Project" version="173">
|
|
<option name="RIGHT_MARGIN" value="400" />
|
|
<option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="true" />
|
|
<option name="SOFT_MARGINS" value="80,140" />
|
|
<AndroidXmlCodeStyleSettings>
|
|
<option name="ARRANGEMENT_SETTINGS_MIGRATED_TO_191" value="true" />
|
|
</AndroidXmlCodeStyleSettings>
|
|
<Objective-C>
|
|
<option name="INDENT_VISIBILITY_KEYWORDS" value="2" />
|
|
<option name="INDENT_PREPROCESSOR_DIRECTIVE" value="4" />
|
|
<option name="INDENT_DIRECTIVE_AS_CODE" value="true" />
|
|
<option name="KEEP_STRUCTURES_IN_ONE_LINE" value="true" />
|
|
<option name="FUNCTION_NON_TOP_AFTER_RETURN_TYPE_WRAP" value="0" />
|
|
<option name="FUNCTION_TOP_AFTER_RETURN_TYPE_WRAP" value="0" />
|
|
<option name="FUNCTION_PARAMETERS_WRAP" value="0" />
|
|
<option name="FUNCTION_CALL_ARGUMENTS_WRAP" value="5" />
|
|
<option name="SHIFT_OPERATION_WRAP" value="0" />
|
|
<option name="TEMPLATE_CALL_ARGUMENTS_ALIGN_MULTILINE" value="true" />
|
|
<option name="CLASS_CONSTRUCTOR_INIT_LIST_WRAP" value="0" />
|
|
<option name="SUPERCLASS_LIST_WRAP" value="0" />
|
|
<option name="ALIGN_INIT_LIST_IN_COLUMNS" value="false" />
|
|
<option name="HEADER_GUARD_STYLE_PATTERN" value="${PROJECT_NAME}_${PROJECT_REL_PATH}_${FILE_NAME}_${EXT}" />
|
|
<option name="MACROS_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
<option name="CLASSES_AND_STRUCTS_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
<option name="ENUMS_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
<option name="TYPEDEFS_NAMING_CONVENTION">
|
|
<value prefix="" style="SNAKE_CASE" suffix="" />
|
|
</option>
|
|
<option name="UNIONS_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
<option name="METHODS_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
<option name="GLOBAL_FUNCTIONS_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
<option name="GLOBAL_VARIABLES_NAMING_CONVENTION">
|
|
<value prefix="" style="PASCAL_CASE" suffix="" />
|
|
</option>
|
|
</Objective-C>
|
|
<Objective-C-extensions>
|
|
<extensions>
|
|
<pair source="cpp" header="h" fileNamingConvention="SNAKE_CASE" />
|
|
<pair source="c" header="h" fileNamingConvention="SNAKE_CASE" />
|
|
<pair source="cpp" header="h" fileNamingConvention="PASCAL_CASE" />
|
|
<pair source="cpp" header="h" fileNamingConvention="NONE" />
|
|
</extensions>
|
|
</Objective-C-extensions>
|
|
<XML>
|
|
<option name="XML_ATTRIBUTE_WRAP" value="0" />
|
|
</XML>
|
|
<editorconfig>
|
|
<option name="ENABLED" value="false" />
|
|
</editorconfig>
|
|
<codeStyleSettings language="JAVA">
|
|
<option name="KEEP_SIMPLE_BLOCKS_IN_ONE_LINE" value="true" />
|
|
<option name="KEEP_SIMPLE_METHODS_IN_ONE_LINE" value="true" />
|
|
<option name="KEEP_SIMPLE_LAMBDAS_IN_ONE_LINE" value="true" />
|
|
<option name="KEEP_SIMPLE_CLASSES_IN_ONE_LINE" value="true" />
|
|
<option name="KEEP_MULTIPLE_EXPRESSIONS_IN_ONE_LINE" value="true" />
|
|
<option name="WRAP_LONG_LINES" value="true" />
|
|
</codeStyleSettings>
|
|
<codeStyleSettings language="ObjectiveC">
|
|
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" />
|
|
<option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1" />
|
|
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
|
|
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1" />
|
|
<option name="BLANK_LINES_AROUND_CLASS" value="0" />
|
|
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="false" />
|
|
<option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" />
|
|
<option name="TERNARY_OPERATION_WRAP" value="0" />
|
|
<option name="FOR_STATEMENT_WRAP" value="1" />
|
|
<option name="ARRAY_INITIALIZER_WRAP" value="5" />
|
|
<option name="ARRAY_INITIALIZER_RBRACE_ON_NEXT_LINE" value="true" />
|
|
<option name="ASSIGNMENT_WRAP" value="1" />
|
|
<option name="SOFT_MARGINS" value="140" />
|
|
<indentOptions>
|
|
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
|
<option name="LABEL_INDENT_SIZE" value="-2" />
|
|
</indentOptions>
|
|
</codeStyleSettings>
|
|
<codeStyleSettings language="XML">
|
|
<arrangement>
|
|
<rules>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>xmlns:android</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>xmlns:.*</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
<order>BY_NAME</order>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*:id</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*:name</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>name</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>style</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
<order>BY_NAME</order>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
<order>ANDROID_ATTRIBUTE_ORDER</order>
|
|
</rule>
|
|
</section>
|
|
<section>
|
|
<rule>
|
|
<match>
|
|
<AND>
|
|
<NAME>.*</NAME>
|
|
<XML_ATTRIBUTE />
|
|
<XML_NAMESPACE>.*</XML_NAMESPACE>
|
|
</AND>
|
|
</match>
|
|
<order>BY_NAME</order>
|
|
</rule>
|
|
</section>
|
|
</rules>
|
|
</arrangement>
|
|
</codeStyleSettings>
|
|
</code_scheme>
|
|
</component> |