Source code formating unification
authorPawel Sikorski <p.sikorski@samsung.com>
Wed, 6 Feb 2013 12:53:31 +0000 (13:53 +0100)
committerPawel Sikorski <p.sikorski@samsung.com>
Fri, 8 Feb 2013 14:05:57 +0000 (15:05 +0100)
commit66378dd435c0d04db5467429987eb98d49ebf2a6
tree590cce9500611e7e0837ae61a4c5487718c4bc45
parenta81ceee5405315dcff231a7f7bac16f098e11452
Source code formating unification

[Issue#] N/A
[Problem] Source code was not formatted to any rules. In this situation
creating new patches or making review may become uncomfortable.
[Cause] No formatting rules/tool used.
[Solution] To make implementation and review process more comfortable,
whole commons repository source code has been formatted with uncrustify tool.
The configuration of the tool is located in the repository (./uncrustify.cfg).

Command used (stored in uncrustify.sh):
uncrustify -c ./uncrustify.cfg --no-backup `find . -regex
"\(.*\.cpp\|.*\.h\|.*\.c\|.*\.cc\)" | grep -v
"orm.h\|orm_generator.h\|3rdpartyi\|examples"`

[Verification] Build the repository

Change-Id: I3ee7d6af0408b760a3af003e488c1e48dfaf0395
310 files changed:
modules/auto_save_dao/dao/AutoSaveDatabase.cpp
modules/auto_save_dao/dao/auto_save_dao.cpp
modules/auto_save_dao/dao/auto_save_dao_read_only.cpp
modules/auto_save_dao/dao/common_dao_types.cpp
modules/auto_save_dao/include/wrt-commons/auto-save-dao-ro/auto_save_dao_read_only.h
modules/auto_save_dao/include/wrt-commons/auto-save-dao-rw/auto_save_dao.h
modules/auto_save_dao/include/wrt-commons/auto-save-dao/AutoSaveDatabase.h
modules/auto_save_dao/include/wrt-commons/auto-save-dao/common_dao_types.h
modules/core/include/dpl/abstract_input.h
modules/core/include/dpl/abstract_input_output.h
modules/core/include/dpl/abstract_output.h
modules/core/include/dpl/abstract_waitable_input.h
modules/core/include/dpl/abstract_waitable_input_adapter.h
modules/core/include/dpl/abstract_waitable_input_output.h
modules/core/include/dpl/abstract_waitable_input_output_adapter.h
modules/core/include/dpl/abstract_waitable_output.h
modules/core/include/dpl/abstract_waitable_output_adapter.h
modules/core/include/dpl/address.h
modules/core/include/dpl/aligned.h
modules/core/include/dpl/application.h
modules/core/include/dpl/apply.h
modules/core/include/dpl/assert.h
modules/core/include/dpl/atomic.h
modules/core/include/dpl/auto_ptr.h
modules/core/include/dpl/binary_queue.h
modules/core/include/dpl/char_traits.h
modules/core/include/dpl/colors.h
modules/core/include/dpl/copy.h
modules/core/include/dpl/enable_shared_from_this.h
modules/core/include/dpl/errno_string.h
modules/core/include/dpl/exception.h
modules/core/include/dpl/fast_delegate.h
modules/core/include/dpl/file_input.h
modules/core/include/dpl/file_output.h
modules/core/include/dpl/foreach.h
modules/core/include/dpl/generic_event.h
modules/core/include/dpl/lexical_cast.h
modules/core/include/dpl/main.h
modules/core/include/dpl/mutex.h
modules/core/include/dpl/named_base_pipe.h
modules/core/include/dpl/named_input_pipe.h
modules/core/include/dpl/named_output_pipe.h
modules/core/include/dpl/noncopyable.h
modules/core/include/dpl/once.h
modules/core/include/dpl/optional.h
modules/core/include/dpl/optional_typedefs.h
modules/core/include/dpl/preprocessor.h
modules/core/include/dpl/read_write_mutex.h
modules/core/include/dpl/recursive_mutex.h
modules/core/include/dpl/scoped_array.h
modules/core/include/dpl/scoped_close.h
modules/core/include/dpl/scoped_fclose.h
modules/core/include/dpl/scoped_free.h
modules/core/include/dpl/scoped_gpointer.h
modules/core/include/dpl/scoped_ptr.h
modules/core/include/dpl/scoped_resource.h
modules/core/include/dpl/semaphore.h
modules/core/include/dpl/serialization.h
modules/core/include/dpl/shared_ptr.h
modules/core/include/dpl/single_instance.h
modules/core/include/dpl/singleton.h
modules/core/include/dpl/singleton_impl.h
modules/core/include/dpl/singleton_safe_impl.h
modules/core/include/dpl/sstream.h
modules/core/include/dpl/string.h
modules/core/include/dpl/task.h
modules/core/include/dpl/task_list.h
modules/core/include/dpl/thread.h
modules/core/include/dpl/type_list.h
modules/core/include/dpl/union_cast.h
modules/core/include/dpl/unused.h
modules/core/include/dpl/waitable_event.h
modules/core/include/dpl/waitable_handle.h
modules/core/include/dpl/waitable_handle_watch_support.h
modules/core/include/dpl/zip_input.h
modules/core/src/abstract_waitable_input_adapter.cpp
modules/core/src/abstract_waitable_input_output_adapter.cpp
modules/core/src/abstract_waitable_output_adapter.cpp
modules/core/src/address.cpp
modules/core/src/application.cpp
modules/core/src/assert.cpp
modules/core/src/atomic.cpp
modules/core/src/binary_queue.cpp
modules/core/src/char_traits.cpp
modules/core/src/colors.cpp
modules/core/src/copy.cpp
modules/core/src/errno_string.cpp
modules/core/src/exception.cpp
modules/core/src/file_input.cpp
modules/core/src/file_output.cpp
modules/core/src/main.cpp
modules/core/src/mutex.cpp
modules/core/src/named_base_pipe.cpp
modules/core/src/named_output_pipe.cpp
modules/core/src/noncopyable.cpp
modules/core/src/once.cpp
modules/core/src/read_write_mutex.cpp
modules/core/src/recursive_mutex.cpp
modules/core/src/semaphore.cpp
modules/core/src/single_instance.cpp
modules/core/src/string.cpp [changed mode: 0755->0644]
modules/core/src/task_list.cpp
modules/core/src/thread.cpp
modules/core/src/waitable_event.cpp
modules/core/src/waitable_handle.cpp
modules/core/src/waitable_handle_watch_support.cpp
modules/core/src/zip_input.cpp
modules/custom_handler_dao/dao/CustomHandlerDatabase.cpp
modules/custom_handler_dao/dao/custom_handler_dao.cpp
modules/custom_handler_dao/dao/custom_handler_dao_read_only.cpp
modules/custom_handler_dao/include/wrt-commons/custom-handler-dao-ro/CustomHandlerDatabase.h
modules/custom_handler_dao/include/wrt-commons/custom-handler-dao-ro/common_dao_types.h
modules/custom_handler_dao/include/wrt-commons/custom-handler-dao-ro/custom_handler_dao_read_only.h
modules/custom_handler_dao/include/wrt-commons/custom-handler-dao-rw/custom_handler_dao.h
modules/db/include/dpl/db/naive_synchronization_object.h
modules/db/include/dpl/db/orm_interface.h
modules/db/include/dpl/db/orm_macros.h
modules/db/include/dpl/db/sql_connection.h
modules/db/include/dpl/db/thread_database_support.h
modules/db/src/naive_synchronization_object.cpp
modules/db/src/orm.cpp
modules/db/src/sql_connection.cpp
modules/dbus/include/dpl/dbus/connection.h
modules/dbus/include/dpl/dbus/dbus_client.h
modules/dbus/include/dpl/dbus/dbus_deserialization.h
modules/dbus/include/dpl/dbus/dbus_interface_dispatcher.h
modules/dbus/include/dpl/dbus/dbus_serialization.h
modules/dbus/include/dpl/dbus/dbus_server_deserialization.h
modules/dbus/include/dpl/dbus/dbus_server_serialization.h
modules/dbus/include/dpl/dbus/dbus_signature.h
modules/dbus/include/dpl/dbus/dispatcher.h
modules/dbus/include/dpl/dbus/exception.h
modules/dbus/include/dpl/dbus/interface.h
modules/dbus/include/dpl/dbus/method_proxy.h
modules/dbus/include/dpl/dbus/object.h
modules/dbus/include/dpl/dbus/object_proxy.h
modules/dbus/include/dpl/dbus/server.h
modules/dbus/src/connection.cpp
modules/dbus/src/dispatcher.cpp
modules/dbus/src/interface.cpp
modules/dbus/src/object.cpp
modules/dbus/src/object_proxy.cpp
modules/dbus/src/server.cpp
modules/encryption/include/dpl/encryption/resource_decryption.h
modules/encryption/include/dpl/encryption/resource_encryption.h
modules/encryption/src/resource_decryption.cpp
modules/encryption/src/resource_encryption.cpp
modules/event/include/dpl/event/abstract_event_call.h
modules/event/include/dpl/event/abstract_event_dispatcher.h
modules/event/include/dpl/event/controller.h
modules/event/include/dpl/event/event_listener.h
modules/event/include/dpl/event/event_support.h
modules/event/include/dpl/event/generic_event_call.h
modules/event/include/dpl/event/inter_context_delegate.h
modules/event/include/dpl/event/main_event_dispatcher.h
modules/event/include/dpl/event/model.h
modules/event/include/dpl/event/model_bind_to_dao.h
modules/event/include/dpl/event/property.h
modules/event/include/dpl/event/thread_event_dispatcher.h
modules/event/src/abstract_event_call.cpp
modules/event/src/abstract_event_dispatcher.cpp
modules/event/src/event_support.cpp
modules/event/src/main_event_dispatcher.cpp
modules/event/src/model.cpp
modules/event/src/thread_event_dispatcher.cpp
modules/localization/include/LanguageTagsProvider.h
modules/localization/include/dpl/localization/localization_utils.h
modules/localization/include/dpl/localization/w3c_file_localization.h
modules/localization/src/LanguageTagsProvider.cpp
modules/localization/src/localization_utils.cpp
modules/localization/src/w3c_file_localization.cpp
modules/log/include/dpl/log/abstract_log_provider.h
modules/log/include/dpl/log/dlog_log_provider.h
modules/log/include/dpl/log/log.h
modules/log/include/dpl/log/old_style_log_provider.h
modules/log/src/abstract_log_provider.cpp
modules/log/src/dlog_log_provider.cpp
modules/log/src/log.cpp
modules/log/src/old_style_log_provider.cpp
modules/rpc/include/dpl/rpc/abstract_rpc_connection.h
modules/rpc/include/dpl/rpc/abstract_rpc_connector.h
modules/rpc/include/dpl/rpc/generic_rpc_connection.h
modules/rpc/include/dpl/rpc/generic_socket_rpc_client.h
modules/rpc/include/dpl/rpc/generic_socket_rpc_connection.h
modules/rpc/include/dpl/rpc/generic_socket_rpc_server.h
modules/rpc/include/dpl/rpc/rpc_function.h
modules/rpc/include/dpl/rpc/unix_socket_rpc_client.h
modules/rpc/include/dpl/rpc/unix_socket_rpc_connection.h
modules/rpc/include/dpl/rpc/unix_socket_rpc_server.h
modules/rpc/src/generic_rpc_connection.cpp
modules/rpc/src/generic_socket_rpc_client.cpp
modules/rpc/src/generic_socket_rpc_connection.cpp
modules/rpc/src/unix_socket_rpc_client.cpp
modules/rpc/src/unix_socket_rpc_connection.cpp
modules/rpc/src/unix_socket_rpc_server.cpp
modules/security_origin_dao/dao/security_origin_dao.cpp
modules/security_origin_dao/dao/security_origin_dao_types.cpp
modules/security_origin_dao/include/wrt-commons/security-origin-dao/security_origin_dao.h
modules/security_origin_dao/include/wrt-commons/security-origin-dao/security_origin_dao_types.h
modules/security_origin_dao/include/wrt-commons/security-origin-dao/security_origin_database.h
modules/socket/include/dpl/socket/abstract_socket.h
modules/socket/include/dpl/socket/generic_socket.h
modules/socket/include/dpl/socket/unix_socket.h
modules/socket/include/dpl/socket/waitable_input_output_execution_context_support.h
modules/socket/src/unix_socket.cpp
modules/socket/src/waitable_input_output_execution_context_support.cpp
modules/support/wrt_plugin_export.h
modules/test/include/dpl/test/test_results_collector.h
modules/test/include/dpl/test/test_runner.h
modules/test/include/dpl/test/test_runner_child.h
modules/test/src/test_results_collector.cpp
modules/test/src/test_runner.cpp
modules/test/src/test_runner_child.cpp
modules/utils/include/dpl/utils/bash_utils.h
modules/utils/include/dpl/utils/file_utils.h
modules/utils/include/dpl/utils/folder_size.h
modules/utils/include/dpl/utils/mime_type_utils.h
modules/utils/include/dpl/utils/warp_iri.h
modules/utils/include/dpl/utils/widget_version.h
modules/utils/include/dpl/utils/wrt_global_settings.h
modules/utils/include/dpl/utils/wrt_utility.h
modules/utils/src/bash_utils.cpp
modules/utils/src/file_utils.cpp
modules/utils/src/folder_size.cpp
modules/utils/src/mime_type_utils.cpp
modules/utils/src/warp_iri.cpp
modules/utils/src/widget_version.cpp
modules/utils/src/wrt_global_settings.cpp
modules/utils/src/wrt_utility.cpp
modules/widget_dao/dao/WrtDatabase.cpp
modules/widget_dao/dao/common_dao_types.cpp
modules/widget_dao/dao/config_parser_data.cpp [changed mode: 0755->0644]
modules/widget_dao/dao/feature_dao.cpp [changed mode: 0755->0644]
modules/widget_dao/dao/feature_dao_read_only.cpp
modules/widget_dao/dao/global_dao.cpp
modules/widget_dao/dao/global_dao_read_only.cpp
modules/widget_dao/dao/path_builder.cpp
modules/widget_dao/dao/plugin_dao.cpp
modules/widget_dao/dao/plugin_dao_read_only.cpp
modules/widget_dao/dao/property_dao.cpp
modules/widget_dao/dao/property_dao_read_only.cpp
modules/widget_dao/dao/widget_dao.cpp
modules/widget_dao/dao/widget_dao_read_only.cpp
modules/widget_dao/include/dpl/wrt-dao-ro/WrtDatabase.h
modules/widget_dao/include/dpl/wrt-dao-ro/common_dao_types.h
modules/widget_dao/include/dpl/wrt-dao-ro/config_parser_data.h [changed mode: 0755->0644]
modules/widget_dao/include/dpl/wrt-dao-ro/feature_dao_read_only.h
modules/widget_dao/include/dpl/wrt-dao-ro/feature_model.h
modules/widget_dao/include/dpl/wrt-dao-ro/global_config.h
modules/widget_dao/include/dpl/wrt-dao-ro/global_dao_read_only.h
modules/widget_dao/include/dpl/wrt-dao-ro/path_builder.h
modules/widget_dao/include/dpl/wrt-dao-ro/plugin_dao_read_only.h
modules/widget_dao/include/dpl/wrt-dao-ro/property_dao_read_only.h
modules/widget_dao/include/dpl/wrt-dao-ro/vconf_config.h
modules/widget_dao/include/dpl/wrt-dao-ro/webruntime_database.h
modules/widget_dao/include/dpl/wrt-dao-ro/widget_config.h
modules/widget_dao/include/dpl/wrt-dao-ro/widget_dao_read_only.h
modules/widget_dao/include/dpl/wrt-dao-rw/feature_dao.h [changed mode: 0755->0644]
modules/widget_dao/include/dpl/wrt-dao-rw/global_dao.h
modules/widget_dao/include/dpl/wrt-dao-rw/plugin_dao.h
modules/widget_dao/include/dpl/wrt-dao-rw/property_dao.h
modules/widget_dao/include/dpl/wrt-dao-rw/widget_dao.h
modules/widget_dao/orm/wrt_db_sql_generator.h
tests/common/include/loop_control.h
tests/common/src/loop_control.cpp
tests/dao/TestCases_CustomHandlerDAO.cpp
tests/dao/TestCases_FeatureDAO.cpp
tests/dao/TestCases_GlobalDAO.cpp
tests/dao/TestCases_PluginDAO.cpp
tests/dao/TestCases_PropertyDAO.cpp
tests/dao/TestCases_WidgetDAO.cpp
tests/dao/tests_dao.cpp
tests/dpl/core/test_binary_queue.cpp
tests/dpl/core/test_fast_delegate.cpp
tests/dpl/core/test_foreach.cpp
tests/dpl/core/test_log_unhandled_exception.cpp
tests/dpl/core/test_once.cpp
tests/dpl/core/test_scoped_fclose.cpp
tests/dpl/core/test_semaphore.cpp
tests/dpl/core/test_serialization.cpp
tests/dpl/core/test_string.cpp
tests/dpl/core/test_thread.cpp
tests/dpl/db/orm/dpl_orm_test_db_sql_generator.h
tests/dpl/db/test_orm.cpp
tests/dpl/db/test_sql_connection.cpp
tests/dpl/dbus/dbus_test.cpp
tests/dpl/dbus/dbus_test.h
tests/dpl/dbus/main.cpp
tests/dpl/dbus/test_cases.cpp
tests/dpl/dbus/test_service.cpp
tests/dpl/event/test_controller.cpp
tests/dpl/event/test_event_support.cpp
tests/dpl/event/test_ic_delegate.cpp
tests/dpl/event/test_property.cpp
tests/dpl/localization/mockup_include/dpl/wrt-dao-ro/common_dao_types.h
tests/dpl/localization/mockup_include/dpl/wrt-dao-rw/widget_dao.h
tests/dpl/localization/mockup_src/widget_dao.cpp
tests/dpl/localization/test_suite01.cpp
tests/dpl/test/runner_child.cpp
tests/dpl/unused/test_caller.cpp
tests/dpl/unused/test_crypto_hash.cpp
tests/dpl/unused/test_message_queue.cpp
tests/dpl/unused/test_shm.cpp
tests/dpl/unused/test_sql_connection.cpp
tests/dpl/unused/test_task.cpp
tests/dpl/utils/bash_utils.cpp
tests/dpl/utils/widget_version.cpp
tests/dpl/utils/wrt_utility.cpp
uncrustify.cfg [new file with mode: 0644]
uncrustify.sh [new file with mode: 0755]