fix source file encoding

This commit is contained in:
lixianjing 2019-11-28 08:50:24 +08:00
parent ec4d79ae54
commit 73a8f217cc
144 changed files with 143 additions and 144 deletions

View File

@ -1,4 +1,4 @@
/**
/**
* File: awtk.c
* Author: AWTK Develop Team
* Brief: awtk

View File

@ -1,4 +1,4 @@
/**
/**
* File: assets_manager.h
* Author: AWTK Develop Team
* Brief: asset manager

View File

@ -1,4 +1,4 @@
/**
/**
* File: dialog.c
* Author: AWTK Develop Team
* Brief: dialog

View File

@ -1,4 +1,4 @@
/**
/**
* History:
* ================================================================
* 2019-11-22 luozhiming@zlg.cn created

View File

@ -1,4 +1,4 @@
/**
/**
* File: image_manager.c
* Author: AWTK Develop Team
* Brief: bitmap manager

View File

@ -1,4 +1,4 @@
/**
/**
* File: line_break.c
* Author: AWTK Develop Team
* Brief: line break and work break algorithm.

View File

@ -1,4 +1,4 @@
/**
/**
* File: style.c
* Author: AWTK Develop Team
* Brief: style interface

View File

@ -1,4 +1,4 @@
/**
/**
* File: text_edit.c
* Author: AWTK Develop Team
* Brief: text_edit

View File

@ -1450,7 +1450,6 @@ ret_t widget_set_prop(widget_t* widget, const char* name, const value_t* v) {
ret_t widget_get_prop(widget_t* widget, const char* name, value_t* v) {
ret_t ret = RET_OK;
ENSURE(widget != NULL && name != NULL && v != NULL);
return_value_if_fail(widget != NULL && name != NULL && v != NULL, RET_BAD_PARAMS);
return_value_if_fail(widget->vt != NULL, RET_BAD_PARAMS);

View File

@ -1,4 +1,4 @@
/**
/**
* File: window_manager.c
* Author: AWTK Develop Team
* Brief: window manager

View File

@ -1,4 +1,4 @@
/*adapted from :
/*adapted from :
* http://rosettacode.org/wiki/Xiaolin_Wu%27s_line_algorithm#C
*/

View File

@ -1,4 +1,4 @@
#define pixel_t pixel_dst_t
#define pixel_t pixel_dst_t
#define pixel_from_rgb pixel_dst_from_rgb
#ifndef blend_a

View File

@ -1,4 +1,4 @@
#include "tkc/utils.h"
#include "tkc/utils.h"
static ret_t clear_image(bitmap_t* dst, rect_t* dst_r, color_t c) {
int y = 0;

View File

@ -1,4 +1,4 @@
static ret_t rotate_image(bitmap_t* dst, bitmap_t* src, rect_t* src_r, lcd_orientation_t o) {
static ret_t rotate_image(bitmap_t* dst, bitmap_t* src, rect_t* src_r, lcd_orientation_t o) {
xy_t dx = 0;
xy_t dy = 0;
uint32_t i = 0;

View File

@ -1,4 +1,4 @@
/**
/**
* File: soft_g2d.c
* Author: AWTK Develop Team
* Brief: software implemented image operations

View File

@ -1,4 +1,4 @@
/**
/**
* File: stm32_g2d.h
* Author: AWTK Develop Team
* Brief: stm32 dma2d implemented hardware 2d

View File

@ -1,4 +1,4 @@
/**
/**
* File: dialog_highlighter.c
* Author: AWTK Develop Team
* Brief: dialog_highlighter

View File

@ -1,4 +1,4 @@
/**
/**
* File: color_picker.
* Author: AWTK Develop Team
* Brief: color_picker

View File

@ -1,4 +1,4 @@
/**
/**
* File: guage_pointer.h
* Author: AWTK Develop Team
* Brief: guage_pointer

View File

@ -1,4 +1,4 @@
/**
/**
* File: candidates.c
* Author: AWTK Develop Team
* Brief: candidates

View File

@ -1,4 +1,4 @@
/**
/**
* File: mutable_image.h
* Author: AWTK Develop Team
* Brief: mutable_image

View File

@ -1,4 +1,4 @@
/**
/**
* File: progress_circle.c
* Author: AWTK Develop Team
* Brief: progress_circle

View File

@ -1,4 +1,4 @@
/**
/**
* File: hscroll_label.h
* Author: AWTK Develop Team
* Brief: hscroll_label

View File

@ -1,4 +1,4 @@
/**
/**
* File: children_layouter_list_view_list_view.c
* Author: AWTK Develop Team
* Brief: children layouter list view

View File

@ -1,4 +1,4 @@
/**
/**
* File: list_item.h
* Author: AWTK Develop Team
* Brief: list_item

View File

@ -1,4 +1,4 @@
/**
/**
* File: scroll_view.c
* Author: AWTK Develop Team
* Brief: scroll_view

View File

@ -1,4 +1,4 @@
/**
/**
* File: slide_menu.h
* Author: AWTK Develop Team
* Brief: slide_menu

View File

@ -1,4 +1,4 @@
/**
/**
* File: slide_indicator.h
* Author: AWTK Develop Team
* Brief: slide_indicator

View File

@ -1,4 +1,4 @@
/**
/**
* File: switch.c
* Author: AWTK Develop Team
* Brief: switch

View File

@ -1,4 +1,4 @@
/**
/**
* File: text_selector.h
* Author: AWTK Develop Team
* Brief: text_selector

View File

@ -1,4 +1,4 @@

static ret_t on_progress(void* ctx, event_t* e) {
progress_event_t* evt = (progress_event_t*)e;

View File

@ -1,4 +1,4 @@
static ret_t on_progress(void* ctx, event_t* e) {
static ret_t on_progress(void* ctx, event_t* e) {
progress_event_t* evt = (progress_event_t*)e;
log_debug("progress: %u\n", evt->percent);

View File

@ -1,4 +1,4 @@
#ifndef WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif /*WIN32_LEAN_AND_MEAN*/

View File

@ -1,4 +1,4 @@
#ifndef WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif /*WIN32_LEAN_AND_MEAN*/

View File

@ -1,4 +1,4 @@
#ifndef WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif /*WIN32_LEAN_AND_MEAN*/

View File

@ -1,4 +1,4 @@
#ifndef WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif /*WIN32_LEAN_AND_MEAN*/

View File

@ -1,4 +1,4 @@
/**
/**
* File: font.h
* Author: AWTK Develop Team
* Brief: font interface

View File

@ -1,4 +1,4 @@
/**
/**
* File: font_stb.h
* Author: AWTK Develop Team
* Brief: stb truetype font loader

View File

@ -1,4 +1,4 @@
/**
/**
* File: image_loader.h
* Author: AWTK Develop Team
* Brief: stb image loader

View File

@ -1,4 +1,4 @@
/**
/**
* File: input_method_creator.c
* Author: AWTK Develop Team
* Brief: input method creator

View File

@ -1,4 +1,4 @@
/**
/**
* File: input_method_default.c
* Author: AWTK Develop Team
* Brief: input method default

View File

@ -1,4 +1,4 @@
const unsigned char data_suggest_words[] = {
const unsigned char data_suggest_words[] = {
0x07, 0x00, 0x00, 0x01, 0x3e, 0x73, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x73, 0x75, 0x67, 0x67,
0x65, 0x73, 0x74, 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x00, 0x69, 0x6e, 0x63, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

View File

@ -1,4 +1,4 @@
/**
/**
* File: children_layouter_default_default.c
* Author: AWTK Develop Team
* Brief: children layouter default

View File

@ -1,4 +1,4 @@
/**
/**
* File: self_layouter_default_default.c
* Author: AWTK Develop Team
* Brief: self layouter default

View File

@ -1,4 +1,4 @@
/**
/**
* File: self_layouter_menu_menu.c
* Author: AWTK Develop Team
* Brief: self layouter menu

View File

@ -1,4 +1,4 @@
/**
/**
* File: fragment_frame_buffer
* Author: AWTK Develop Team
* Brief: fragment_frame_buffer

View File

@ -1,4 +1,4 @@
/**
/**
* File: lcd_mono.h
* Author: AWTK Develop Team
* Brief: mono lcd

View File

@ -1,4 +1,4 @@
#include "native_window/native_window_raw.h"
#include "native_window/native_window_raw.h"
static ret_t main_loop_raw_dispatch(main_loop_simple_t* loop) {
platform_disaptch_input((main_loop_t*)loop);

View File

@ -1,4 +1,4 @@
/**
/**
* File: main_loop_simple.c
* Author: AWTK Develop Team
* Brief: a simple main loop

View File

@ -1,4 +1,4 @@
/**
/**
* File: mutex.c
* Author: AWTK Develop Team
* Brief: mutex base on tos_mutex

View File

@ -1,4 +1,4 @@
/**
/**
* File: rtos.c
* Author: AWTK Develop Team
* Brief: rtos

View File

@ -1,4 +1,4 @@
/**
/**
* File: rtos.h
* Author: AWTK Develop Team
* Brief: rtos

View File

@ -1,4 +1,4 @@
/**
/**
* File: semaphore.c
* Author: AWTK Develop Team
* Brief: semaphore

View File

@ -1,4 +1,4 @@
/**
/**
* File: sys_tick.c
* Author: AWTK Develop Team
* Brief: use sys tick to implement sleep/get_time_ms64.

View File

@ -1,4 +1,4 @@
/**
/**
* File: thread.c
* Author: AWTK Develop Team
* Brief: thread on cmsis_os

View File

@ -1,4 +1,4 @@
/**
/**
* File: rtos.h
* Author: AWTK Develop Team
* Brief: rtos

View File

@ -1,4 +1,4 @@
/**
/**
* File: sys_tick.c
* Author: AWTK Develop Team
* Brief: use sys tick to implement sleep/get_time_ms64.

View File

@ -1,4 +1,4 @@
/*-------------------------------------------------------------------------
/*-------------------------------------------------------------------------
*
* dirent.c
* opendir/readdir/closedir for win32/msvc

View File

@ -1,4 +1,4 @@
#if defined(__APPLE__) || defined(LINUX)
#if defined(__APPLE__) || defined(LINUX)
#include <unistd.h>
#include <dirent.h>
#elif defined(WIN32)

View File

@ -1,4 +1,4 @@
/**
/**
* File: mutex.c
* Author: AWTK Develop Team
* Brief: mutex

View File

@ -1,4 +1,4 @@
/**
/**
* File: thread.c
* Author: AWTK Develop Team
* Brief: thread

View File

@ -1,4 +1,4 @@
#include "tkc/fs.h"
#include "tkc/fs.h"
fs_t* os_fs(void) {
return NULL;

View File

@ -1,4 +1,4 @@
/**
/**
* File: mutex.c
* Author: AWTK Develop Team
* Brief: mutex do nothing

View File

@ -1,4 +1,4 @@
/**
/**
* File: sys_tick.c
* Author: AWTK Develop Team
* Brief: use sys tick to implement sleep/get_time_ms64.

View File

@ -1,4 +1,4 @@
/**
/**
* File: mutex.c
* Author: AWTK Develop Team
* Brief: mutex base on rtthread

View File

@ -1,4 +1,4 @@
/**
/**
* File: rtos.c
* Author: AWTK Develop Team
* Brief: rtos

View File

@ -1,4 +1,4 @@
/**
/**
* File: semaphore.c
* Author: AWTK Develop Team
* Brief: semaphore base on rtthread

View File

@ -1,4 +1,4 @@
/**
/**
* File: thread.c
* Author: AWTK Develop Team
* Brief: thread on rtthread

View File

@ -1,4 +1,4 @@
/**
/**
* File: mutex.c
* Author: AWTK Develop Team
* Brief: mutex base on tos_mutex

View File

@ -1,4 +1,4 @@
/**
/**
* File: rtos.c
* Author: AWTK Develop Team
* Brief: rtos

View File

@ -1,4 +1,4 @@
/**
/**
* File: semaphore.c
* Author: AWTK Develop Team
* Brief: semaphore

View File

@ -1,4 +1,4 @@
/**
/**
* File: thread.c
* Author: AWTK Develop Team
* Brief: thread on cmsis_os

View File

@ -1,4 +1,4 @@
#include "tkc/utils.h"
#include "tkc/utils.h"
#include "tkc/platform.h"
#include "streams/serial/iostream_serial.h"
#include "streams/serial/serial_helper.h"

View File

@ -1,4 +1,4 @@
#ifndef WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif /*WIN32_LEAN_AND_MEAN*/

View File

@ -1,4 +1,4 @@
#ifndef WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif /*WIN32_LEAN_AND_MEAN*/

View File

@ -1,4 +1,4 @@
#ifndef WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif /*WIN32_LEAN_AND_MEAN*/

View File

@ -1,4 +1,4 @@
#ifndef WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif /*WIN32_LEAN_AND_MEAN*/

View File

@ -1,4 +1,4 @@
#ifndef WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif /*WIN32_LEAN_AND_MEAN*/

View File

@ -1,4 +1,4 @@
#ifndef WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif /*WIN32_LEAN_AND_MEAN*/

View File

@ -1,4 +1,4 @@
/**
/**
* File: svg_builder.c
* Author: AWTK Develop Team
* Brief: svg builder

View File

@ -1,4 +1,4 @@
/**
/**
* File: bsvg_draw.c
* Author: AWTK Develop Team
* Brief: bsvg_draw

View File

@ -1,4 +1,4 @@
/**
/**
* File: svg_to_bsvg.c
* Author: AWTK Develop Team
* Brief: svg to bsvg

View File

@ -1,4 +1,4 @@
/*
/*
Copyright 2016 (C) Alexey Dynda
This file is part of Tiny Protocol Library.

View File

@ -1,4 +1,4 @@
/**
/**
* File: event_source.c
* Author: AWTK Develop Team
* Brief: event source interface.

View File

@ -1,4 +1,4 @@
/**
/**
* File: event_source_manager_default.c
* Author: AWTK Develop Team
* Brief: event manager_default manager_default

View File

@ -1,4 +1,4 @@
/**
/**
* File: tk_istream.h
* Author: AWTK Develop Team
* Brief: input stream interface

View File

@ -1,4 +1,4 @@
/**
/**
* File: object_array.c
* Author: AWTK Develop Team
* Brief: object array

View File

@ -1,4 +1,4 @@
/**
/**
* File: tk_ostream.h
* Author: AWTK Develop Team
* Brief: output stream interface

View File

@ -1,4 +1,4 @@
/**
/**
* File: ring_buffer.c
* Author: AWTK Develop Team
* Brief: ring_buffer

View File

@ -1,4 +1,4 @@
/* socketpair.c
/* socketpair.c
* Copyright 2007 by Nathan C. Myers <ncm@cantrip.org>; some rights reserved.
* This code is Free Software. It may be copied freely, in original or
* modified form, subject only to the restrictions that (1) the author is

View File

@ -1,4 +1,4 @@
/**
/**
* File: timer.c
* Author: AWTK Develop Team
* Brief: timer manager

View File

@ -1,4 +1,4 @@
/**
/**
* File: value_desc.c
* Author: AWTK Develop Team
* Brief: value_desc

View File

@ -1,4 +1,4 @@
/**
/**
* File: wstr.c
* Author: AWTK Develop Team
* Brief: width char

View File

@ -1,4 +1,4 @@
#include "tkc/fs.h"
#include "tkc/fs.h"
#include "tkc/mem.h"
#include "tkc/buffer.h"
#include "ubjson/ubjson_parser.h"

View File

@ -1,4 +1,4 @@
/**
/**
* File: ubjson_parser.c
* Author: AWTK Develop Team
* Brief: ubjson parser

View File

@ -1,4 +1,4 @@
/**
/**
* File: ubjson_reader.c
* Author: AWTK Develop Team
* Brief: ubjson reader

View File

@ -1,4 +1,4 @@
/**
/**
* File: ubjson_writer.c
* Author: AWTK Develop Team
* Brief: ubjson writer

View File

@ -1,4 +1,4 @@
/**
/**
* File: ui_builder_default.c
* Author: AWTK Develop Team
* Brief: ui_builder default

View File

@ -1,4 +1,4 @@
/**
/**
* File: ui_loader_xml.h
* Author: AWTK Develop Team
* Brief: default ui_loader

View File

@ -1,4 +1,4 @@
/**
/**
* File: ui_serializer.c
* Author: AWTK Develop Team
* Brief: ui_serializer

Some files were not shown because too many files have changed in this diff Show More