diff --git a/.clang-format b/.clang-format index 6d12e8ef..4580b11f 100644 --- a/.clang-format +++ b/.clang-format @@ -34,3 +34,5 @@ SpacesInSquareBrackets: false SortIncludes: false UseTab: Never InsertNewlineAtEOF: true +DeriveLineEnding: false +UseCRLF: false \ No newline at end of file diff --git a/include/LCUI.h b/include/LCUI.h index 53591370..2e2580ab 100644 --- a/include/LCUI.h +++ b/include/LCUI.h @@ -1,15 +1,12 @@ /* * include/LCUI.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is - * part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT - * file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/include/LCUI/app.h b/include/LCUI/app.h index 145b0bc2..1de0b384 100644 --- a/include/LCUI/app.h +++ b/include/LCUI/app.h @@ -1,15 +1,12 @@ /* * include/LCUI/app.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_LCUI_APP_H diff --git a/include/LCUI/base.h b/include/LCUI/base.h index 9486186e..568c566f 100644 --- a/include/LCUI/base.h +++ b/include/LCUI/base.h @@ -1,15 +1,12 @@ /* * include/LCUI/base.h * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_LCUI_BASE_H diff --git a/include/LCUI/common.h b/include/LCUI/common.h index 5c5e4a2b..9a9d3804 100644 --- a/include/LCUI/common.h +++ b/include/LCUI/common.h @@ -1,15 +1,12 @@ /* * include/LCUI/common.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_LCUI_COMMON_H diff --git a/include/LCUI/fonts.h b/include/LCUI/fonts.h index 72ce28c8..342ea974 100644 --- a/include/LCUI/fonts.h +++ b/include/LCUI/fonts.h @@ -1,15 +1,12 @@ /* * include/LCUI/fonts.h * - * Copyright (c) 2025-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2025-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_LCUI_FONTS_H diff --git a/include/LCUI/main.h b/include/LCUI/main.h index f1190a93..4b0e4dc6 100644 --- a/include/LCUI/main.h +++ b/include/LCUI/main.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/include/LCUI/settings.h b/include/LCUI/settings.h index cdbfaebe..f6fa3f5f 100644 --- a/include/LCUI/settings.h +++ b/include/LCUI/settings.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_LCUI_SETTINGS_H diff --git a/include/LCUI/settings/base.h b/include/LCUI/settings/base.h index b6934224..cf583a70 100644 --- a/include/LCUI/settings/base.h +++ b/include/LCUI/settings/base.h @@ -1,15 +1,12 @@ /* * include/LCUI/settings/base.h * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_LCUI_SETTINGS_BASE_H diff --git a/include/LCUI/settings/rendering.h b/include/LCUI/settings/rendering.h index f3351033..e5b8e231 100644 --- a/include/LCUI/settings/rendering.h +++ b/include/LCUI/settings/rendering.h @@ -1,15 +1,12 @@ /* * include/LCUI/settings/rendering.h * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_LCUI_SETTINGS_RENDERING_H diff --git a/include/LCUI/settings/window_state.h b/include/LCUI/settings/window_state.h index 08e71a14..722ca5cc 100644 --- a/include/LCUI/settings/window_state.h +++ b/include/LCUI/settings/window_state.h @@ -1,15 +1,12 @@ /* * include/LCUI/settings/window_state.h * - * Copyright (c) 2024-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_LCUI_SETTINGS_WINDOW_STATE_H diff --git a/include/LCUI/ui.h b/include/LCUI/ui.h index bc6198af..665d74f4 100644 --- a/include/LCUI/ui.h +++ b/include/LCUI/ui.h @@ -1,15 +1,12 @@ /* * include/LCUI/ui.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is - * part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT - * file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_UI_H diff --git a/include/LCUI/widgets.h b/include/LCUI/widgets.h index 72061c2c..3d9bc72f 100644 --- a/include/LCUI/widgets.h +++ b/include/LCUI/widgets.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "widgets/text.h" diff --git a/include/LCUI/widgets/anchor.h b/include/LCUI/widgets/anchor.h index 15d9b97c..dc83a8d6 100644 --- a/include/LCUI/widgets/anchor.h +++ b/include/LCUI/widgets/anchor.h @@ -2,14 +2,11 @@ * include/LCUI/widgets/anchor.h: to element in HTML. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_WIDGETS_ANCHOR_H diff --git a/include/LCUI/widgets/button.h b/include/LCUI/widgets/button.h index 4424b470..0beddd33 100644 --- a/include/LCUI/widgets/button.h +++ b/include/LCUI/widgets/button.h @@ -2,14 +2,11 @@ * include/LCUI/widgets/button.h: -- LCUI‘s Button widget * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_WIDGETS_BUTTON_H diff --git a/include/LCUI/widgets/canvas.h b/include/LCUI/widgets/canvas.h index 82386936..95cc1a5b 100644 --- a/include/LCUI/widgets/canvas.h +++ b/include/LCUI/widgets/canvas.h @@ -2,14 +2,11 @@ * include/LCUI/widgets/canvas.h: -- canvas, used to draw custom graphics * * Copyright (c) 2019-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_WIDGETS_CANVAS_H diff --git a/include/LCUI/widgets/progress.h b/include/LCUI/widgets/progress.h index f6324f3c..885e2f77 100644 --- a/include/LCUI/widgets/progress.h +++ b/include/LCUI/widgets/progress.h @@ -1,15 +1,12 @@ -/* +/* * include/LCUI/widgets/progress.h: -- LCUI's Progress widget * * Copyright (c) 2024-2026, Liu chao All rights reserved. - * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_WIDGETS_PROGRESS_H diff --git a/include/LCUI/widgets/scrollarea.h b/include/LCUI/widgets/scrollarea.h index 081d23d0..a7f0ce7a 100644 --- a/include/LCUI/widgets/scrollarea.h +++ b/include/LCUI/widgets/scrollarea.h @@ -1,15 +1,12 @@ /* * include/LCUI/widgets/scrollarea.h * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_WIDGETS_SCROLLAREA_H diff --git a/include/LCUI/widgets/scrollbar.h b/include/LCUI/widgets/scrollbar.h index f4f07820..6137fbe9 100644 --- a/include/LCUI/widgets/scrollbar.h +++ b/include/LCUI/widgets/scrollbar.h @@ -2,14 +2,11 @@ * include/LCUI/widgets/scrollbar.h: -- LCUI's scrollbar widget * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_WIDGETS_SCROLLBAR_H diff --git a/include/LCUI/widgets/text.h b/include/LCUI/widgets/text.h index fe6bf48e..1282c081 100644 --- a/include/LCUI/widgets/text.h +++ b/include/LCUI/widgets/text.h @@ -2,14 +2,11 @@ * include/LCUI/widgets/text.h: -- TextView widget for display * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_WIDGETS_TEXT_H diff --git a/include/LCUI/widgets/textcaret.h b/include/LCUI/widgets/textcaret.h index a2048857..fad29d34 100644 --- a/include/LCUI/widgets/textcaret.h +++ b/include/LCUI/widgets/textcaret.h @@ -2,14 +2,11 @@ * include/LCUI/widgets/textcaret.h: -- textcaret widget, used in textinput. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_WIDGETS_TEXTCARET_H diff --git a/include/LCUI/widgets/textinput.h b/include/LCUI/widgets/textinput.h index 2c782453..b26eff86 100644 --- a/include/LCUI/widgets/textinput.h +++ b/include/LCUI/widgets/textinput.h @@ -1,6 +1,17 @@ /* + * include/LCUI/widgets/textinput.h + * + * Copyright (c) 2026, Liu Chao All rights reserved. + * + * SPDX-License-Identifier: MIT + * + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. + */ + +/* * include/LCUI/widgets/textinput.h: -- textinput widget, used to allow user - * edit text. + * edit text. * Copyright (c) 2018-2026, Liu chao All rights * reserved. * diff --git a/include/LCUI/worker.h b/include/LCUI/worker.h index 9319a487..99cb716b 100644 --- a/include/LCUI/worker.h +++ b/include/LCUI/worker.h @@ -1,15 +1,12 @@ /* * include/LCUI/worker.h * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_INCLUDE_LCUI_WORKER_H diff --git a/lib/css/include/css.h b/lib/css/include/css.h index 3e4c1473..991599c1 100644 --- a/lib/css/include/css.h +++ b/lib/css/include/css.h @@ -1,15 +1,12 @@ /* * lib/css/include/css.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_H diff --git a/lib/css/include/css/common.h b/lib/css/include/css/common.h index bc3a44b6..27e20ef9 100644 --- a/lib/css/include/css/common.h +++ b/lib/css/include/css/common.h @@ -1,15 +1,12 @@ /* * lib/css/include/css/common.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "config.h" diff --git a/lib/css/include/css/computed.h b/lib/css/include/css/computed.h index 85e4c364..d58a5d20 100644 --- a/lib/css/include/css/computed.h +++ b/lib/css/include/css/computed.h @@ -1,15 +1,12 @@ /* * lib/css/include/css/computed.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_COMPUTED_H diff --git a/lib/css/include/css/data_types.h b/lib/css/include/css/data_types.h index 14300b5f..72c76ba4 100644 --- a/lib/css/include/css/data_types.h +++ b/lib/css/include/css/data_types.h @@ -1,15 +1,12 @@ /* * lib/css/include/css/data_types.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_DATA_TYPES_H diff --git a/lib/css/include/css/keywords.h b/lib/css/include/css/keywords.h index 5e64191d..931c1577 100644 --- a/lib/css/include/css/keywords.h +++ b/lib/css/include/css/keywords.h @@ -1,15 +1,12 @@ /* * lib/css/include/css/keywords.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_KEYWORDS_H diff --git a/lib/css/include/css/library.h b/lib/css/include/css/library.h index 50472261..80d79acd 100644 --- a/lib/css/include/css/library.h +++ b/lib/css/include/css/library.h @@ -2,14 +2,11 @@ * lib/css/include/css/library.h: -- CSS library operation module. * * Copyright (c) 2022-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_LIBRARY_H diff --git a/lib/css/include/css/parser.h b/lib/css/include/css/parser.h index cddcb645..7fef1c8b 100644 --- a/lib/css/include/css/parser.h +++ b/lib/css/include/css/parser.h @@ -2,14 +2,11 @@ * lib/css/include/css/parser.h: -- CSS parser module * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_PARSER_H diff --git a/lib/css/include/css/properties.h b/lib/css/include/css/properties.h index c4a5f861..570d804a 100644 --- a/lib/css/include/css/properties.h +++ b/lib/css/include/css/properties.h @@ -1,15 +1,12 @@ /* * lib/css/include/css/properties.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_PROPERTIES_H diff --git a/lib/css/include/css/selector.h b/lib/css/include/css/selector.h index cdc417b1..bc366dda 100644 --- a/lib/css/include/css/selector.h +++ b/lib/css/include/css/selector.h @@ -1,15 +1,12 @@ /* * lib/css/include/css/selector.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_SELECTOR_H diff --git a/lib/css/include/css/style_decl.h b/lib/css/include/css/style_decl.h index a3c48bfd..a3642ef3 100644 --- a/lib/css/include/css/style_decl.h +++ b/lib/css/include/css/style_decl.h @@ -1,15 +1,12 @@ /* * lib/css/include/css/style_decl.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_STYLE_DECL_H diff --git a/lib/css/include/css/style_value.h b/lib/css/include/css/style_value.h index 4de31958..f4eacdbf 100644 --- a/lib/css/include/css/style_value.h +++ b/lib/css/include/css/style_value.h @@ -1,15 +1,12 @@ /* * lib/css/include/css/style_value.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_STYLE_VALUE_H diff --git a/lib/css/include/css/types.h b/lib/css/include/css/types.h index 48e8ad14..d12325e8 100644 --- a/lib/css/include/css/types.h +++ b/lib/css/include/css/types.h @@ -1,15 +1,12 @@ /* * lib/css/include/css/types.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_DEF_H diff --git a/lib/css/include/css/utils.h b/lib/css/include/css/utils.h index e65be566..61682140 100644 --- a/lib/css/include/css/utils.h +++ b/lib/css/include/css/utils.h @@ -1,15 +1,12 @@ /* * lib/css/include/css/utils.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_UTILS_H diff --git a/lib/css/include/css/value.h b/lib/css/include/css/value.h index 9f199606..c53870cd 100644 --- a/lib/css/include/css/value.h +++ b/lib/css/include/css/value.h @@ -1,15 +1,12 @@ /* * lib/css/include/css/value.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_VALUE_H diff --git a/lib/css/src/computed.c b/lib/css/src/computed.c index bdef51c3..dc678c5a 100644 --- a/lib/css/src/computed.c +++ b/lib/css/src/computed.c @@ -1,15 +1,12 @@ /* * lib/css/src/computed.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/data_types.c b/lib/css/src/data_types.c index 019a328c..6ec4a2a1 100644 --- a/lib/css/src/data_types.c +++ b/lib/css/src/data_types.c @@ -1,15 +1,12 @@ /* * lib/css/src/data_types.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/debug.h b/lib/css/src/debug.h index 1651da72..ce1fe6ba 100644 --- a/lib/css/src/debug.h +++ b/lib/css/src/debug.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifdef DEBUG diff --git a/lib/css/src/dump.c b/lib/css/src/dump.c index 4f8f982f..c9d7acbd 100644 --- a/lib/css/src/dump.c +++ b/lib/css/src/dump.c @@ -1,15 +1,12 @@ /* * lib/css/src/dump.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/dump.h b/lib/css/src/dump.h index 771fbc9e..dbd5f964 100644 --- a/lib/css/src/dump.h +++ b/lib/css/src/dump.h @@ -1,15 +1,12 @@ /* * lib/css/src/dump.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBCSS_INCLUDE_CSS_DUMP_H diff --git a/lib/css/src/font_face_parser.c b/lib/css/src/font_face_parser.c index 48009dae..1af927f8 100644 --- a/lib/css/src/font_face_parser.c +++ b/lib/css/src/font_face_parser.c @@ -2,14 +2,11 @@ * lib/css/src/font_face_parser.c: -- CSS @font-face rule parser module * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/keywords.c b/lib/css/src/keywords.c index 5531fb5a..ea95aaff 100644 --- a/lib/css/src/keywords.c +++ b/lib/css/src/keywords.c @@ -1,15 +1,12 @@ /* * lib/css/src/keywords.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/library.c b/lib/css/src/library.c index 8ec47927..8d476ecf 100644 --- a/lib/css/src/library.c +++ b/lib/css/src/library.c @@ -2,14 +2,11 @@ * lib/css/src/library.c: -- CSS library operation module. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/main.c b/lib/css/src/main.c index e9eebad0..89ed8f6f 100644 --- a/lib/css/src/main.c +++ b/lib/css/src/main.c @@ -1,15 +1,12 @@ /* * lib/css/src/main.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is - * part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT - * file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../include/css.h" diff --git a/lib/css/src/parser.c b/lib/css/src/parser.c index c8f91557..1d04cb2c 100644 --- a/lib/css/src/parser.c +++ b/lib/css/src/parser.c @@ -2,14 +2,11 @@ * lib/css/src/parser.c: -- css parser module * * Copyright (c) 2022-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/parser.h b/lib/css/src/parser.h index e0f1d823..36c67f51 100644 --- a/lib/css/src/parser.h +++ b/lib/css/src/parser.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #define CASE_WHITE_SPACE \ diff --git a/lib/css/src/properties.c b/lib/css/src/properties.c index 5b73c06d..37df8b07 100644 --- a/lib/css/src/properties.c +++ b/lib/css/src/properties.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/properties.h b/lib/css/src/properties.h index 108dbbe3..032bce2e 100644 --- a/lib/css/src/properties.h +++ b/lib/css/src/properties.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/properties/align_content.c b/lib/css/src/properties/align_content.c index f066e1b5..8039d12d 100644 --- a/lib/css/src/properties/align_content.c +++ b/lib/css/src/properties/align_content.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/align_content.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/align_items.c b/lib/css/src/properties/align_items.c index 70a73c10..788086fe 100644 --- a/lib/css/src/properties/align_items.c +++ b/lib/css/src/properties/align_items.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/align_items.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/background.c b/lib/css/src/properties/background.c index 18f6fb33..9c5b3177 100644 --- a/lib/css/src/properties/background.c +++ b/lib/css/src/properties/background.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/background.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/border.c b/lib/css/src/properties/border.c index 2848d394..e0a07c0c 100644 --- a/lib/css/src/properties/border.c +++ b/lib/css/src/properties/border.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/border.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/bottom.c b/lib/css/src/properties/bottom.c index a0934fb5..4a92c79d 100644 --- a/lib/css/src/properties/bottom.c +++ b/lib/css/src/properties/bottom.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/bottom.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/box_shadow.c b/lib/css/src/properties/box_shadow.c index c6e5d33b..602708ab 100644 --- a/lib/css/src/properties/box_shadow.c +++ b/lib/css/src/properties/box_shadow.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/box_shadow.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/box_sizing.c b/lib/css/src/properties/box_sizing.c index df01987f..c5f5a444 100644 --- a/lib/css/src/properties/box_sizing.c +++ b/lib/css/src/properties/box_sizing.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/box_sizing.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/color.c b/lib/css/src/properties/color.c index e3443a24..90c853d4 100644 --- a/lib/css/src/properties/color.c +++ b/lib/css/src/properties/color.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/color.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "./helpers.h" diff --git a/lib/css/src/properties/content.c b/lib/css/src/properties/content.c index c27fca54..59c8c7d0 100644 --- a/lib/css/src/properties/content.c +++ b/lib/css/src/properties/content.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/content.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/display.c b/lib/css/src/properties/display.c index eb55d064..ab5a760a 100644 --- a/lib/css/src/properties/display.c +++ b/lib/css/src/properties/display.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/display.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/flex.c b/lib/css/src/properties/flex.c index 659dfc0c..d9c66b55 100644 --- a/lib/css/src/properties/flex.c +++ b/lib/css/src/properties/flex.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/flex.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/font_family.c b/lib/css/src/properties/font_family.c index 86f510c2..047655b8 100644 --- a/lib/css/src/properties/font_family.c +++ b/lib/css/src/properties/font_family.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/font_family.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/font_size.c b/lib/css/src/properties/font_size.c index 9f24354e..69ee4d31 100644 --- a/lib/css/src/properties/font_size.c +++ b/lib/css/src/properties/font_size.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/font_size.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/font_style.c b/lib/css/src/properties/font_style.c index 44ec7b7f..6b3335ce 100644 --- a/lib/css/src/properties/font_style.c +++ b/lib/css/src/properties/font_style.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/font_style.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/font_weight.c b/lib/css/src/properties/font_weight.c index db306b20..625408b0 100644 --- a/lib/css/src/properties/font_weight.c +++ b/lib/css/src/properties/font_weight.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/font_weight.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/gap.c b/lib/css/src/properties/gap.c index 2319f04c..01dcd0ce 100644 --- a/lib/css/src/properties/gap.c +++ b/lib/css/src/properties/gap.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/gap.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/height.c b/lib/css/src/properties/height.c index 3a4ef1dc..bcfa20d2 100644 --- a/lib/css/src/properties/height.c +++ b/lib/css/src/properties/height.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/height.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/helpers.c b/lib/css/src/properties/helpers.c index 74c3a9f1..2d6b5fb7 100644 --- a/lib/css/src/properties/helpers.c +++ b/lib/css/src/properties/helpers.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/helpers.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "helpers.h" diff --git a/lib/css/src/properties/helpers.h b/lib/css/src/properties/helpers.h index 977115d7..0e081e30 100644 --- a/lib/css/src/properties/helpers.h +++ b/lib/css/src/properties/helpers.h @@ -1,15 +1,12 @@ /* * lib/css/src/properties/helpers.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_CSS_SRC_PROPERTIES_HELPERS_H diff --git a/lib/css/src/properties/justify_content.c b/lib/css/src/properties/justify_content.c index 26ccef7b..2855be74 100644 --- a/lib/css/src/properties/justify_content.c +++ b/lib/css/src/properties/justify_content.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/justify_content.c * - * Copyright (c) 2023-2026, - * Liu Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/left.c b/lib/css/src/properties/left.c index ff6d532e..162e777f 100644 --- a/lib/css/src/properties/left.c +++ b/lib/css/src/properties/left.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/left.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/line_height.c b/lib/css/src/properties/line_height.c index 2f921a0c..7afd6ce4 100644 --- a/lib/css/src/properties/line_height.c +++ b/lib/css/src/properties/line_height.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/line_height.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/margin.c b/lib/css/src/properties/margin.c index 02256957..8934c835 100644 --- a/lib/css/src/properties/margin.c +++ b/lib/css/src/properties/margin.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/margin.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/max_height.c b/lib/css/src/properties/max_height.c index 9940e9a4..dfec6971 100644 --- a/lib/css/src/properties/max_height.c +++ b/lib/css/src/properties/max_height.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/max_height.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/max_width.c b/lib/css/src/properties/max_width.c index a56dc047..2edb37f2 100644 --- a/lib/css/src/properties/max_width.c +++ b/lib/css/src/properties/max_width.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/max_width.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/min_height.c b/lib/css/src/properties/min_height.c index 98d94a71..7669f54a 100644 --- a/lib/css/src/properties/min_height.c +++ b/lib/css/src/properties/min_height.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/min_height.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/min_width.c b/lib/css/src/properties/min_width.c index 85798c83..bd954814 100644 --- a/lib/css/src/properties/min_width.c +++ b/lib/css/src/properties/min_width.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/min_width.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/opacity.c b/lib/css/src/properties/opacity.c index d659f756..971590c1 100644 --- a/lib/css/src/properties/opacity.c +++ b/lib/css/src/properties/opacity.c @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/padding.c b/lib/css/src/properties/padding.c index f463909d..57e3729f 100644 --- a/lib/css/src/properties/padding.c +++ b/lib/css/src/properties/padding.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/padding.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/pointer_events.c b/lib/css/src/properties/pointer_events.c index 54a83091..5fd5fc99 100644 --- a/lib/css/src/properties/pointer_events.c +++ b/lib/css/src/properties/pointer_events.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/pointer_events.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/position.c b/lib/css/src/properties/position.c index 0a5c7c5b..9d8ccc24 100644 --- a/lib/css/src/properties/position.c +++ b/lib/css/src/properties/position.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/position.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/right.c b/lib/css/src/properties/right.c index b55f6b3e..2cab2455 100644 --- a/lib/css/src/properties/right.c +++ b/lib/css/src/properties/right.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/right.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/text_align.c b/lib/css/src/properties/text_align.c index fec50a06..f94ab70d 100644 --- a/lib/css/src/properties/text_align.c +++ b/lib/css/src/properties/text_align.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/text_align.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/top.c b/lib/css/src/properties/top.c index 48ac55fc..55a3f4e3 100644 --- a/lib/css/src/properties/top.c +++ b/lib/css/src/properties/top.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/top.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/vertical_align.c b/lib/css/src/properties/vertical_align.c index 09f8b38e..590ac9d3 100644 --- a/lib/css/src/properties/vertical_align.c +++ b/lib/css/src/properties/vertical_align.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/vertical_align.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/visibility.c b/lib/css/src/properties/visibility.c index 676eb47d..f322b216 100644 --- a/lib/css/src/properties/visibility.c +++ b/lib/css/src/properties/visibility.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/visibility.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/white_space.c b/lib/css/src/properties/white_space.c index 225dc022..f50d34d1 100644 --- a/lib/css/src/properties/white_space.c +++ b/lib/css/src/properties/white_space.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/white_space.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/width.c b/lib/css/src/properties/width.c index 659c88df..5503dc62 100644 --- a/lib/css/src/properties/width.c +++ b/lib/css/src/properties/width.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/width.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/word_break.c b/lib/css/src/properties/word_break.c index dcb1e13c..6da4bffa 100644 --- a/lib/css/src/properties/word_break.c +++ b/lib/css/src/properties/word_break.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/word_break.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/properties/z_index.c b/lib/css/src/properties/z_index.c index b39d917a..21cc60f1 100644 --- a/lib/css/src/properties/z_index.c +++ b/lib/css/src/properties/z_index.c @@ -1,15 +1,12 @@ /* * lib/css/src/properties/z_index.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../properties.h" diff --git a/lib/css/src/selector.c b/lib/css/src/selector.c index 02eb538d..36faa898 100644 --- a/lib/css/src/selector.c +++ b/lib/css/src/selector.c @@ -1,15 +1,12 @@ /* * lib/css/src/selector.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/style_decl.c b/lib/css/src/style_decl.c index ecb566d0..e2a8ddc5 100644 --- a/lib/css/src/style_decl.c +++ b/lib/css/src/style_decl.c @@ -1,15 +1,12 @@ /* * lib/css/src/style_decl.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/style_parser.c b/lib/css/src/style_parser.c index 0233fee0..3f14e813 100644 --- a/lib/css/src/style_parser.c +++ b/lib/css/src/style_parser.c @@ -1,15 +1,12 @@ /* * lib/css/src/style_parser.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/style_value.c b/lib/css/src/style_value.c index 35c6a96b..df0b0218 100644 --- a/lib/css/src/style_value.c +++ b/lib/css/src/style_value.c @@ -1,15 +1,12 @@ /* * lib/css/src/style_value.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/utils.c b/lib/css/src/utils.c index 7b8af978..3160cfce 100644 --- a/lib/css/src/utils.c +++ b/lib/css/src/utils.c @@ -2,14 +2,11 @@ * lib/css/src/utils.c: -- Parse data from string * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/src/value.c b/lib/css/src/value.c index ce384055..93ae38ae 100644 --- a/lib/css/src/value.c +++ b/lib/css/src/value.c @@ -1,15 +1,12 @@ /* * lib/css/src/value.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ /** diff --git a/lib/css/tests/test.c b/lib/css/tests/test.c index 97156cb1..cb377713 100644 --- a/lib/css/tests/test.c +++ b/lib/css/tests/test.c @@ -1,15 +1,12 @@ /* * lib/css/tests/test.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/tests/test.h b/lib/css/tests/test.h index dfd0b028..aaa24eb6 100644 --- a/lib/css/tests/test.h +++ b/lib/css/tests/test.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void test_css_keywords(void); diff --git a/lib/css/tests/test_css_computed.c b/lib/css/tests/test_css_computed.c index afee4128..b35ad2ca 100644 --- a/lib/css/tests/test_css_computed.c +++ b/lib/css/tests/test_css_computed.c @@ -1,15 +1,12 @@ /* * lib/css/tests/test_css_computed.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/tests/test_css_keywords.c b/lib/css/tests/test_css_keywords.c index 6e73ae6c..6626eccb 100644 --- a/lib/css/tests/test_css_keywords.c +++ b/lib/css/tests/test_css_keywords.c @@ -1,15 +1,12 @@ /* * lib/css/tests/test_css_keywords.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/css/tests/test_css_value.c b/lib/css/tests/test_css_value.c index 8b1bed57..d8a1ebbf 100644 --- a/lib/css/tests/test_css_value.c +++ b/lib/css/tests/test_css_value.c @@ -1,15 +1,12 @@ /* * lib/css/tests/test_css_value.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ctest/include/ctest.h b/lib/ctest/include/ctest.h index e8efae8e..811c3067 100644 --- a/lib/ctest/include/ctest.h +++ b/lib/ctest/include/ctest.h @@ -1,15 +1,12 @@ /* * lib/ctest/include/ctest.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_CTEST_INCLUDE_CTEST_H diff --git a/lib/ctest/src/ctest.c b/lib/ctest/src/ctest.c index 8e36d94e..833acad6 100644 --- a/lib/ctest/src/ctest.c +++ b/lib/ctest/src/ctest.c @@ -1,15 +1,12 @@ /* * lib/ctest/src/ctest.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ctest/tests/main.c b/lib/ctest/tests/main.c index c4ce6120..f9c9d3df 100644 --- a/lib/ctest/tests/main.c +++ b/lib/ctest/tests/main.c @@ -1,15 +1,12 @@ /* * lib/ctest/tests/main.c * - * Copyright (c) 2026, Liu Chao - * All rights reserved. + * Copyright (c) 2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is - * part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT - * file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ctest/tests/test_grep.c b/lib/ctest/tests/test_grep.c index b3fb801e..d2bc5b0a 100644 --- a/lib/ctest/tests/test_grep.c +++ b/lib/ctest/tests/test_grep.c @@ -1,15 +1,12 @@ /* * lib/ctest/tests/test_grep.c * - * Copyright (c) 2026, Liu Chao - * All rights reserved. + * Copyright (c) 2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ctest/tests/test_str.c b/lib/ctest/tests/test_str.c index c86742b0..276c9c50 100644 --- a/lib/ctest/tests/test_str.c +++ b/lib/ctest/tests/test_str.c @@ -1,15 +1,12 @@ /* * lib/ctest/tests/test_str.c * - * Copyright (c) 2026, Liu Chao - * All rights reserved. + * Copyright (c) 2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/i18n/include/i18n.h b/lib/i18n/include/i18n.h index 7686cefe..b1dbbeb0 100644 --- a/lib/i18n/include/i18n.h +++ b/lib/i18n/include/i18n.h @@ -1,12 +1,12 @@ -/* +/* * lib/i18n/include/i18n.h * - * Copyright (c) 2023-2025, Liu Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBI18N_INCLUDE_I18N_H diff --git a/lib/i18n/src/i18n-dict.c b/lib/i18n/src/i18n-dict.c index 2135316e..cf45f594 100644 --- a/lib/i18n/src/i18n-dict.c +++ b/lib/i18n/src/i18n-dict.c @@ -1,15 +1,12 @@ /* * lib/i18n/src/i18n-dict.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "i18n-private.h" diff --git a/lib/i18n/src/i18n-private.h b/lib/i18n/src/i18n-private.h index 9eaccfcf..b00fa31f 100644 --- a/lib/i18n/src/i18n-private.h +++ b/lib/i18n/src/i18n-private.h @@ -1,15 +1,12 @@ /* * lib/i18n/src/i18n-private.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/i18n/src/i18n.c b/lib/i18n/src/i18n.c index 675df346..77cf6c34 100644 --- a/lib/i18n/src/i18n.c +++ b/lib/i18n/src/i18n.c @@ -1,15 +1,12 @@ /* * lib/i18n/src/i18n.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "i18n-private.h" diff --git a/lib/i18n/src/yaml.c b/lib/i18n/src/yaml.c index 3ca593c8..8ea64606 100644 --- a/lib/i18n/src/yaml.c +++ b/lib/i18n/src/yaml.c @@ -1,15 +1,12 @@ /* * lib/i18n/src/yaml.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/i18n/tests/test.c b/lib/i18n/tests/test.c index 37dd67cd..cbad8dd0 100644 --- a/lib/i18n/tests/test.c +++ b/lib/i18n/tests/test.c @@ -1,15 +1,12 @@ /* * lib/i18n/tests/test.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/examples/cairo/src/main.c b/lib/pandagl/examples/cairo/src/main.c index 10b51414..4746e52b 100644 --- a/lib/pandagl/examples/cairo/src/main.c +++ b/lib/pandagl/examples/cairo/src/main.c @@ -1,15 +1,12 @@ /* * lib/pandagl/examples/cairo/src/main.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT - - * * - * This file is part of LCUI, distributed under the MIT License found in - * the - * LICENSE.TXT file in the root directory of this source tree. + * + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/examples/char-render/src/main.c b/lib/pandagl/examples/char-render/src/main.c index cfab1493..adbe74af 100644 --- a/lib/pandagl/examples/char-render/src/main.c +++ b/lib/pandagl/examples/char-render/src/main.c @@ -1,15 +1,12 @@ /* * lib/pandagl/examples/char-render/src/main.c * - * Copyright (c) 2023-2026, - * Liu Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/examples/fill-rect-with-rgba/src/main.c b/lib/pandagl/examples/fill-rect-with-rgba/src/main.c index 771f1dc1..ba5663c6 100644 --- a/lib/pandagl/examples/fill-rect-with-rgba/src/main.c +++ b/lib/pandagl/examples/fill-rect-with-rgba/src/main.c @@ -1,16 +1,12 @@ /* * lib/pandagl/examples/fill-rect-with-rgba/src/main.c * - * Copyright (c) - * 2023-2026, Liu Chao All rights reserved. - * + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed - * under the MIT License found in the - * LICENSE.TXT file in the root directory - * of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/examples/fill-rect/src/main.c b/lib/pandagl/examples/fill-rect/src/main.c index 6a43b440..2bafe09a 100644 --- a/lib/pandagl/examples/fill-rect/src/main.c +++ b/lib/pandagl/examples/fill-rect/src/main.c @@ -1,15 +1,12 @@ /* * lib/pandagl/examples/fill-rect/src/main.c * - * Copyright (c) 2023-2026, - * Liu Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/examples/image-scaling-bench/src/main.c b/lib/pandagl/examples/image-scaling-bench/src/main.c index 72cf61d0..fdbe727f 100644 --- a/lib/pandagl/examples/image-scaling-bench/src/main.c +++ b/lib/pandagl/examples/image-scaling-bench/src/main.c @@ -1,16 +1,12 @@ /* * lib/pandagl/examples/image-scaling-bench/src/main.c * - * Copyright (c) - * 2023-2026, Liu Chao All rights reserved. - * + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed - * under the MIT License found in the - * LICENSE.TXT file in the root directory - * of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/examples/mix-rect-with-opacity/src/main.c b/lib/pandagl/examples/mix-rect-with-opacity/src/main.c index 471ec5e0..5374bd43 100644 --- a/lib/pandagl/examples/mix-rect-with-opacity/src/main.c +++ b/lib/pandagl/examples/mix-rect-with-opacity/src/main.c @@ -1,16 +1,12 @@ /* * lib/pandagl/examples/mix-rect-with-opacity/src/main.c * - * Copyright (c) - * 2023-2026, Liu Chao All rights reserved. - * + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed - * under the MIT License found in the - * LICENSE.TXT file in the root directory - * of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/examples/paint-background/src/main.c b/lib/pandagl/examples/paint-background/src/main.c index ea45015c..c8006309 100644 --- a/lib/pandagl/examples/paint-background/src/main.c +++ b/lib/pandagl/examples/paint-background/src/main.c @@ -1,16 +1,12 @@ /* * lib/pandagl/examples/paint-background/src/main.c * - * Copyright (c) - * 2023-2026, Liu Chao All rights reserved. - * + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed - * under the MIT License found in the - * LICENSE.TXT file in the root directory - * of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/examples/paint-border/src/main.c b/lib/pandagl/examples/paint-border/src/main.c index 8e93d608..d6df892a 100644 --- a/lib/pandagl/examples/paint-border/src/main.c +++ b/lib/pandagl/examples/paint-border/src/main.c @@ -1,16 +1,12 @@ /* * lib/pandagl/examples/paint-border/src/main.c * - * Copyright (c) - * 2023-2026, Liu Chao All rights reserved. - * + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed - * under the MIT License found in the - * LICENSE.TXT file in the root directory - * of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/examples/paint-boxshadow/src/main.c b/lib/pandagl/examples/paint-boxshadow/src/main.c index 94d78bce..d6d18198 100644 --- a/lib/pandagl/examples/paint-boxshadow/src/main.c +++ b/lib/pandagl/examples/paint-boxshadow/src/main.c @@ -1,16 +1,12 @@ /* * lib/pandagl/examples/paint-boxshadow/src/main.c * - * Copyright (c) - * 2023-2026, Liu Chao All rights reserved. - * + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed - * under the MIT License found in the - * LICENSE.TXT file in the root directory - * of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/examples/pixel-manipulation/src/main.c b/lib/pandagl/examples/pixel-manipulation/src/main.c index 6cfefd01..698eb6bb 100644 --- a/lib/pandagl/examples/pixel-manipulation/src/main.c +++ b/lib/pandagl/examples/pixel-manipulation/src/main.c @@ -1,16 +1,12 @@ /* * lib/pandagl/examples/pixel-manipulation/src/main.c * - * Copyright (c) - * 2023-2026, Liu Chao All rights reserved. - * + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed - * under the MIT License found in the - * LICENSE.TXT file in the root directory - * of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/examples/string-render/src/main.c b/lib/pandagl/examples/string-render/src/main.c index 5bcfc7d8..cac1dcc2 100644 --- a/lib/pandagl/examples/string-render/src/main.c +++ b/lib/pandagl/examples/string-render/src/main.c @@ -1,16 +1,12 @@ /* * lib/pandagl/examples/string-render/src/main.c * - * Copyright (c) - * 2023-2026, Liu Chao All rights reserved. - * + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed - * under the MIT License found in the - * LICENSE.TXT file in the root directory - * of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/include/pandagl.h b/lib/pandagl/include/pandagl.h index 5f5a9655..9e9d71c0 100644 --- a/lib/pandagl/include/pandagl.h +++ b/lib/pandagl/include/pandagl.h @@ -1,15 +1,12 @@ /* * lib/pandagl/include/pandagl.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "pandagl/common.h" diff --git a/lib/pandagl/include/pandagl/background.h b/lib/pandagl/include/pandagl/background.h index f17d5faf..e42c4b21 100644 --- a/lib/pandagl/include/pandagl/background.h +++ b/lib/pandagl/include/pandagl/background.h @@ -1,6 +1,17 @@ /* + * lib/pandagl/include/pandagl/background.h + * + * Copyright (c) 2026, Liu Chao All rights reserved. + * + * SPDX-License-Identifier: MIT + * + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. + */ + +/* * lib/pandagl/include/pandagl/background.h: -- Background image draw - * support. + * support. * Copyright (c) 2018-2026, Liu chao All rights * reserved. * diff --git a/lib/pandagl/include/pandagl/border.h b/lib/pandagl/include/pandagl/border.h index 1b3c100f..bae757a2 100644 --- a/lib/pandagl/include/pandagl/border.h +++ b/lib/pandagl/include/pandagl/border.h @@ -2,14 +2,11 @@ * lib/pandagl/include/pandagl/border.h: -- Border drawing * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_INCLUDE_PANDAGL_BORDER_H diff --git a/lib/pandagl/include/pandagl/boxshadow.h b/lib/pandagl/include/pandagl/boxshadow.h index 495e622d..0b837290 100644 --- a/lib/pandagl/include/pandagl/boxshadow.h +++ b/lib/pandagl/include/pandagl/boxshadow.h @@ -2,14 +2,11 @@ * lib/pandagl/include/pandagl/boxshadow.h: -- Box shadow drawing * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_INCLUDE_PANDAGL_BOXSHADOW_H diff --git a/lib/pandagl/include/pandagl/canvas.h b/lib/pandagl/include/pandagl/canvas.h index 738e11b2..057dffda 100644 --- a/lib/pandagl/include/pandagl/canvas.h +++ b/lib/pandagl/include/pandagl/canvas.h @@ -1,15 +1,12 @@ /* * lib/pandagl/include/pandagl/canvas.h * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_INCLUDE_PANDAGL_CANVAS_H diff --git a/lib/pandagl/include/pandagl/color.h b/lib/pandagl/include/pandagl/color.h index 21b6fb83..2c4e74eb 100644 --- a/lib/pandagl/include/pandagl/color.h +++ b/lib/pandagl/include/pandagl/color.h @@ -1,15 +1,12 @@ /* * lib/pandagl/include/pandagl/color.h * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_INCLUDE_PANDAGL_COLOR_H diff --git a/lib/pandagl/include/pandagl/common.h b/lib/pandagl/include/pandagl/common.h index c528113c..a1d3b09e 100644 --- a/lib/pandagl/include/pandagl/common.h +++ b/lib/pandagl/include/pandagl/common.h @@ -1,15 +1,12 @@ /* * lib/pandagl/include/pandagl/common.h * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "config.h" diff --git a/lib/pandagl/include/pandagl/context.h b/lib/pandagl/include/pandagl/context.h index 7e779746..0875268b 100644 --- a/lib/pandagl/include/pandagl/context.h +++ b/lib/pandagl/include/pandagl/context.h @@ -1,15 +1,12 @@ /* * lib/pandagl/include/pandagl/context.h * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_INCLUDE_PANDAGL_CONTEXT_H diff --git a/lib/pandagl/include/pandagl/file_reader.h b/lib/pandagl/include/pandagl/file_reader.h index 69fa1061..8e8d9b35 100644 --- a/lib/pandagl/include/pandagl/file_reader.h +++ b/lib/pandagl/include/pandagl/file_reader.h @@ -1,15 +1,12 @@ /* * lib/pandagl/include/pandagl/file_reader.h * - * Copyright (c) 2024-2026, - * Liu Chao All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_INCLUDE_PANDAGL_FILE_READER_H diff --git a/lib/pandagl/include/pandagl/font.h b/lib/pandagl/include/pandagl/font.h index 9f894c83..1614ef04 100644 --- a/lib/pandagl/include/pandagl/font.h +++ b/lib/pandagl/include/pandagl/font.h @@ -1,15 +1,12 @@ /* * lib/pandagl/include/pandagl/font.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_INCLUDE_FONT_H diff --git a/lib/pandagl/include/pandagl/image.h b/lib/pandagl/include/pandagl/image.h index 1b520cd9..62547b9c 100644 --- a/lib/pandagl/include/pandagl/image.h +++ b/lib/pandagl/include/pandagl/image.h @@ -1,6 +1,17 @@ /* + * lib/pandagl/include/pandagl/image.h + * + * Copyright (c) 2026, Liu Chao All rights reserved. + * + * SPDX-License-Identifier: MIT + * + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. + */ + +/* * lib/pandagl/include/pandagl/image.h: -- Image read and write operations - * set + * set * Copyright (c) 2018-2026, Liu chao All rights * reserved. * diff --git a/lib/pandagl/include/pandagl/line.h b/lib/pandagl/include/pandagl/line.h index 43de79b8..3c086962 100644 --- a/lib/pandagl/include/pandagl/line.h +++ b/lib/pandagl/include/pandagl/line.h @@ -1,15 +1,12 @@ /* * lib/pandagl/include/pandagl/line.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_INCLUDE_PANDAGL_LINE_H diff --git a/lib/pandagl/include/pandagl/pixel.h b/lib/pandagl/include/pandagl/pixel.h index 5e96c53a..31e6c715 100644 --- a/lib/pandagl/include/pandagl/pixel.h +++ b/lib/pandagl/include/pandagl/pixel.h @@ -1,15 +1,12 @@ /* * lib/pandagl/include/pandagl/pixel.h * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_INCLUDE_PANDAGL_PIXEL_H diff --git a/lib/pandagl/include/pandagl/rect.h b/lib/pandagl/include/pandagl/rect.h index 19e60ba0..50688504 100644 --- a/lib/pandagl/include/pandagl/rect.h +++ b/lib/pandagl/include/pandagl/rect.h @@ -1,15 +1,12 @@ /* * lib/pandagl/include/pandagl/rect.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_INCLUDE_PANDAGL_RECT_H diff --git a/lib/pandagl/include/pandagl/text.h b/lib/pandagl/include/pandagl/text.h index 4f692fd4..c0ca0749 100644 --- a/lib/pandagl/include/pandagl/text.h +++ b/lib/pandagl/include/pandagl/text.h @@ -2,14 +2,11 @@ * lib/pandagl/include/pandagl/text.h: -- Text layout and rendering module. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_INCLUDE_PANDAGL_TEXT_H diff --git a/lib/pandagl/include/pandagl/types.h b/lib/pandagl/include/pandagl/types.h index 6b3dd3d8..b6e544ce 100644 --- a/lib/pandagl/include/pandagl/types.h +++ b/lib/pandagl/include/pandagl/types.h @@ -1,15 +1,12 @@ /* * lib/pandagl/include/pandagl/types.h * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_INCLUDE_PANDAGL_TPYES_H diff --git a/lib/pandagl/src/background.c b/lib/pandagl/src/background.c index 1a182764..44cae127 100644 --- a/lib/pandagl/src/background.c +++ b/lib/pandagl/src/background.c @@ -2,14 +2,11 @@ * lib/pandagl/src/background.c: -- canvas background image draw support. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/border.c b/lib/pandagl/src/border.c index 1d6b2814..7ae87efd 100644 --- a/lib/pandagl/src/border.c +++ b/lib/pandagl/src/border.c @@ -2,14 +2,11 @@ * lib/pandagl/src/border.c: -- Border drawing * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/boxshadow.c b/lib/pandagl/src/boxshadow.c index cdbe29db..4bcd1720 100644 --- a/lib/pandagl/src/boxshadow.c +++ b/lib/pandagl/src/boxshadow.c @@ -2,14 +2,11 @@ * lib/pandagl/src/boxshadow.c: -- Box shadow drawing * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ /** diff --git a/lib/pandagl/src/canvas.c b/lib/pandagl/src/canvas.c index 09b34303..a4f92747 100644 --- a/lib/pandagl/src/canvas.c +++ b/lib/pandagl/src/canvas.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/canvas.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/context.c b/lib/pandagl/src/context.c index 2734894d..2da4e047 100644 --- a/lib/pandagl/src/context.c +++ b/lib/pandagl/src/context.c @@ -2,14 +2,11 @@ * lib/pandagl/src/context.c: -- The PandaGL drawing context * * Copyright (c) 2022-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/file_reader.c b/lib/pandagl/src/file_reader.c index a26f176f..94d51557 100644 --- a/lib/pandagl/src/file_reader.c +++ b/lib/pandagl/src/file_reader.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/file_reader.c * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/flip.c b/lib/pandagl/src/flip.c index 8e0d007b..09cfbead 100644 --- a/lib/pandagl/src/flip.c +++ b/lib/pandagl/src/flip.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/flip.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/font/bitmap.c b/lib/pandagl/src/font/bitmap.c index d97302e7..86b56f46 100644 --- a/lib/pandagl/src/font/bitmap.c +++ b/lib/pandagl/src/font/bitmap.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/font/bitmap.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/font/bitmap.h b/lib/pandagl/src/font/bitmap.h index 404d6757..714926be 100644 --- a/lib/pandagl/src/font/bitmap.h +++ b/lib/pandagl/src/font/bitmap.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ /** 初始化字体位图 */ diff --git a/lib/pandagl/src/font/freetype.c b/lib/pandagl/src/font/freetype.c index a4301b98..3af1c3bd 100644 --- a/lib/pandagl/src/font/freetype.c +++ b/lib/pandagl/src/font/freetype.c @@ -1,6 +1,17 @@ /* + * lib/pandagl/src/font/freetype.c + * + * Copyright (c) 2026, Liu Chao All rights reserved. + * + * SPDX-License-Identifier: MIT + * + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. + */ + +/* * lib/pandagl/src/font/freetype.c: -- The FreeType font-engine support - * module. + * module. * Copyright (c) 2018-2026, Liu chao All rights * reserved. * diff --git a/lib/pandagl/src/font/freetype.h b/lib/pandagl/src/font/freetype.h index 931ec62d..ffbb44fe 100644 --- a/lib/pandagl/src/font/freetype.h +++ b/lib/pandagl/src/font/freetype.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ int pd_freetype_engine_init(pd_font_engine_t *engine); diff --git a/lib/pandagl/src/font/inconsolata.c b/lib/pandagl/src/font/inconsolata.c index 468656ed..94bbbd9a 100644 --- a/lib/pandagl/src/font/inconsolata.c +++ b/lib/pandagl/src/font/inconsolata.c @@ -2,14 +2,11 @@ * lib/pandagl/src/font/inconsolata.c: bitmap data of the inconsolata font. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ // TODO: 删除此文件,可考虑由 lcui-cli 提供字体位图到 C 源码的生成功能 diff --git a/lib/pandagl/src/font/inconsolata.h b/lib/pandagl/src/font/inconsolata.h index d4aa4dc3..1abb3b10 100644 --- a/lib/pandagl/src/font/inconsolata.h +++ b/lib/pandagl/src/font/inconsolata.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ int pd_render_inconsolata_font_bitmap(pd_glyph_bitmap_t *bmp, unsigned ch, diff --git a/lib/pandagl/src/font/incore.c b/lib/pandagl/src/font/incore.c index 8a60ac17..c68481e6 100644 --- a/lib/pandagl/src/font/incore.c +++ b/lib/pandagl/src/font/incore.c @@ -2,14 +2,11 @@ * lib/pandagl/src/font/incore.c: -- basic in-core font-engine. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/font/incore.h b/lib/pandagl/src/font/incore.h index cc0d0aee..d94c6099 100644 --- a/lib/pandagl/src/font/incore.h +++ b/lib/pandagl/src/font/incore.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ int pd_incore_font_create(pd_font_engine_t *engine); diff --git a/lib/pandagl/src/font/library.c b/lib/pandagl/src/font/library.c index bfae8092..9477e4d1 100644 --- a/lib/pandagl/src/font/library.c +++ b/lib/pandagl/src/font/library.c @@ -2,14 +2,11 @@ * lib/pandagl/src/font/library.c: -- The font info and font bitmap cache * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/font/library.h b/lib/pandagl/src/font/library.h index 7d542d88..7a68bafe 100644 --- a/lib/pandagl/src/font/library.h +++ b/lib/pandagl/src/font/library.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ pd_font_face_t *pd_font_face_create(const char *family_name, diff --git a/lib/pandagl/src/image/bmp.c b/lib/pandagl/src/image/bmp.c index 19e3bab7..a08729e4 100644 --- a/lib/pandagl/src/image/bmp.c +++ b/lib/pandagl/src/image/bmp.c @@ -2,14 +2,11 @@ * lib/pandagl/src/image/bmp.c: -- LCUI BMP image file processing module. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/image/bmp_private.h b/lib/pandagl/src/image/bmp_private.h index 178990a2..6e29aa6d 100644 --- a/lib/pandagl/src/image/bmp_private.h +++ b/lib/pandagl/src/image/bmp_private.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void pd_bmp_reader_create(pd_image_reader_t *reader); diff --git a/lib/pandagl/src/image/jpeg.c b/lib/pandagl/src/image/jpeg.c index 4c451687..dc2410a8 100644 --- a/lib/pandagl/src/image/jpeg.c +++ b/lib/pandagl/src/image/jpeg.c @@ -2,14 +2,11 @@ * lib/pandagl/src/image/jpeg.c: -- LCUI JPEG image file processing module. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/image/jpeg_private.h b/lib/pandagl/src/image/jpeg_private.h index 4d7a3295..d36e0455 100644 --- a/lib/pandagl/src/image/jpeg_private.h +++ b/lib/pandagl/src/image/jpeg_private.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void pd_jpeg_reader_create(pd_image_reader_t *reader); diff --git a/lib/pandagl/src/image/png.c b/lib/pandagl/src/image/png.c index cbe028dd..d637e558 100644 --- a/lib/pandagl/src/image/png.c +++ b/lib/pandagl/src/image/png.c @@ -2,14 +2,11 @@ * lib/pandagl/src/image/png.c: -- LCUI PNG image file processing module. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/image/png_private.h b/lib/pandagl/src/image/png_private.h index 807557c2..af2edcd4 100644 --- a/lib/pandagl/src/image/png_private.h +++ b/lib/pandagl/src/image/png_private.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void pd_png_reader_create(pd_image_reader_t *reader); diff --git a/lib/pandagl/src/image/reader.c b/lib/pandagl/src/image/reader.c index de461cd9..e61e4f99 100644 --- a/lib/pandagl/src/image/reader.c +++ b/lib/pandagl/src/image/reader.c @@ -2,14 +2,11 @@ * lib/pandagl/src/image/reader.c: -- Image read operations set * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/line.c b/lib/pandagl/src/line.c index 3b652a35..0a70c884 100644 --- a/lib/pandagl/src/line.c +++ b/lib/pandagl/src/line.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/line.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/pixel.c b/lib/pandagl/src/pixel.c index 93efb45b..ad53c6f0 100644 --- a/lib/pandagl/src/pixel.c +++ b/lib/pandagl/src/pixel.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/pixel.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/rect.c b/lib/pandagl/src/rect.c index 197f8c10..5e1b92f4 100644 --- a/lib/pandagl/src/rect.c +++ b/lib/pandagl/src/rect.c @@ -2,14 +2,11 @@ * lib/pandagl/src/rect.c: -- Rectangle area handling * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/text/style.c b/lib/pandagl/src/text/style.c index 8a1c46d3..ec7452e3 100644 --- a/lib/pandagl/src/text/style.c +++ b/lib/pandagl/src/text/style.c @@ -2,14 +2,11 @@ * lib/pandagl/src/text/style.c: -- text style processing module. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/text/style_tag.c b/lib/pandagl/src/text/style_tag.c index ddeed91f..076e3366 100644 --- a/lib/pandagl/src/text/style_tag.c +++ b/lib/pandagl/src/text/style_tag.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/text/style_tag.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/text/text.c b/lib/pandagl/src/text/text.c index ec9aec97..4f07d36c 100644 --- a/lib/pandagl/src/text/text.c +++ b/lib/pandagl/src/text/text.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/text/text.c * - * Copyright (c) 2018-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2018-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/text/text_edit.c b/lib/pandagl/src/text/text_edit.c index 67e9b79c..6c8602ea 100644 --- a/lib/pandagl/src/text/text_edit.c +++ b/lib/pandagl/src/text/text_edit.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/text/text_edit.c * - * Copyright (c) 2018-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2018-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/text/text_internal.h b/lib/pandagl/src/text/text_internal.h index 313cfd0b..0a99ad23 100644 --- a/lib/pandagl/src/text/text_internal.h +++ b/lib/pandagl/src/text/text_internal.h @@ -1,15 +1,12 @@ /* * lib/pandagl/src/text/text_internal.h * - * Copyright (c) 2018-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2018-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_PANDAGL_SRC_TEXT_TEXT_INTERNAL_H diff --git a/lib/pandagl/src/text/text_render.c b/lib/pandagl/src/text/text_render.c index 71810ca0..ac2663d7 100644 --- a/lib/pandagl/src/text/text_render.c +++ b/lib/pandagl/src/text/text_render.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/text/text_render.c * - * Copyright (c) 2018-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2018-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/text/text_typeset.c b/lib/pandagl/src/text/text_typeset.c index b3767fdf..ff6226e5 100644 --- a/lib/pandagl/src/text/text_typeset.c +++ b/lib/pandagl/src/text/text_typeset.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/text/text_typeset.c * - * Copyright (c) 2018-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2018-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/tile.c b/lib/pandagl/src/tile.c index c7599eb3..d015d9c7 100644 --- a/lib/pandagl/src/tile.c +++ b/lib/pandagl/src/tile.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/tile.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/src/zoom.c b/lib/pandagl/src/zoom.c index f2a60c59..ad31577e 100644 --- a/lib/pandagl/src/zoom.c +++ b/lib/pandagl/src/zoom.c @@ -1,15 +1,12 @@ /* * lib/pandagl/src/zoom.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/tests/main.c b/lib/pandagl/tests/main.c index ba0b106b..c52d8402 100644 --- a/lib/pandagl/tests/main.c +++ b/lib/pandagl/tests/main.c @@ -1,15 +1,12 @@ /* * lib/pandagl/tests/main.c * - * Copyright (c) 2026, Liu Chao - * All rights reserved. + * Copyright (c) 2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is - * part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT - * file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/tests/test_canvas_mix.c b/lib/pandagl/tests/test_canvas_mix.c index b58be3fa..12dbd73e 100644 --- a/lib/pandagl/tests/test_canvas_mix.c +++ b/lib/pandagl/tests/test_canvas_mix.c @@ -1,15 +1,12 @@ /* * lib/pandagl/tests/test_canvas_mix.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/tests/test_font_cache.c b/lib/pandagl/tests/test_font_cache.c index 3a56b166..8866f32b 100644 --- a/lib/pandagl/tests/test_font_cache.c +++ b/lib/pandagl/tests/test_font_cache.c @@ -1,15 +1,12 @@ /* * lib/pandagl/tests/test_font_cache.c * - * Copyright (c) 2026, Liu Chao - * All rights reserved. + * Copyright (c) 2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/tests/test_font_load.c b/lib/pandagl/tests/test_font_load.c index 1c6ad5e8..9a007fa6 100644 --- a/lib/pandagl/tests/test_font_load.c +++ b/lib/pandagl/tests/test_font_load.c @@ -1,15 +1,12 @@ /* * lib/pandagl/tests/test_font_load.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/tests/test_image_reader.c b/lib/pandagl/tests/test_image_reader.c index a00ef528..907a3365 100644 --- a/lib/pandagl/tests/test_image_reader.c +++ b/lib/pandagl/tests/test_image_reader.c @@ -1,15 +1,12 @@ /* * lib/pandagl/tests/test_image_reader.c * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/pandagl/tests/test_text_edit.c b/lib/pandagl/tests/test_text_edit.c index 88a3f7fe..9b7dabb4 100644 --- a/lib/pandagl/tests/test_text_edit.c +++ b/lib/pandagl/tests/test_text_edit.c @@ -1,15 +1,12 @@ /* * lib/pandagl/tests/test_text_edit.c * - * Copyright (c) 2026, Liu Chao - * All rights reserved. + * Copyright (c) 2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ptk/include/ptk.h b/lib/ptk/include/ptk.h index acd1a913..7369315e 100644 --- a/lib/ptk/include/ptk.h +++ b/lib/ptk/include/ptk.h @@ -1,15 +1,12 @@ /* * lib/ptk/include/ptk.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef PTK_INCLUDE_PLATFORM_H diff --git a/lib/ptk/include/ptk/app.h b/lib/ptk/include/ptk/app.h index 0f0fabc2..6f13f11b 100644 --- a/lib/ptk/include/ptk/app.h +++ b/lib/ptk/include/ptk/app.h @@ -1,15 +1,12 @@ /* * lib/ptk/include/ptk/app.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef PTK_INCLUDE_PLATFORM_APP_H diff --git a/lib/ptk/include/ptk/clipboard.h b/lib/ptk/include/ptk/clipboard.h index a8cfbaba..3477ab19 100644 --- a/lib/ptk/include/ptk/clipboard.h +++ b/lib/ptk/include/ptk/clipboard.h @@ -1,15 +1,12 @@ /* * lib/ptk/include/ptk/clipboard.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef PTK_INCLUDE_PLATFORM_CLIPBOARD_H diff --git a/lib/ptk/include/ptk/common.h b/lib/ptk/include/ptk/common.h index 8a4bb233..46989d4a 100644 --- a/lib/ptk/include/ptk/common.h +++ b/lib/ptk/include/ptk/common.h @@ -1,15 +1,12 @@ /* * lib/ptk/include/ptk/common.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "config.h" diff --git a/lib/ptk/include/ptk/events.h b/lib/ptk/include/ptk/events.h index 2040abe6..041aa495 100644 --- a/lib/ptk/include/ptk/events.h +++ b/lib/ptk/include/ptk/events.h @@ -1,15 +1,12 @@ /* * lib/ptk/include/ptk/events.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef PTK_INCLUDE_PLATFORM_EVENTS_H diff --git a/lib/ptk/include/ptk/ime.h b/lib/ptk/include/ptk/ime.h index 620f6b74..e2ba83fa 100644 --- a/lib/ptk/include/ptk/ime.h +++ b/lib/ptk/include/ptk/ime.h @@ -1,15 +1,12 @@ /* * lib/ptk/include/ptk/ime.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef PTK_INCLUDE_PLATFORM_IME_H diff --git a/lib/ptk/include/ptk/main.h b/lib/ptk/include/ptk/main.h index 41d3e71b..34b6e8c1 100644 --- a/lib/ptk/include/ptk/main.h +++ b/lib/ptk/include/ptk/main.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifdef _WIN32 diff --git a/lib/ptk/include/ptk/steptimer.h b/lib/ptk/include/ptk/steptimer.h index a447a561..011e912c 100644 --- a/lib/ptk/include/ptk/steptimer.h +++ b/lib/ptk/include/ptk/steptimer.h @@ -1,15 +1,12 @@ /* * lib/ptk/include/ptk/steptimer.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef PTK_INCLUDE_PLATFORM_STEP_TIMER_H diff --git a/lib/ptk/include/ptk/types.h b/lib/ptk/include/ptk/types.h index 424b3e2f..e3085cd8 100644 --- a/lib/ptk/include/ptk/types.h +++ b/lib/ptk/include/ptk/types.h @@ -1,15 +1,12 @@ /* * lib/ptk/include/ptk/types.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef PTK_INCLUDE_PLATFORM_TYPES_H diff --git a/lib/ptk/include/ptk/win32_main.h b/lib/ptk/include/ptk/win32_main.h index 44b239ab..d5ee0586 100644 --- a/lib/ptk/include/ptk/win32_main.h +++ b/lib/ptk/include/ptk/win32_main.h @@ -1,15 +1,12 @@ /* * lib/ptk/include/ptk/win32_main.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIBPLATFORM_INCLUDE_PLATFORM_MAIN_H diff --git a/lib/ptk/include/ptk/window.h b/lib/ptk/include/ptk/window.h index 176a459a..f3d456c1 100644 --- a/lib/ptk/include/ptk/window.h +++ b/lib/ptk/include/ptk/window.h @@ -1,15 +1,12 @@ /* * lib/ptk/include/ptk/window.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef PTK_INCLUDE_PLATFORM_WINDOW_H diff --git a/lib/ptk/src/app.c b/lib/ptk/src/app.c index 24e539f1..c5228103 100644 --- a/lib/ptk/src/app.c +++ b/lib/ptk/src/app.c @@ -1,15 +1,12 @@ /* * lib/ptk/src/app.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is - * part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT - * file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "ptk/app.h" diff --git a/lib/ptk/src/clipboard.c b/lib/ptk/src/clipboard.c index 6f2055a9..8d2ebd2e 100644 --- a/lib/ptk/src/clipboard.c +++ b/lib/ptk/src/clipboard.c @@ -2,14 +2,11 @@ * lib/ptk/src/clipboard.c: -- Clipboard support * * Copyright (c) 2022-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ptk/src/clipboard.h b/lib/ptk/src/clipboard.h index cfb82230..92d2a647 100644 --- a/lib/ptk/src/clipboard.h +++ b/lib/ptk/src/clipboard.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "ptk/clipboard.h" diff --git a/lib/ptk/src/events.c b/lib/ptk/src/events.c index 6a4c5a38..a45c7d64 100644 --- a/lib/ptk/src/events.c +++ b/lib/ptk/src/events.c @@ -1,15 +1,12 @@ /* * lib/ptk/src/events.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ptk/src/events.h b/lib/ptk/src/events.h index c9434713..823d82aa 100644 --- a/lib/ptk/src/events.h +++ b/lib/ptk/src/events.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "ptk/events.h" diff --git a/lib/ptk/src/ime.c b/lib/ptk/src/ime.c index 6bacc1e5..363721ab 100644 --- a/lib/ptk/src/ime.c +++ b/lib/ptk/src/ime.c @@ -1,15 +1,12 @@ /* * lib/ptk/src/ime.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is - * part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT - * file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ptk/src/ime.h b/lib/ptk/src/ime.h index d6d5e133..c24493bf 100644 --- a/lib/ptk/src/ime.h +++ b/lib/ptk/src/ime.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "ptk/ime.h" diff --git a/lib/ptk/src/linux/app.c b/lib/ptk/src/linux/app.c index 9907ba2d..7c3ddb5a 100644 --- a/lib/ptk/src/linux/app.c +++ b/lib/ptk/src/linux/app.c @@ -1,15 +1,12 @@ /* * lib/ptk/src/linux/app.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ptk/src/linux/fbapp.c b/lib/ptk/src/linux/fbapp.c index 4eb2069d..d806d11f 100644 --- a/lib/ptk/src/linux/fbapp.c +++ b/lib/ptk/src/linux/fbapp.c @@ -1,15 +1,12 @@ /* * lib/ptk/src/linux/fbapp.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "ptk.h" diff --git a/lib/ptk/src/linux/fbapp.h b/lib/ptk/src/linux/fbapp.h index 2275d2c4..b5c3863d 100644 --- a/lib/ptk/src/linux/fbapp.h +++ b/lib/ptk/src/linux/fbapp.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "ptk.h" diff --git a/lib/ptk/src/linux/ime.c b/lib/ptk/src/linux/ime.c index 8914eaab..0447c787 100644 --- a/lib/ptk/src/linux/ime.c +++ b/lib/ptk/src/linux/ime.c @@ -2,14 +2,11 @@ * lib/ptk/src/linux/ime.c: -- The input method engine support for linux. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "ptk.h" diff --git a/lib/ptk/src/linux/keyboard.c b/lib/ptk/src/linux/keyboard.c index e5f24ee5..2368cfe3 100644 --- a/lib/ptk/src/linux/keyboard.c +++ b/lib/ptk/src/linux/keyboard.c @@ -2,14 +2,11 @@ * lib/ptk/src/linux/keyboard.c: -- Keyboard support for linux. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "ptk.h" diff --git a/lib/ptk/src/linux/keyboard.h b/lib/ptk/src/linux/keyboard.h index 063e9fc1..8791bc4e 100644 --- a/lib/ptk/src/linux/keyboard.h +++ b/lib/ptk/src/linux/keyboard.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ int ptk_linux_keyboard_init(void); diff --git a/lib/ptk/src/linux/mouse.c b/lib/ptk/src/linux/mouse.c index 20bfa638..1e9565c6 100644 --- a/lib/ptk/src/linux/mouse.c +++ b/lib/ptk/src/linux/mouse.c @@ -2,14 +2,11 @@ * lib/ptk/src/linux/mouse.c: -- Mouse support for linux. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "ptk.h" diff --git a/lib/ptk/src/linux/mouse.h b/lib/ptk/src/linux/mouse.h index d623ac08..e2feca6a 100644 --- a/lib/ptk/src/linux/mouse.h +++ b/lib/ptk/src/linux/mouse.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ int ptk_linux_mouse_init(void); diff --git a/lib/ptk/src/linux/uri.c b/lib/ptk/src/linux/uri.c index 5e16caf9..f5d53883 100644 --- a/lib/ptk/src/linux/uri.c +++ b/lib/ptk/src/linux/uri.c @@ -2,14 +2,11 @@ * lib/ptk/src/linux/uri.c: -- uri processing * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ptk/src/linux/x11app.c b/lib/ptk/src/linux/x11app.c index 4babfb11..3a1b3b72 100644 --- a/lib/ptk/src/linux/x11app.c +++ b/lib/ptk/src/linux/x11app.c @@ -1,15 +1,12 @@ /* * lib/ptk/src/linux/x11app.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ptk/src/linux/x11app.h b/lib/ptk/src/linux/x11app.h index 3226d270..1fc3c2f3 100644 --- a/lib/ptk/src/linux/x11app.h +++ b/lib/ptk/src/linux/x11app.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ptk/src/linux/x11clipboard.c b/lib/ptk/src/linux/x11clipboard.c index 4444a03c..e613a0a9 100644 --- a/lib/ptk/src/linux/x11clipboard.c +++ b/lib/ptk/src/linux/x11clipboard.c @@ -2,14 +2,11 @@ * lib/ptk/src/linux/x11clipboard.c: clipboard support for linux x11 * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ /* diff --git a/lib/ptk/src/linux/x11clipboard.h b/lib/ptk/src/linux/x11clipboard.h index 8662b01e..5106e06f 100644 --- a/lib/ptk/src/linux/x11clipboard.h +++ b/lib/ptk/src/linux/x11clipboard.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "ptk/clipboard.h" diff --git a/lib/ptk/src/steptimer.c b/lib/ptk/src/steptimer.c index c272bae1..a252f35c 100644 --- a/lib/ptk/src/steptimer.c +++ b/lib/ptk/src/steptimer.c @@ -1,15 +1,12 @@ /* * lib/ptk/src/steptimer.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ /** diff --git a/lib/ptk/src/windows/uri.c b/lib/ptk/src/windows/uri.c index f2741f7b..2e73bf77 100644 --- a/lib/ptk/src/windows/uri.c +++ b/lib/ptk/src/windows/uri.c @@ -2,14 +2,11 @@ * lib/ptk/src/windows/uri.c: -- uri processing * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ptk/src/windows/win32app.c b/lib/ptk/src/windows/win32app.c index 135d663b..f1319043 100644 --- a/lib/ptk/src/windows/win32app.c +++ b/lib/ptk/src/windows/win32app.c @@ -1,15 +1,12 @@ /* * lib/ptk/src/windows/win32app.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "ptk/app.h" diff --git a/lib/ptk/src/windows/win32clipboard.c b/lib/ptk/src/windows/win32clipboard.c index 1db42e53..b79a2b19 100644 --- a/lib/ptk/src/windows/win32clipboard.c +++ b/lib/ptk/src/windows/win32clipboard.c @@ -2,14 +2,11 @@ * lib/ptk/src/windows/win32clipboard.c: clipboard support for Windows * * Copyright (c) 2025-2026, Liu Chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ /* diff --git a/lib/ptk/src/windows/win32clipboard.h b/lib/ptk/src/windows/win32clipboard.h index 0b1df4d1..860d8efd 100644 --- a/lib/ptk/src/windows/win32clipboard.h +++ b/lib/ptk/src/windows/win32clipboard.h @@ -1,15 +1,12 @@ /* * lib/ptk/src/windows/win32clipboard.h * - * Copyright (c) 2025-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2025-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef PTK_WIN32CLIPBOARD_H diff --git a/lib/ptk/src/windows/win32ime.c b/lib/ptk/src/windows/win32ime.c index 6b2fa2dd..25582899 100644 --- a/lib/ptk/src/windows/win32ime.c +++ b/lib/ptk/src/windows/win32ime.c @@ -1,15 +1,12 @@ /* * lib/ptk/src/windows/win32ime.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ptk/tests/main.c b/lib/ptk/tests/main.c index b4c5dfeb..13c8a3c4 100644 --- a/lib/ptk/tests/main.c +++ b/lib/ptk/tests/main.c @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ptk/tests/test_steptimer.c b/lib/ptk/tests/test_steptimer.c index 1e145531..4207647f 100644 --- a/lib/ptk/tests/test_steptimer.c +++ b/lib/ptk/tests/test_steptimer.c @@ -1,15 +1,12 @@ /* * lib/ptk/tests/test_steptimer.c * - * Copyright (c) 2026, Liu Chao - * All rights reserved. + * Copyright (c) 2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/router/include/router.h b/lib/router/include/router.h index 2a9ed7a9..dc790dd5 100644 --- a/lib/router/include/router.h +++ b/lib/router/include/router.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/router/include/router/common.h b/lib/router/include/router/common.h index ce3cfdcb..7eb61346 100644 --- a/lib/router/include/router/common.h +++ b/lib/router/include/router/common.h @@ -1,15 +1,12 @@ /* * lib/router/include/router/common.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "version.h" diff --git a/lib/router/include/router/config.h b/lib/router/include/router/config.h index 4b7f5808..8d3dbac7 100644 --- a/lib/router/include/router/config.h +++ b/lib/router/include/router/config.h @@ -1,15 +1,12 @@ /* * lib/router/include/router/config.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_ROUTER_INCLUDE_ROUTER_CONFIG_H diff --git a/lib/router/include/router/history.h b/lib/router/include/router/history.h index 8dc1e33e..0022ed92 100644 --- a/lib/router/include/router/history.h +++ b/lib/router/include/router/history.h @@ -1,15 +1,12 @@ /* * lib/router/include/router/history.h * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_ROUTER_INCLUDE_ROUTER_HISTORY_H diff --git a/lib/router/include/router/location.h b/lib/router/include/router/location.h index 56c78d1a..0cc81bad 100644 --- a/lib/router/include/router/location.h +++ b/lib/router/include/router/location.h @@ -1,15 +1,12 @@ /* * lib/router/include/router/location.h * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_ROUTER_INCLUDE_ROUTER_LOCATION_H diff --git a/lib/router/include/router/matcher.h b/lib/router/include/router/matcher.h index 5a997bf7..94dcd80e 100644 --- a/lib/router/include/router/matcher.h +++ b/lib/router/include/router/matcher.h @@ -1,15 +1,12 @@ /* * lib/router/include/router/matcher.h * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_ROUTER_INCLUDE_ROUTER_MATCHER_H diff --git a/lib/router/include/router/route.h b/lib/router/include/router/route.h index da77d29f..8a5c3be5 100644 --- a/lib/router/include/router/route.h +++ b/lib/router/include/router/route.h @@ -1,15 +1,12 @@ /* * lib/router/include/router/route.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_ROUTER_INCLUDE_ROUTER_ROUTE_H diff --git a/lib/router/include/router/route_record.h b/lib/router/include/router/route_record.h index 65f22f2e..0d374553 100644 --- a/lib/router/include/router/route_record.h +++ b/lib/router/include/router/route_record.h @@ -1,15 +1,12 @@ /* * lib/router/include/router/route_record.h * - * Copyright (c) 2023-2026, - * Liu Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_ROUTER_INCLUDE_ROUTER_ROUTE_RECORD_H diff --git a/lib/router/include/router/router.h b/lib/router/include/router/router.h index 622fd0ff..c8bc2a05 100644 --- a/lib/router/include/router/router.h +++ b/lib/router/include/router/router.h @@ -1,15 +1,12 @@ /* * lib/router/include/router/router.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_ROUTER_INCLUDE_ROUTER_ROUTER_H diff --git a/lib/router/include/router/strmap.h b/lib/router/include/router/strmap.h index 52a0ffab..af3bd959 100644 --- a/lib/router/include/router/strmap.h +++ b/lib/router/include/router/strmap.h @@ -1,15 +1,12 @@ /* * lib/router/include/router/strmap.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_ROUTER_INCLUDE_ROUTER_STRMAP_H diff --git a/lib/router/include/router/types.h b/lib/router/include/router/types.h index 0f8e0ded..2fda21b2 100644 --- a/lib/router/include/router/types.h +++ b/lib/router/include/router/types.h @@ -1,15 +1,12 @@ /* * lib/router/include/router/types.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_ROUTER_INCLUDE_ROUTER_TYPES_H diff --git a/lib/router/include/router/utils.h b/lib/router/include/router/utils.h index b5c994c4..d33a33b0 100644 --- a/lib/router/include/router/utils.h +++ b/lib/router/include/router/utils.h @@ -1,15 +1,12 @@ /* * lib/router/include/router/utils.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_ROUTER_INCLUDE_ROUTER_UTILS_H diff --git a/lib/router/include/router/version.h b/lib/router/include/router/version.h index 48cf575b..889500d8 100644 --- a/lib/router/include/router/version.h +++ b/lib/router/include/router/version.h @@ -1,12 +1,12 @@ -/* +/* * lib/router/include/router/version.h * - * Copyright (c) 2023-2025, Liu Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #define LIBROUTER_VERSION "0.1.0-a" diff --git a/lib/router/src/config.c b/lib/router/src/config.c index d564a498..29f5d3d5 100644 --- a/lib/router/src/config.c +++ b/lib/router/src/config.c @@ -1,15 +1,12 @@ /* * lib/router/src/config.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "private.h" diff --git a/lib/router/src/history.c b/lib/router/src/history.c index a3d5ebd8..af1386ae 100644 --- a/lib/router/src/history.c +++ b/lib/router/src/history.c @@ -1,15 +1,12 @@ /* * lib/router/src/history.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "private.h" diff --git a/lib/router/src/location.c b/lib/router/src/location.c index 971abd6f..0d588b68 100644 --- a/lib/router/src/location.c +++ b/lib/router/src/location.c @@ -1,15 +1,12 @@ /* * lib/router/src/location.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "private.h" diff --git a/lib/router/src/matcher.c b/lib/router/src/matcher.c index 403e86a8..13a22cad 100644 --- a/lib/router/src/matcher.c +++ b/lib/router/src/matcher.c @@ -1,15 +1,12 @@ /* * lib/router/src/matcher.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "private.h" diff --git a/lib/router/src/private.h b/lib/router/src/private.h index e87eba3d..cc3fe695 100644 --- a/lib/router/src/private.h +++ b/lib/router/src/private.h @@ -1,15 +1,12 @@ /* * lib/router/src/private.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef ROUTER_PRIVATE_H diff --git a/lib/router/src/route.c b/lib/router/src/route.c index c3562b76..67af27d2 100644 --- a/lib/router/src/route.c +++ b/lib/router/src/route.c @@ -1,15 +1,12 @@ /* * lib/router/src/route.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "private.h" diff --git a/lib/router/src/route_record.c b/lib/router/src/route_record.c index 0d7bd72f..85b9e77a 100644 --- a/lib/router/src/route_record.c +++ b/lib/router/src/route_record.c @@ -1,15 +1,12 @@ /* * lib/router/src/route_record.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "private.h" diff --git a/lib/router/src/router.c b/lib/router/src/router.c index ff6bc511..56301ea3 100644 --- a/lib/router/src/router.c +++ b/lib/router/src/router.c @@ -1,15 +1,12 @@ /* * lib/router/src/router.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "private.h" diff --git a/lib/router/src/strmap.c b/lib/router/src/strmap.c index d2364ba6..7920345e 100644 --- a/lib/router/src/strmap.c +++ b/lib/router/src/strmap.c @@ -1,15 +1,12 @@ /* * lib/router/src/strmap.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "private.h" diff --git a/lib/router/src/utils.c b/lib/router/src/utils.c index d0d61265..4556a93a 100644 --- a/lib/router/src/utils.c +++ b/lib/router/src/utils.c @@ -1,15 +1,12 @@ /* * lib/router/src/utils.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "private.h" diff --git a/lib/router/tests/test.c b/lib/router/tests/test.c index 82fbdd3f..e49ea46b 100644 --- a/lib/router/tests/test.c +++ b/lib/router/tests/test.c @@ -1,15 +1,12 @@ /* * lib/router/tests/test.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "../src/private.h" diff --git a/lib/thread/include/thread.h b/lib/thread/include/thread.h index 8daf8b25..3fdd4ee7 100644 --- a/lib/thread/include/thread.h +++ b/lib/thread/include/thread.h @@ -1,12 +1,12 @@ -/* +/* * lib/thread/include/thread.h: -- basic thread management * - * Copyright (c) 2018-2025, Liu chao All rights reserved. + * Copyright (c) 2018-2026, Liu chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_THREAD_INCLUDE_THREAD_H diff --git a/lib/thread/src/pthread.c b/lib/thread/src/pthread.c index 4b87c4cf..f15fd075 100644 --- a/lib/thread/src/pthread.c +++ b/lib/thread/src/pthread.c @@ -1,15 +1,12 @@ /* * lib/thread/src/pthread.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef _WIN32 diff --git a/lib/thread/src/windows.c b/lib/thread/src/windows.c index af48fb7f..794fcbbb 100644 --- a/lib/thread/src/windows.c +++ b/lib/thread/src/windows.c @@ -1,15 +1,12 @@ /* * lib/thread/src/windows.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifdef _WIN32 diff --git a/lib/thread/tests/main.c b/lib/thread/tests/main.c index 61c72f2d..21764be3 100644 --- a/lib/thread/tests/main.c +++ b/lib/thread/tests/main.c @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/thread/tests/test_thread.c b/lib/thread/tests/test_thread.c index 71e26d58..befeba2b 100644 --- a/lib/thread/tests/test_thread.c +++ b/lib/thread/tests/test_thread.c @@ -1,15 +1,12 @@ /* * lib/thread/tests/test_thread.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui-cursor/include/ui_cursor.h b/lib/ui-cursor/include/ui_cursor.h index 6b67e5a1..cd2aeb2d 100644 --- a/lib/ui-cursor/include/ui_cursor.h +++ b/lib/ui-cursor/include/ui_cursor.h @@ -1,15 +1,12 @@ /* * lib/ui-cursor/include/ui_cursor.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_CURSOR_INCLUDE_UI_CURSOR_H diff --git a/lib/ui-cursor/include/ui_cursor/common.h b/lib/ui-cursor/include/ui_cursor/common.h index 7fa9242d..c6d12358 100644 --- a/lib/ui-cursor/include/ui_cursor/common.h +++ b/lib/ui-cursor/include/ui_cursor/common.h @@ -1,15 +1,12 @@ /* * lib/ui-cursor/include/ui_cursor/common.h * - * Copyright (c) 2023-2026, - * Liu Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "config.h" diff --git a/lib/ui-cursor/src/cursor.c b/lib/ui-cursor/src/cursor.c index b99de434..6847daa5 100644 --- a/lib/ui-cursor/src/cursor.c +++ b/lib/ui-cursor/src/cursor.c @@ -1,15 +1,12 @@ /* * lib/ui-cursor/src/cursor.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui-router/include/ui_router.h b/lib/ui-router/include/ui_router.h index ccbe2b26..faa0afed 100644 --- a/lib/ui-router/include/ui_router.h +++ b/lib/ui-router/include/ui_router.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_ROUTER_INCLUDE_UI_ROUTER_H diff --git a/lib/ui-router/include/ui_router/common.h b/lib/ui-router/include/ui_router/common.h index e4363a57..92821add 100644 --- a/lib/ui-router/include/ui_router/common.h +++ b/lib/ui-router/include/ui_router/common.h @@ -1,15 +1,12 @@ /* * lib/ui-router/include/ui_router/common.h * - * Copyright (c) 2023-2026, - * Liu Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "config.h" diff --git a/lib/ui-router/include/ui_router/link.h b/lib/ui-router/include/ui_router/link.h index f8809289..8a1ac3b2 100644 --- a/lib/ui-router/include/ui_router/link.h +++ b/lib/ui-router/include/ui_router/link.h @@ -1,15 +1,12 @@ /* * lib/ui-router/include/ui_router/link.h * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_ROUTER_INCLUDE_LINK_H diff --git a/lib/ui-router/include/ui_router/view.h b/lib/ui-router/include/ui_router/view.h index a46ebb0c..4faa53c4 100644 --- a/lib/ui-router/include/ui_router/view.h +++ b/lib/ui-router/include/ui_router/view.h @@ -1,15 +1,12 @@ /* * lib/ui-router/include/ui_router/view.h * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_ROUTER_INCLUDE_VIEW_H diff --git a/lib/ui-router/src/link.c b/lib/ui-router/src/link.c index be2afcce..92dabced 100644 --- a/lib/ui-router/src/link.c +++ b/lib/ui-router/src/link.c @@ -1,15 +1,12 @@ /* * lib/ui-router/src/link.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui-router/src/view.c b/lib/ui-router/src/view.c index 490f1f86..120193c5 100644 --- a/lib/ui-router/src/view.c +++ b/lib/ui-router/src/view.c @@ -1,15 +1,12 @@ /* * lib/ui-router/src/view.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui-server/include/ui_server.h b/lib/ui-server/include/ui_server.h index 539bca9f..bedd0c7c 100644 --- a/lib/ui-server/include/ui_server.h +++ b/lib/ui-server/include/ui_server.h @@ -1,15 +1,12 @@ /* * lib/ui-server/include/ui_server.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_SERVER_INCLUDE_UI_SERVER_H diff --git a/lib/ui-server/include/ui_server/common.h b/lib/ui-server/include/ui_server/common.h index d852ba08..34e2ba4e 100644 --- a/lib/ui-server/include/ui_server/common.h +++ b/lib/ui-server/include/ui_server/common.h @@ -1,15 +1,12 @@ /* * lib/ui-server/include/ui_server/common.h * - * Copyright (c) 2023-2026, - * Liu Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "config.h" diff --git a/lib/ui-server/src/server.c b/lib/ui-server/src/server.c index 1e9ba033..78c62cbc 100644 --- a/lib/ui-server/src/server.c +++ b/lib/ui-server/src/server.c @@ -1,15 +1,12 @@ /* * lib/ui-server/src/server.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui-xml/include/ui_xml.h b/lib/ui-xml/include/ui_xml.h index 731cced0..d67dfc22 100644 --- a/lib/ui-xml/include/ui_xml.h +++ b/lib/ui-xml/include/ui_xml.h @@ -1,6 +1,17 @@ /* + * lib/ui-xml/include/ui_xml.h + * + * Copyright (c) 2026, Liu Chao All rights reserved. + * + * SPDX-License-Identifier: MIT + * + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. + */ + +/* * lib/ui-xml/include/ui_xml.h: -- The GUI build module, parse UI config code - * and build UI. + * and build UI. * Copyright (c) 2018-2026, Liu chao All * rights reserved. * diff --git a/lib/ui-xml/include/ui_xml/common.h b/lib/ui-xml/include/ui_xml/common.h index b424c2c2..0547f3ed 100644 --- a/lib/ui-xml/include/ui_xml/common.h +++ b/lib/ui-xml/include/ui_xml/common.h @@ -1,15 +1,12 @@ /* * lib/ui-xml/include/ui_xml/common.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "config.h" diff --git a/lib/ui-xml/src/ui_xml.c b/lib/ui-xml/src/ui_xml.c index cbde5926..076d93b9 100644 --- a/lib/ui-xml/src/ui_xml.c +++ b/lib/ui-xml/src/ui_xml.c @@ -1,6 +1,17 @@ /* + * lib/ui-xml/src/ui_xml.c + * + * Copyright (c) 2026, Liu Chao All rights reserved. + * + * SPDX-License-Identifier: MIT + * + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. + */ + +/* * lib/ui-xml/src/ui_xml.c: -- the GUI build module, parse UI config code and - * build UI. + * build UI. * Copyright (c) 2018-2026, Liu chao All rights * reserved. * diff --git a/lib/ui-xml/tests/main.c b/lib/ui-xml/tests/main.c index 0d402e9a..78db2045 100644 --- a/lib/ui-xml/tests/main.c +++ b/lib/ui-xml/tests/main.c @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui-xml/tests/test_xml_parser.c b/lib/ui-xml/tests/test_xml_parser.c index fa1efcf9..211a43ff 100644 --- a/lib/ui-xml/tests/test_xml_parser.c +++ b/lib/ui-xml/tests/test_xml_parser.c @@ -1,15 +1,12 @@ /* * lib/ui-xml/tests/test_xml_parser.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/include/ui.h b/lib/ui/include/ui.h index 31f95372..4e8f8472 100644 --- a/lib/ui/include/ui.h +++ b/lib/ui/include/ui.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_H diff --git a/lib/ui/include/ui/base.h b/lib/ui/include/ui/base.h index 9ab61d29..3c22aa08 100644 --- a/lib/ui/include/ui/base.h +++ b/lib/ui/include/ui/base.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/base.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_BASE_H diff --git a/lib/ui/include/ui/common.h b/lib/ui/include/ui/common.h index 58fdf885..140c0e50 100644 --- a/lib/ui/include/ui/common.h +++ b/lib/ui/include/ui/common.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/common.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_COMMON_H diff --git a/lib/ui/include/ui/css.h b/lib/ui/include/ui/css.h index 9beaa6b2..b10950b3 100644 --- a/lib/ui/include/ui/css.h +++ b/lib/ui/include/ui/css.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/css.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_CSS_H diff --git a/lib/ui/include/ui/events.h b/lib/ui/include/ui/events.h index e21527e5..13a57349 100644 --- a/lib/ui/include/ui/events.h +++ b/lib/ui/include/ui/events.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/events.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_EVENTS_H diff --git a/lib/ui/include/ui/hash.h b/lib/ui/include/ui/hash.h index 74df6d5e..ca7da1ea 100644 --- a/lib/ui/include/ui/hash.h +++ b/lib/ui/include/ui/hash.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/hash.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_HASH_H diff --git a/lib/ui/include/ui/image.h b/lib/ui/include/ui/image.h index 0a58e248..bcc3d1ed 100644 --- a/lib/ui/include/ui/image.h +++ b/lib/ui/include/ui/image.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/image.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_IMAGE_H diff --git a/lib/ui/include/ui/logger.h b/lib/ui/include/ui/logger.h index 92a0b62f..48448ecd 100644 --- a/lib/ui/include/ui/logger.h +++ b/lib/ui/include/ui/logger.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/logger.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_LOGGER_H diff --git a/lib/ui/include/ui/metrics.h b/lib/ui/include/ui/metrics.h index 5d4ea8fb..4588f29e 100644 --- a/lib/ui/include/ui/metrics.h +++ b/lib/ui/include/ui/metrics.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/metrics.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_METRICS_H diff --git a/lib/ui/include/ui/mutation_observer.h b/lib/ui/include/ui/mutation_observer.h index 6da2b85a..a07a313a 100644 --- a/lib/ui/include/ui/mutation_observer.h +++ b/lib/ui/include/ui/mutation_observer.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/mutation_observer.h * - * Copyright (c) 2023-2026, Liu - * Chao All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * - * SPDX-License-Identifier: - * MIT + * SPDX-License-Identifier: MIT * * This file is part of LCUI, distributed under the MIT License found - * in the - * LICENSE.TXT file in the root directory of this source tree. + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_MUTATION_OBSERVER_H diff --git a/lib/ui/include/ui/prototype.h b/lib/ui/include/ui/prototype.h index 5408e1a7..74616e12 100644 --- a/lib/ui/include/ui/prototype.h +++ b/lib/ui/include/ui/prototype.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/prototype.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_PROTOTYPE_H diff --git a/lib/ui/include/ui/rect.h b/lib/ui/include/ui/rect.h index b2503053..25a13245 100644 --- a/lib/ui/include/ui/rect.h +++ b/lib/ui/include/ui/rect.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/rect.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_RECT_H diff --git a/lib/ui/include/ui/style.h b/lib/ui/include/ui/style.h index e223ba12..f60e663a 100644 --- a/lib/ui/include/ui/style.h +++ b/lib/ui/include/ui/style.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/style.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_STYLE_H diff --git a/lib/ui/include/ui/text_style.h b/lib/ui/include/ui/text_style.h index 8a491438..02a433bc 100644 --- a/lib/ui/include/ui/text_style.h +++ b/lib/ui/include/ui/text_style.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/text_style.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_TEXT_STYLE_H diff --git a/lib/ui/include/ui/types.h b/lib/ui/include/ui/types.h index c72e88f7..4769e3d4 100644 --- a/lib/ui/include/ui/types.h +++ b/lib/ui/include/ui/types.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/types.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_TPYES_H diff --git a/lib/ui/include/ui/updater.h b/lib/ui/include/ui/updater.h index c3f3be06..6f3b9014 100644 --- a/lib/ui/include/ui/updater.h +++ b/lib/ui/include/ui/updater.h @@ -1,15 +1,12 @@ /* * lib/ui/include/ui/updater.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_UI_INCLUDE_UI_UPDATER_H diff --git a/lib/ui/src/ui.c b/lib/ui/src/ui.c index cb3e931d..7545eb1b 100644 --- a/lib/ui/src/ui.c +++ b/lib/ui/src/ui.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is - * part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT - * file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_block_layout.c b/lib/ui/src/ui_block_layout.c index 913bbb80..0bc5f803 100644 --- a/lib/ui/src/ui_block_layout.c +++ b/lib/ui/src/ui_block_layout.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_block_layout.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ // #define UI_DEBUG_ENABLED diff --git a/lib/ui/src/ui_block_layout.h b/lib/ui/src/ui_block_layout.h index f7bcca29..a0f535da 100644 --- a/lib/ui/src/ui_block_layout.h +++ b/lib/ui/src/ui_block_layout.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_block_layout_reflow(ui_widget_t *w, ui_resizer_t *resizer); diff --git a/lib/ui/src/ui_css.c b/lib/ui/src/ui_css.c index 41fe6775..8fb91dbe 100644 --- a/lib/ui/src/ui_css.c +++ b/lib/ui/src/ui_css.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_css.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_css.h b/lib/ui/src/ui_css.h index c1eeeca1..0304c7c5 100644 --- a/lib/ui/src/ui_css.h +++ b/lib/ui/src/ui_css.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_init_css(void); diff --git a/lib/ui/src/ui_debug.c b/lib/ui/src/ui_debug.c index 2268c5b2..17f44b12 100644 --- a/lib/ui/src/ui_debug.c +++ b/lib/ui/src/ui_debug.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_debug.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_debug.h b/lib/ui/src/ui_debug.h index 73d539ed..503d108c 100644 --- a/lib/ui/src/ui_debug.h +++ b/lib/ui/src/ui_debug.h @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_debug.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_widget_to_string(ui_widget_t *w, char *str); diff --git a/lib/ui/src/ui_diff.c b/lib/ui/src/ui_diff.c index 275bf686..301c0606 100644 --- a/lib/ui/src/ui_diff.c +++ b/lib/ui/src/ui_diff.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_diff.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ // #define UI_DEBUG_ENABLED diff --git a/lib/ui/src/ui_diff.h b/lib/ui/src/ui_diff.h index 08421644..1664ece5 100644 --- a/lib/ui/src/ui_diff.h +++ b/lib/ui/src/ui_diff.h @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_diff.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ typedef struct ui_diff_item { diff --git a/lib/ui/src/ui_events.c b/lib/ui/src/ui_events.c index 2ebe2bff..411c87d8 100644 --- a/lib/ui/src/ui_events.c +++ b/lib/ui/src/ui_events.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_events.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_events.h b/lib/ui/src/ui_events.h index 865aa700..708f890e 100644 --- a/lib/ui/src/ui_events.h +++ b/lib/ui/src/ui_events.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_widget_destroy_listeners(ui_widget_t *w); diff --git a/lib/ui/src/ui_flexbox_layout.c b/lib/ui/src/ui_flexbox_layout.c index 88f4e5fe..b1165190 100644 --- a/lib/ui/src/ui_flexbox_layout.c +++ b/lib/ui/src/ui_flexbox_layout.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_flexbox_layout.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ /** diff --git a/lib/ui/src/ui_flexbox_layout.h b/lib/ui/src/ui_flexbox_layout.h index 6a687d83..d4ee6555 100644 --- a/lib/ui/src/ui_flexbox_layout.h +++ b/lib/ui/src/ui_flexbox_layout.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_flexbox_layout_reflow(ui_widget_t *w, ui_resizer_t *resizer); diff --git a/lib/ui/src/ui_image.c b/lib/ui/src/ui_image.c index 0275347b..04521757 100644 --- a/lib/ui/src/ui_image.c +++ b/lib/ui/src/ui_image.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_image.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_image.h b/lib/ui/src/ui_image.h index a0eabe3f..ba3717df 100644 --- a/lib/ui/src/ui_image.h +++ b/lib/ui/src/ui_image.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_init_image_loader(void); diff --git a/lib/ui/src/ui_logger.c b/lib/ui/src/ui_logger.c index 69d85a5f..b678b238 100644 --- a/lib/ui/src/ui_logger.c +++ b/lib/ui/src/ui_logger.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_logger.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_metrics.c b/lib/ui/src/ui_metrics.c index 20d9f461..bb5547e0 100644 --- a/lib/ui/src/ui_metrics.c +++ b/lib/ui/src/ui_metrics.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_metrics.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_mutation_observer.c b/lib/ui/src/ui_mutation_observer.c index 77d9b20d..3a45d555 100644 --- a/lib/ui/src/ui_mutation_observer.c +++ b/lib/ui/src/ui_mutation_observer.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_mutation_observer.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_mutation_observer.h b/lib/ui/src/ui_mutation_observer.h index 5ca0013b..ea8fea26 100644 --- a/lib/ui/src/ui_mutation_observer.h +++ b/lib/ui/src/ui_mutation_observer.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ typedef struct ui_mutation_connection { diff --git a/lib/ui/src/ui_rect.c b/lib/ui/src/ui_rect.c index 6adccc09..eef44947 100644 --- a/lib/ui/src/ui_rect.c +++ b/lib/ui/src/ui_rect.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_rect.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_renderer.c b/lib/ui/src/ui_renderer.c index 3b070f0f..b076fcba 100644 --- a/lib/ui/src/ui_renderer.c +++ b/lib/ui/src/ui_renderer.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_renderer.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_resizer.c b/lib/ui/src/ui_resizer.c index f8ec12ab..09a8decb 100644 --- a/lib/ui/src/ui_resizer.c +++ b/lib/ui/src/ui_resizer.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_resizer.c * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_resizer.h b/lib/ui/src/ui_resizer.h index dca80d8a..ef9df21f 100644 --- a/lib/ui/src/ui_resizer.h +++ b/lib/ui/src/ui_resizer.h @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_resizer.h * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_root.c b/lib/ui/src/ui_root.c index df07fbe6..1313d4b0 100644 --- a/lib/ui/src/ui_root.c +++ b/lib/ui/src/ui_root.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_root.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_root.h b/lib/ui/src/ui_root.h index 75dc353c..b64eaed8 100644 --- a/lib/ui/src/ui_root.h +++ b/lib/ui/src/ui_root.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_init_root(void); diff --git a/lib/ui/src/ui_text_style.c b/lib/ui/src/ui_text_style.c index 8dbd586c..7b98d10a 100644 --- a/lib/ui/src/ui_text_style.c +++ b/lib/ui/src/ui_text_style.c @@ -2,14 +2,11 @@ * lib/ui/src/ui_text_style.c: -- CSS font style parse and operation set. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_tree.c b/lib/ui/src/ui_tree.c index ba946272..cbff4bb9 100644 --- a/lib/ui/src/ui_tree.c +++ b/lib/ui/src/ui_tree.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_tree.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_updater.c b/lib/ui/src/ui_updater.c index d17cbb7c..ed79bca6 100644 --- a/lib/ui/src/ui_updater.c +++ b/lib/ui/src/ui_updater.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_updater.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ // #define UI_DEBUG_ENABLED diff --git a/lib/ui/src/ui_updater.h b/lib/ui/src/ui_updater.h index 42c39e5e..f6a94bb1 100644 --- a/lib/ui/src/ui_updater.h +++ b/lib/ui/src/ui_updater.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_init_updater(void); diff --git a/lib/ui/src/ui_widget.c b/lib/ui/src/ui_widget.c index 10c815d0..eff45633 100644 --- a/lib/ui/src/ui_widget.c +++ b/lib/ui/src/ui_widget.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget.h b/lib/ui/src/ui_widget.h index 3af3cc15..ff00ebea 100644 --- a/lib/ui/src/ui_widget.h +++ b/lib/ui/src/ui_widget.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_widget_add_state(ui_widget_t *w, ui_widget_state_t state); diff --git a/lib/ui/src/ui_widget_attributes.c b/lib/ui/src/ui_widget_attributes.c index e1722dab..ff1700d1 100644 --- a/lib/ui/src/ui_widget_attributes.c +++ b/lib/ui/src/ui_widget_attributes.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_attributes.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget_attributes.h b/lib/ui/src/ui_widget_attributes.h index 4624458d..e21bff9b 100644 --- a/lib/ui/src/ui_widget_attributes.h +++ b/lib/ui/src/ui_widget_attributes.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_widget_destroy_attrs(ui_widget_t *w); diff --git a/lib/ui/src/ui_widget_background.c b/lib/ui/src/ui_widget_background.c index 48f00239..476bc5d7 100644 --- a/lib/ui/src/ui_widget_background.c +++ b/lib/ui/src/ui_widget_background.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_background.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget_background.h b/lib/ui/src/ui_widget_background.h index 9095ee8b..ce3f0ebc 100644 --- a/lib/ui/src/ui_widget_background.h +++ b/lib/ui/src/ui_widget_background.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_widget_paint_background(ui_widget_t *w, pd_context_t *paint, diff --git a/lib/ui/src/ui_widget_border.c b/lib/ui/src/ui_widget_border.c index 8142a27c..020bb4ce 100644 --- a/lib/ui/src/ui_widget_border.c +++ b/lib/ui/src/ui_widget_border.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_border.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget_border.h b/lib/ui/src/ui_widget_border.h index 06033c98..a67d58a2 100644 --- a/lib/ui/src/ui_widget_border.h +++ b/lib/ui/src/ui_widget_border.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_widget_paint_border(ui_widget_t *w, pd_context_t *paint, diff --git a/lib/ui/src/ui_widget_box_shadow.c b/lib/ui/src/ui_widget_box_shadow.c index af577ad6..9a239570 100644 --- a/lib/ui/src/ui_widget_box_shadow.c +++ b/lib/ui/src/ui_widget_box_shadow.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_box_shadow.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget_box_shadow.h b/lib/ui/src/ui_widget_box_shadow.h index ae8300c1..e6c8c22d 100644 --- a/lib/ui/src/ui_widget_box_shadow.h +++ b/lib/ui/src/ui_widget_box_shadow.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_widget_paint_box_shadow(ui_widget_t *w, pd_context_t *paint, diff --git a/lib/ui/src/ui_widget_classes.c b/lib/ui/src/ui_widget_classes.c index 8c80d193..37d16d78 100644 --- a/lib/ui/src/ui_widget_classes.c +++ b/lib/ui/src/ui_widget_classes.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_classes.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget_classes.h b/lib/ui/src/ui_widget_classes.h index b49844d4..511dc403 100644 --- a/lib/ui/src/ui_widget_classes.h +++ b/lib/ui/src/ui_widget_classes.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_widget_destroy_classes(ui_widget_t *w); diff --git a/lib/ui/src/ui_widget_hash.c b/lib/ui/src/ui_widget_hash.c index b44520aa..9cfd2290 100644 --- a/lib/ui/src/ui_widget_hash.c +++ b/lib/ui/src/ui_widget_hash.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_hash.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget_helper.c b/lib/ui/src/ui_widget_helper.c index 174a3940..7acb56cd 100644 --- a/lib/ui/src/ui_widget_helper.c +++ b/lib/ui/src/ui_widget_helper.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_helper.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget_id.c b/lib/ui/src/ui_widget_id.c index b85d2abc..eedc555e 100644 --- a/lib/ui/src/ui_widget_id.c +++ b/lib/ui/src/ui_widget_id.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_id.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget_id.h b/lib/ui/src/ui_widget_id.h index ec43f1c0..4ff35835 100644 --- a/lib/ui/src/ui_widget_id.h +++ b/lib/ui/src/ui_widget_id.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ int ui_widget_destroy_id(ui_widget_t *w); diff --git a/lib/ui/src/ui_widget_layout.c b/lib/ui/src/ui_widget_layout.c index e7cdfd08..687a4f4d 100644 --- a/lib/ui/src/ui_widget_layout.c +++ b/lib/ui/src/ui_widget_layout.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_layout.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ // #define UI_DEBUG_ENABLED diff --git a/lib/ui/src/ui_widget_layout.h b/lib/ui/src/ui_widget_layout.h index ae8e18d5..7300df90 100644 --- a/lib/ui/src/ui_widget_layout.h +++ b/lib/ui/src/ui_widget_layout.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_widget_reflow_with_resizer(ui_widget_t *w, ui_resizer_t *resizer); diff --git a/lib/ui/src/ui_widget_observer.c b/lib/ui/src/ui_widget_observer.c index 9232c88a..02c18257 100644 --- a/lib/ui/src/ui_widget_observer.c +++ b/lib/ui/src/ui_widget_observer.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_observer.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget_observer.h b/lib/ui/src/ui_widget_observer.h index 6461c63e..75d713a7 100644 --- a/lib/ui/src/ui_widget_observer.h +++ b/lib/ui/src/ui_widget_observer.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ bool ui_widget_has_observer(ui_widget_t *widget, diff --git a/lib/ui/src/ui_widget_prototype.c b/lib/ui/src/ui_widget_prototype.c index 9e3ca9f5..1c89031e 100644 --- a/lib/ui/src/ui_widget_prototype.c +++ b/lib/ui/src/ui_widget_prototype.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_prototype.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget_prototype.h b/lib/ui/src/ui_widget_prototype.h index 989b4b53..9613be0b 100644 --- a/lib/ui/src/ui_widget_prototype.h +++ b/lib/ui/src/ui_widget_prototype.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_init_widget_prototype(void); diff --git a/lib/ui/src/ui_widget_status.c b/lib/ui/src/ui_widget_status.c index 04e15d2c..1c9ebff0 100644 --- a/lib/ui/src/ui_widget_status.c +++ b/lib/ui/src/ui_widget_status.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_status.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget_status.h b/lib/ui/src/ui_widget_status.h index 1ef9bfa3..1a7e5196 100644 --- a/lib/ui/src/ui_widget_status.h +++ b/lib/ui/src/ui_widget_status.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ void ui_widget_destroy_status(ui_widget_t *w); diff --git a/lib/ui/src/ui_widget_style.c b/lib/ui/src/ui_widget_style.c index 8dbb93bf..ba8e718d 100644 --- a/lib/ui/src/ui_widget_style.c +++ b/lib/ui/src/ui_widget_style.c @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_style.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/ui/src/ui_widget_style.h b/lib/ui/src/ui_widget_style.h index 82479003..1eaad87c 100644 --- a/lib/ui/src/ui_widget_style.h +++ b/lib/ui/src/ui_widget_style.h @@ -1,15 +1,12 @@ /* * lib/ui/src/ui_widget_style.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/lib/worker/include/worker.h b/lib/worker/include/worker.h index 093d0e28..5ecc6cab 100644 --- a/lib/worker/include/worker.h +++ b/lib/worker/include/worker.h @@ -2,14 +2,11 @@ * lib/worker/include/worker.h: -- worker threading and task * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LIB_WORKER_INCLULDE_WORKER_H diff --git a/lib/worker/include/worker/common.h b/lib/worker/include/worker/common.h index 6737fb11..030180e2 100644 --- a/lib/worker/include/worker/common.h +++ b/lib/worker/include/worker/common.h @@ -1,15 +1,12 @@ /* * lib/worker/include/worker/common.h * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "config.h" diff --git a/lib/worker/src/worker.c b/lib/worker/src/worker.c index 1ea8f384..2e43d064 100644 --- a/lib/worker/src/worker.c +++ b/lib/worker/src/worker.c @@ -2,14 +2,11 @@ * lib/worker/src/worker.c: -- worker threading and task * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/scripts/add-copyright.js b/scripts/add-copyright.js index f6827d84..ba0bfbff 100644 --- a/scripts/add-copyright.js +++ b/scripts/add-copyright.js @@ -5,7 +5,7 @@ const bom = "\ufeff"; const cwd = process.cwd(); const project = path.basename(cwd); const includes = ["lib", "include", "src"].map((file) => - path.resolve(cwd, file) + path.resolve(cwd, file), ); const excludes = ["lib/yutil"].map((file) => path.resolve(cwd, file)); const extensions = [".c", ".h", ".h.in"]; @@ -17,8 +17,8 @@ const copyright = `/* * * SPDX-License-Identifier: MIT * - * This file is part of ${project}, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of ${project}, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ `; @@ -45,19 +45,34 @@ function parseCopyrightComment(content) { if (!hasComment) { return result; } - result.comment = content.substring(0, index); - result.comment.split("\n").forEach((line) => { - if (!line.includes("Copyright")) { - return; - } - const [year, holder] = line - .substring(3) - .replace("Copyright (c)", "") - .replace("All rights reserved.", "") + + let parsingCopyright = false; + let copyrightCommnet = ""; + + function processCopyright() { + const [year, holder] = copyrightCommnet .split(", ") .map((str) => str.trim()); result.holders.push({ year, holder }); result.exists = true; + } + + result.comment = content.substring(0, index); + result.comment.split(/\r?\n/).forEach((lineRaw) => { + const line = lineRaw.substring(3).trimEnd(); + if (line.includes("Copyright")) { + if (copyrightCommnet) { + processCopyright(); + } + parsingCopyright = true; + copyrightCommnet = line.replace("Copyright (c)", ""); + } else if (parsingCopyright) { + copyrightCommnet += ` ${line}`; + } + if (line.includes("All rights reserved")) { + copyrightCommnet = copyrightCommnet.replace("All rights reserved.", ""); + processCopyright(); + } }); return result; } @@ -68,11 +83,15 @@ function parseFile(filePath) { content = content.slice(1); } const copyright = parseCopyrightComment(content); - if ( - !copyright.exists || - !copyright.holders.some(({ holder }) => isCurrentHolder(holder)) - ) { - copyright.holders.push({ year: null, holder: copyrightHolder }); + try { + if ( + !copyright.exists || + !copyright.holders.some(({ holder }) => isCurrentHolder(holder)) + ) { + copyright.holders.push({ year: null, holder: copyrightHolder }); + } + } catch (err) { + throw err; } const result = { summary: "", @@ -82,7 +101,7 @@ function parseFile(filePath) { }; if (copyright.exists) { copyright.comment - .split("\n") + .split(/\r?\n/) .slice(0, 3) .some((line) => { if (line.includes("Copyright")) { @@ -112,16 +131,16 @@ function generateCopyright(holders, fileCreatedAt) { if (!year) { copyrightYear = fileCreatedAt.getFullYear(); } - const startYear = `${copyrightYear}`.split('-')[0]; + const startYear = `${copyrightYear}`.split("-")[0]; if (startYear !== `${currentYear}`) { copyrightYear = `${startYear}-${currentYear}`; } } return `Copyright (c) ${copyrightYear}, ${holder}`; }); - const result = lines.join("\n * "); + const result = lines.join("\r\n * "); return `${ - lines.length > 1 ? `${result}\n * ` : `${result} ` + lines.length > 1 ? `${result}\r\n * ` : `${result} ` }All rights reserved.`; } @@ -132,10 +151,10 @@ function insertCopyright(filePath) { .replace("{{summary}}", result.summary ? `: ${result.summary}` : "") .replace( "{{copyright}}", - generateCopyright(result.copyright.holders, result.createdAt) + generateCopyright(result.copyright.holders, result.createdAt), ); - fs.writeFileSync(filePath, `${bom}${header}\n${result.content}`, "utf-8"); + fs.writeFileSync(filePath, `${bom}${header}\r\n${result.content}`, "utf-8"); } function traverseFolder(folderPath) { diff --git a/src/ini_doc.c b/src/ini_doc.c index e3224bb3..b388ef24 100644 --- a/src/ini_doc.c +++ b/src/ini_doc.c @@ -2,14 +2,11 @@ * src/ini_doc.c: -- generic INI document. * * Copyright (c) 2023-2026, Liu Chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/ini_doc.h b/src/ini_doc.h index 176051b6..65f4fd27 100644 --- a/src/ini_doc.h +++ b/src/ini_doc.h @@ -2,14 +2,11 @@ * src/ini_doc.h: -- generic INI document. * * Copyright (c) 2023-2026, Liu Chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_SRC_INI_DOC_H diff --git a/src/lcui.c b/src/lcui.c index d4d18121..4613cc39 100644 --- a/src/lcui.c +++ b/src/lcui.c @@ -1,4 +1,29 @@ /* + * src/lcui.c + * + * Copyright (c) 2026, Liu Chao All rights reserved. + * + * SPDX-License-Identifier: MIT + * + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. + */ + +/* + * src/lcui.c + * + * Copyright (c) 2026, Liu Chao All rights + * reserved. + * + * SPDX-License-Identifier: MIT + * + * This file is part of LCUI, + * distributed under the MIT License found + * in the LICENSE.TXT file in the + * root directory of this source tree. + */ + +/* * src/lcui.c * * Copyright (c) 2023-2026, Liu Chao All diff --git a/src/lcui_app.c b/src/lcui_app.c index f947a8a4..40224755 100644 --- a/src/lcui_app.c +++ b/src/lcui_app.c @@ -1,15 +1,12 @@ /* * src/lcui_app.c * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is - * part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT - * file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/lcui_app.h b/src/lcui_app.h index f5c06533..5736d352 100644 --- a/src/lcui_app.h +++ b/src/lcui_app.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_SRC_LCUI_APP_H diff --git a/src/lcui_fonts.c b/src/lcui_fonts.c index 68d3303c..f14be216 100644 --- a/src/lcui_fonts.c +++ b/src/lcui_fonts.c @@ -1,15 +1,12 @@ /* * src/lcui_fonts.c * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is - * part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT - * file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/lcui_rendering.c b/src/lcui_rendering.c index 8c210aaf..f383fa5a 100644 --- a/src/lcui_rendering.c +++ b/src/lcui_rendering.c @@ -2,14 +2,11 @@ * src/lcui_rendering.c: -- rendering settings. * * Copyright (c) 2023-2026, Liu Chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/lcui_settings.c b/src/lcui_settings.c index 6bbeb4d1..b1dbb2f4 100644 --- a/src/lcui_settings.c +++ b/src/lcui_settings.c @@ -1,16 +1,12 @@ /* - * src/lcui_settings.c -- global settings infrastructure. - * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * src/lcui_settings.c: -- global settings infrastructure. * + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed - * under the MIT License found in the - * LICENSE.TXT file in the root directory - * of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/lcui_settings.h b/src/lcui_settings.h index 6fad5611..1e9e8293 100644 --- a/src/lcui_settings.h +++ b/src/lcui_settings.h @@ -2,14 +2,11 @@ * src/lcui_settings.h: -- internal definitions for settings infrastructure. * * Copyright (c) 2023-2026, Liu Chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_SRC_SETTINGS_H diff --git a/src/lcui_ui.c b/src/lcui_ui.c index 34b1773d..a774008d 100644 --- a/src/lcui_ui.c +++ b/src/lcui_ui.c @@ -1,15 +1,12 @@ /* * src/lcui_ui.c * - * Copyright (c) 2023-2026, Liu Chao All - * rights reserved. + * Copyright (c) 2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is part - * of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file - * in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/lcui_widgets.c b/src/lcui_widgets.c index 272c287b..5d4fe4f6 100644 --- a/src/lcui_widgets.c +++ b/src/lcui_widgets.c @@ -1,15 +1,12 @@ /* * src/lcui_widgets.c * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/lcui_window_state.c b/src/lcui_window_state.c index 77d5bda5..62f9ebc0 100644 --- a/src/lcui_window_state.c +++ b/src/lcui_window_state.c @@ -2,14 +2,11 @@ * src/lcui_window_state.c: -- window state settings. * * Copyright (c) 2023-2026, Liu Chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "lcui_settings.h" diff --git a/src/lcui_worker.c b/src/lcui_worker.c index 0a78e8d8..dd1eeed1 100644 --- a/src/lcui_worker.c +++ b/src/lcui_worker.c @@ -1,15 +1,12 @@ /* * src/lcui_worker.c * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - * This file is - * part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT - * file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/setting_field.c b/src/setting_field.c index 733c5a43..28d8e894 100644 --- a/src/setting_field.c +++ b/src/setting_field.c @@ -2,14 +2,11 @@ * src/setting_field.c: -- schema-driven (de)serialization. * * Copyright (c) 2023-2026, Liu Chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/setting_field.h b/src/setting_field.h index 48de4a03..a965533a 100644 --- a/src/setting_field.h +++ b/src/setting_field.h @@ -2,14 +2,11 @@ * src/setting_field.h: -- schema-driven field definitions for settings. * * Copyright (c) 2023-2026, Liu Chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #ifndef LCUI_SRC_SETTING_FIELD_H diff --git a/src/widgets/anchor.c b/src/widgets/anchor.c index ed47bac0..f46c9bf3 100644 --- a/src/widgets/anchor.c +++ b/src/widgets/anchor.c @@ -2,14 +2,11 @@ * src/widgets/anchor.c: to element in HTML. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/widgets/button.c b/src/widgets/button.c index 7b9617c3..a7917437 100644 --- a/src/widgets/button.c +++ b/src/widgets/button.c @@ -2,14 +2,11 @@ * src/widgets/button.c: -- Button widget * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/widgets/canvas.c b/src/widgets/canvas.c index cddc4435..0d810472 100644 --- a/src/widgets/canvas.c +++ b/src/widgets/canvas.c @@ -2,14 +2,11 @@ * src/widgets/canvas.c: -- canvas, used to draw custom graphics * * Copyright (c) 2019-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/widgets/progress.c b/src/widgets/progress.c index a10c450c..ef1f07b8 100644 --- a/src/widgets/progress.c +++ b/src/widgets/progress.c @@ -1,15 +1,12 @@ -/* +/* * src/widgets/progress.c: -- Progress widget * * Copyright (c) 2026, Liu chao All rights reserved. - * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/widgets/scrollarea.c b/src/widgets/scrollarea.c index 34fe28f6..a118b569 100644 --- a/src/widgets/scrollarea.c +++ b/src/widgets/scrollarea.c @@ -1,15 +1,12 @@ /* * src/widgets/scrollarea.c * - * Copyright (c) 2024-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2024-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/widgets/scrollbar.c b/src/widgets/scrollbar.c index 2a75b961..dc2c1f0d 100644 --- a/src/widgets/scrollbar.c +++ b/src/widgets/scrollbar.c @@ -2,14 +2,11 @@ * src/widgets/scrollbar.c: -- Scrollbar widget * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/widgets/text.c b/src/widgets/text.c index bd924f97..97663c33 100644 --- a/src/widgets/text.c +++ b/src/widgets/text.c @@ -2,14 +2,11 @@ * src/widgets/text.c: -- Text widget for display text. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/widgets/textcaret.c b/src/widgets/textcaret.c index f4e7e96d..27e9cb87 100644 --- a/src/widgets/textcaret.c +++ b/src/widgets/textcaret.c @@ -2,14 +2,11 @@ * src/widgets/textcaret.c: -- textcaret widget, used in textinput. * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/widgets/textinput.c b/src/widgets/textinput.c index 002c2773..62cae60e 100644 --- a/src/widgets/textinput.c +++ b/src/widgets/textinput.c @@ -2,14 +2,11 @@ * src/widgets/textinput.c: -- textinput widget, used to allow user edit * * Copyright (c) 2018-2026, Liu chao All rights reserved. - - * * + * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, - * distributed under the MIT License found in the - * LICENSE.TXT file in the - * root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include diff --git a/src/widgets/textstyle.c b/src/widgets/textstyle.c index 1f7becde..f282382f 100644 --- a/src/widgets/textstyle.c +++ b/src/widgets/textstyle.c @@ -1,15 +1,12 @@ /* * src/widgets/textstyle.c * - * Copyright (c) 2023-2026, Liu Chao - * All rights reserved. + * Copyright (c) 2023-2026, Liu Chao All rights reserved. * * SPDX-License-Identifier: MIT * - - * * This file is part of LCUI, distributed under the MIT License found in the - - * * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include "textstyle.h" diff --git a/src/widgets/textstyle.h b/src/widgets/textstyle.h index 24a4a83c..53924472 100644 --- a/src/widgets/textstyle.h +++ b/src/widgets/textstyle.h @@ -5,8 +5,8 @@ * * SPDX-License-Identifier: MIT * - * This file is part of LCUI, distributed under the MIT License found in the - * LICENSE.TXT file in the root directory of this source tree. + * This file is part of LCUI, distributed under the MIT License found + * in the LICENSE.TXT file in the root directory of this source tree. */ #include