Author: hbelusca
Date: Sun Mar 29 14:51:14 2015
New Revision: 66963
URL: http://svn.reactos.org/svn/reactos?rev=66963&view=rev
Log:
[NTVDM]: Introduce the possibility to compile multiple x86-16bit ASM files by using the trick of concatenating them in correct order so that the resulting file is a compilable ASM file. (We cannot do linking or 16-bit objects, so we need to take a middle approach).
CORE-9442 #resolve
Added:
trunk/reactos/subsystems/mvdm/asm16.cmake (with props)
Modified:
trunk/reactos/subsystems/mvdm/CMakeLists.txt
Modified: trunk/reactos/subsystems/mvdm/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/CMakeLists…
==============================================================================
--- trunk/reactos/subsystems/mvdm/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/CMakeLists.txt [iso-8859-1] Sun Mar 29 14:51:14 2015
@@ -1,3 +1,6 @@
+
+## Experimental 16-bit ASM compilation support
+include(asm16.cmake)
add_subdirectory(config)
#add_subdirectory(dos)
Added: trunk/reactos/subsystems/mvdm/asm16.cmake
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/asm16.cmak…
==============================================================================
--- trunk/reactos/subsystems/mvdm/asm16.cmake (added)
+++ trunk/reactos/subsystems/mvdm/asm16.cmake [iso-8859-1] Sun Mar 29 14:51:14 2015
@@ -0,0 +1,121 @@
+## EXPERIMENTAL!!
+
+# We need to use almost the same tricks as the ones used for MSVC 'add_asm_files'
+# support because we are going to compile ASM files for a fixed target (16-bit x86)
+# that is different from the main target.
+
+if(NOT MSVC)
+###
+### For GCC
+###
+function(add_asm16_bin _target _binary_file _base_address)
+ set(_concatenated_asm_file ${CMAKE_CURRENT_BINARY_DIR}/${_target}.asm)
+ set(_object_file ${CMAKE_CURRENT_BINARY_DIR}/${_target}.o)
+
+ # unset(_source_file_list)
+
+ get_defines(_directory_defines)
+ get_includes(_directory_includes)
+ get_directory_property(_defines COMPILE_DEFINITIONS)
+
+ # Build a list of all the defines needed.
+ foreach(_source_file ${ARGN})
+ get_filename_component(_source_file_full_path ${_source_file} ABSOLUTE)
+ get_source_file_property(_defines_semicolon_list ${_source_file_full_path} COMPILE_DEFINITIONS)
+
+ # unset(_source_file_defines)
+
+ foreach(_define ${_defines_semicolon_list})
+ if(NOT ${_define} STREQUAL "NOTFOUND")
+ list(APPEND _source_file_defines -D${_define})
+ endif()
+ endforeach()
+
+ list(APPEND _source_file_list ${_source_file_full_path})
+ endforeach()
+
+ # We do not support 16-bit ASM linking so the only way to compile
+ # many ASM files is by concatenating them into a single one and
+ # compile the resulting file.
+ concatenate_files(${_concatenated_asm_file} ${_source_file_list})
+
+ ##
+ ## All this part is the same as CreateBootSectorTarget
+ ##
+ add_custom_command(
+ OUTPUT ${_object_file}
+ COMMAND ${CMAKE_ASM_COMPILER} -x assembler-with-cpp -o ${_object_file} -I${REACTOS_SOURCE_DIR}/include/asm -I${REACTOS_BINARY_DIR}/include/asm ${_directory_includes} ${_source_file_defines} ${_directory_defines} -D__ASM__ -c ${_concatenated_asm_file}
+ DEPENDS ${_concatenated_asm_file})
+
+ add_custom_command(
+ OUTPUT ${_binary_file}
+ COMMAND native-obj2bin ${_object_file} ${_binary_file} ${_base_address}
+ # COMMAND objcopy --output-target binary --image-base 0x${_base_address} ${_object_file} ${_binary_file}
+ DEPENDS ${_object_file} native-obj2bin)
+
+ set_source_files_properties(${_object_file} ${_binary_file} PROPERTIES GENERATED TRUE)
+
+ add_custom_target(${_target} ALL DEPENDS ${_binary_file})
+endfunction()
+
+else()
+###
+### For MSVC
+###
+function(add_asm16_bin _target _binary_file _base_address)
+ set(_concatenated_asm_file ${CMAKE_CURRENT_BINARY_DIR}/${_target}.asm)
+ set(_preprocessed_asm_file ${CMAKE_CURRENT_BINARY_DIR}/${_target}.tmp)
+ set(_object_file ${CMAKE_CURRENT_BINARY_DIR}/${_target}.obj)
+
+ # unset(_source_file_list)
+
+ get_defines(_directory_defines)
+ get_includes(_directory_includes)
+ get_directory_property(_defines COMPILE_DEFINITIONS)
+
+ # Build a list of all the defines needed.
+ foreach(_source_file ${ARGN})
+ get_filename_component(_source_file_full_path ${_source_file} ABSOLUTE)
+ get_source_file_property(_defines_semicolon_list ${_source_file_full_path} COMPILE_DEFINITIONS)
+
+ # unset(_source_file_defines)
+
+ foreach(_define ${_defines_semicolon_list})
+ if(NOT ${_define} STREQUAL "NOTFOUND")
+ list(APPEND _source_file_defines -D${_define})
+ endif()
+ endforeach()
+
+ list(APPEND _source_file_list ${_source_file_full_path})
+ endforeach()
+
+ # We do not support 16-bit ASM linking so the only way to compile
+ # many ASM files is by concatenating them into a single one and
+ # compile the resulting file.
+ concatenate_files(${_concatenated_asm_file} ${_source_file_list})
+
+ ##
+ ## All this part is the same as CreateBootSectorTarget
+ ##
+ if(ARCH STREQUAL "arm")
+ set(_pp_asm16_compile_command ${CMAKE_ASM16_COMPILER} -nologo -o ${_object_file} ${_preprocessed_asm_file})
+ else()
+ set(_pp_asm16_compile_command ${CMAKE_ASM16_COMPILER} /nologo /Cp /Fo${_object_file} /c /Ta ${_preprocessed_asm_file})
+ endif()
+
+ add_custom_command(
+ OUTPUT ${_preprocessed_asm_file} ${_object_file}
+ COMMAND ${CMAKE_C_COMPILER} /nologo /X /I${REACTOS_SOURCE_DIR}/include/asm /I${REACTOS_BINARY_DIR}/include/asm ${_directory_includes} ${_source_file_defines} ${_directory_defines} /D__ASM__ /D_USE_ML /EP /c ${_concatenated_asm_file} > ${_preprocessed_asm_file} && ${_pp_asm16_compile_command}
+ DEPENDS ${_concatenated_asm_file})
+
+ add_custom_command(
+ OUTPUT ${_binary_file}
+ COMMAND native-obj2bin ${_object_file} ${_binary_file} ${_base_address}
+ DEPENDS ${_object_file} native-obj2bin)
+
+ set_source_files_properties(${_object_file} ${_preprocessed_asm_file} ${_binary_file} PROPERTIES GENERATED TRUE)
+
+ add_custom_target(${_target} ALL DEPENDS ${_binary_file})
+endfunction()
+
+endif()
Propchange: trunk/reactos/subsystems/mvdm/asm16.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Author: gadamopoulos
Date: Sun Mar 29 14:51:02 2015
New Revision: 66962
URL: http://svn.reactos.org/svn/reactos?rev=66962&view=rev
Log:
[TEST.H]
- Add an additional new line before showing the test results.
Some log commands print their lines in multiple print commands. As a result the results line can end up in the middle of a previous log that was not a complete line. This confuses testman and causes it to report this test as a crashed test as it can't find the line with the results. This is not the best fix possible but makes sure that the results in testman fluctuate a bit less.
Modified:
trunk/reactos/include/reactos/wine/test.h
Modified: trunk/reactos/include/reactos/wine/test.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/test.…
==============================================================================
--- trunk/reactos/include/reactos/wine/test.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/test.h [iso-8859-1] Sun Mar 29 14:51:02 2015
@@ -617,7 +617,7 @@
/* show test results even if traces are disabled */
/*if (winetest_debug)*/
{
- fprintf( stdout, "%s: %d tests executed (%d marked as todo, %d %s), %d skipped.\n",
+ fprintf( stdout, "\n%s: %d tests executed (%d marked as todo, %d %s), %d skipped.\n",
test->name, successes + failures + todo_successes + todo_failures,
todo_successes, failures + todo_failures,
(failures + todo_failures != 1) ? "failures" : "failure",
Author: akhaldi
Date: Sun Mar 29 14:47:40 2015
New Revision: 66961
URL: http://svn.reactos.org/svn/reactos?rev=66961&view=rev
Log:
[SAMSRV] Add Italian translation. By Carlo Bramini. CORE-9438
Added:
trunk/reactos/dll/win32/samsrv/lang/it-IT.rc (with props)
Modified:
trunk/reactos/dll/win32/samsrv/samsrv.rc
Added: trunk/reactos/dll/win32/samsrv/lang/it-IT.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samsrv/lang/it-I…
==============================================================================
--- trunk/reactos/dll/win32/samsrv/lang/it-IT.rc (added)
+++ trunk/reactos/dll/win32/samsrv/lang/it-IT.rc [iso-8859-1] Sun Mar 29 14:47:40 2015
@@ -0,0 +1,25 @@
+LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
+
+STRINGTABLE
+BEGIN
+ IDS_DOMAIN_BUILTIN_NAME "Builtin"
+ IDS_GROUP_NONE_NAME "Nessuno"
+ IDS_GROUP_NONE_COMMENT "Utente normale"
+ IDS_ALIAS_ADMINISTRATORS_NAME "Amministratori"
+ IDS_ALIAS_ADMINISTRATORS_COMMENT "Gli amministratori hanno accesso illimitato al computer o al dominio."
+ IDS_ALIAS_GUESTS_NAME "Ospiti"
+ IDS_ALIAS_GUESTS_COMMENT "Gli ospiti hanno gli stessi diritti dei membri del gruppo Users per impostazione predefinita."
+ IDS_ALIAS_POWER_USERS_NAME "Utenti avanzati"
+ IDS_ALIAS_POWER_USERS_COMMENT "Gli utenti avanzati hanno la maggior parte dei diritti amministrativi con alcune restrizioni."
+ IDS_ALIAS_USERS_NAME "Utente"
+ IDS_ALIAS_USERS_COMMENT "Gli utenti non possono apportare modifiche a livello di sistema."
+ /*
+ * ATTENTION:
+ * If you translate the administator account name, keep IDS_USER_ADMINISTRATOR_NAME and
+ * syssetup.dll:IDS_ADMINISTRATOR_NAME synchronized.
+ */
+ IDS_USER_ADMINISTRATOR_NAME "Administrator"
+ IDS_USER_ADMINISTRATOR_COMMENT "Account utilizzato per amministrare il computer o il dominio."
+ IDS_USER_GUEST_NAME "Guest"
+ IDS_USER_GUEST_COMMENT "Account utilizzato dagli ospiti per l'accesso al computer o al dominio."
+END
Propchange: trunk/reactos/dll/win32/samsrv/lang/it-IT.rc
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/samsrv/samsrv.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samsrv/samsrv.rc…
==============================================================================
--- trunk/reactos/dll/win32/samsrv/samsrv.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samsrv/samsrv.rc [iso-8859-1] Sun Mar 29 14:47:40 2015
@@ -31,6 +31,9 @@
#ifdef LANGUAGE_ES_ES
#include "lang/es-ES.rc"
#endif
+#ifdef LANGUAGE_IT_IT
+ #include "lang/it-IT.rc"
+#endif
#ifdef LANGUAGE_PL_PL
#include "lang/pl-PL.rc"
#endif