summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-12-10update SrcRemove function in building script.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1830 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-07rtgui/widgets/window.c: check null reference on rtgui_container.focused[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1829 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-05documentation/coding_style_en.txt: added[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1828 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-05documentation/coding_style_cn.txt change property and some format[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1827 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-05documentation/coding_style_cn.txt: indent the code[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1826 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-05add coding_style_cn.txt to documentation directory[email protected]
The original file is a .doc file send by bernard. I just copied the context to this text file and formated it. The file is in unix style eol and encoded in UTF-8. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1825 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-02rtgui/widgets/notebook: optimize mouse event handling #2[email protected]
No need to update tab bar when user pressed the same tab. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1824 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-02rtgui/widgets/notebook: optimize mouse event handling[email protected]
No need to let children widget handle mouse event when user pressed the tab bar. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1823 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-01set DMA_Configuration.DMA_BufferSize to 1[email protected]
DMA_Init asserts DMA_BufferSize >=1. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1822 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-01clear DMA1_FLAG_TC2 in usart3 initialization[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1821 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-30fix 1732, move"#endif" to line 103 from line 106 in rtthread_startup [email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1820 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-29add fatal event handler in ARM7TDMI.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1819 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-29*** EFM32 branch ***onelife.real
1. Move file, "start_gcc.S", from "libcpu/arm/cortex-m3/" to "bsp/efm32/" 2. Upgrade EFM32 driver libraries (CMSIS and efm32lib) to version 2.2.2 3. Upgrade EFM32 G2xx development kit drivers (EFM32_Gxxx_DK) to version 1.7.2 (from version 1.6.0) 4. Modify the files ("drv_usart.c" and "drv_iic.c") according to the driver libraries upgrading git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1818 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-29git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1817 ↵[email protected]
bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-29add source remove method[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1816 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28rtgui/widgets/notebook: get rect only when needed[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1815 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28rtgui/widgets/notebook: move the bar drawing code into one place[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1814 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28example/gui: add notebook demo[email protected]
There is notebook demo but somehow the workbench didn't show it... git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1813 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28rtgui/widgets/notebook.c: use RTGUI_NOTEBOOK_TAB_WIDTH instead of magic number[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1812 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28update rtc driver.wuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1811 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28suppress mdk4.21 eol warning[email protected]
Suppress the warning "Lines ending with an invalid line end have been detected in file ...\rtgui_object.h" by convert the whole file to unix eol. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1810 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-27add rtgui_event_timer_t definewuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1809 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-26update rtc driver.wuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1808 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-26rtgui_system: always detach ack_mb in rtgui_thread_send_sync[email protected]
The old code won't detach ack_mb if error occurs. Fix it. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1807 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-26rtgui_system: code cleanup[email protected]
Use rtgui_*_t instead of struct rtgui_* git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1806 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-25fixed result uninitialized issue.wuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1805 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-25update stm32f107 ethernet driverwuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1804 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-25update stm32f107 bspwuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1803 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-23components/rtgui_win: check the return value of overlapFunc[email protected]
overlapFunc will return RTGUI_REGION_STATUS_FAILURE in some circumstance(OOM etc), check it and return error if any thing goes wrong. It prevents garbage values crashing the system. Please ignore the eol diff noise. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1802 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-22fixed rename issue.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1798 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-22add drivers directory.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1797 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-20Add SPI FRAM driver[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1796 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-20Update eeprom driver[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1795 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-17remove the unused key.c and rt_hw_key_init[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1794 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-16revert commit 1791[email protected]
That commit broke bsp/stm3210x. The cause is that we calls rtgui_system_init in rtgui_startup. But the calibration starts before rtgui_startup and rtgui_system_init. This lead to crash. One way to deal with it is move rtgui_system_init out of rtgui_startup and call it manually. But it will affect other bsps. So just revert the "bad" commit. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1793 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-09if --target is set, adjust CROSS_TOOL and PLATFORM automatically[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1792 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08bsp/stm32f10x: calibrate touch screen before starting GUI[email protected]
If we do not calibrate the touch screen, GUI is unusable. This patch use a semaphore to block GUI thread until calibration finish. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1791 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08fix typo in last commit...[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1790 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08bsp/stm32f10x/touch: return early when lost the position[email protected]
Check whether finger is still on the screen. If not, we couldn't determine where the user has touched. It's better to return early rather than give garbage values. A more sensitive solution might be caculate the position once the interrupt occured. But it's not anti-shake friendly. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1789 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08bsp/stm32f10x/touch.c: better naming[email protected]
Rename flag to touched_down. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1788 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08fixed object name copy bug; update AT91SAM7S64 branch.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1787 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-05update lpc1788 bspwuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1786 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-05add applications (bsp lpc1788)wuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1785 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-05update lpc1788 bspwuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1784 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-02bsp/stm32f10x/touch.c: normalize the calibrated touch position[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1783 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-02avoid divided by zero error[email protected]
The old code only checks touch->max_x > touch->min_x but not touch->max_x == touch->min_x. Thus may lead to divided by zero error. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1782 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-02fix ads7843 data fetching[email protected]
The old code forgot to drop the MSB in the very first byte retrieved from ads7843 after a control byte. This will lead to data corruption especially in 16-Clocks per conversion mode. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1781 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-01fix typo in examples/gui/demo_workbench.c[email protected]
use RT_USING_FINSH micro to decide whether to compile FINSH functions or not. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1780 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-30fixed file name with Chinese encoding issue, which is merged from ↵[email protected]
[email protected]. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1779 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-30change the end of line to UNIX style.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1778 bbd45198-f89e-11dd-88c7-29a3b14d5316