Commit Graph

406 Commits

Author SHA1 Message Date
bernard.xiong@gmail.com 29df97e5cd remove cyg_* type in flashio.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1942 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-10 11:49:44 +00:00
goprife@gmail.com 56ea07b02d fix bugs in debug.c of jffs2
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1941 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-09 13:53:01 +00:00
dzzxzz@gmail.com 48a170f861 calling function fd_put() before rt_set_errno()
then tid->error can avoid being changed unexpectedly

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1940 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-09 03:30:30 +00:00
bernard.xiong@gmail.com 4f458c68d2 add MTD device.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1939 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-07 03:55:01 +00:00
bernard.xiong@gmail.com a5e0a4526a update jffs2 to use MTD device.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1938 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-07 03:53:11 +00:00
bernard.xiong@gmail.com eedd490bd6 add const attribute to the ops.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1937 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-03 14:03:51 +00:00
bernard.xiong@gmail.com df84097076 fix the spelling issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1934 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 12:20:58 +00:00
bernard.xiong@gmail.com d4ebec7cce fix compiling issue when enable newlib.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1933 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 12:20:07 +00:00
bernard.xiong@gmail.com 2d91252fdd remove the compiling of libfinsh.a library.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1932 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 12:19:24 +00:00
goprife@gmail.com 4f72d1cba1 remove some warning in jffs2, and fix armcc compile error when using scons
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1929 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 01:29:22 +00:00
bernard.xiong@gmail.com fcf01d1d3d fix mutex issue in semaphore.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1927 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-29 08:23:14 +00:00
bernard.xiong@gmail.com 2f9cd34325 merge 1.0.x to 1.1.x for SD driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1926 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-29 08:11:21 +00:00
dzzxzz@gmail.com 4d7fe31bc2 correct a spelling error in dfs_def.h
DFS_STATUS_EAGIAN -> DFS_STATUS_EAGAIN 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1922 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-29 01:33:51 +00:00
bernard.xiong@gmail.com d74a78795d add components initialization (draft).
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1921 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-15 13:17:09 +00:00
bernard.xiong@gmail.com cb98336dc1 fix spell wrong.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1920 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-15 13:16:25 +00:00
goprife@gmail.com 3b11805964 add jffs2 code (porting from ecos v3.0)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1919 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-13 18:45:44 +00:00
luohui2320@gmail.com c53d3be4e1 update sdio/SConscript file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1914 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-09 16:32:57 +00:00
bernard.xiong@gmail.com 2b8c20af4b add SPI framework.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1911 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 14:16:51 +00:00
bernard.xiong@gmail.com 5588bbe4d2 add some device driver header files.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1910 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 14:14:54 +00:00
bernard.xiong@gmail.com 94d79d70c6 rename mmcsd to sdio.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1908 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 03:11:45 +00:00
bernard.xiong@gmail.com b0a1f0860a move to drivers directory.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1907 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 03:09:34 +00:00
bernard.xiong@gmail.com fcf74ed108 add DFS_FS_FLAG_FULLPATH support in rename function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1905 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-01 13:46:15 +00:00
bernard.xiong@gmail.com beaf51ff82 add full path options (DFS_FS_FLAG_FULLPATH) to the file system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1904 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-01 13:37:21 +00:00
bernard.xiong@gmail.com 23839bc886 fix rename issue in DFS.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1890 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 04:05:40 +00:00
chaos.proton@gmail.com e76ac34fac rtgui: fix compiling error found by onelife
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1889 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-30 12:43:23 +00:00
dzzxzz 315fffcfcb fixed a compiling error while defined RTGUI_EVENT_DEBUG
a ')' was missing in rtgui_system.c line 162 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1868 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 03:17:26 +00:00
dzzxzz 44a2d720a0 unify the components/dfs coding style according to the /documentation/coding_style_cn.txt
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1866 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 02:11:55 +00:00
wuyangyong 44b3b3ad87 Add more device type.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1838 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-15 13:21:34 +00:00
wuyangyong 22049c80d5 fixed zmodem syntax error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1836 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-12 07:31:51 +00:00
wuyangyong adb734ec50 update list_if() and set_if()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1834 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-11 13:22:26 +00:00
wuyangyong dc540968c4 update list_if() and set_if()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1833 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-11 11:36:36 +00:00
chaos.proton@gmail.com 57e2947cfc rtgui/widgets/window.c: check null reference on rtgui_container.focused
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1829 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-07 06:52:32 +00:00
chaos.proton@gmail.com 538f59adaa rtgui/widgets/notebook: optimize mouse event handling #2
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-02 15:02:25 +00:00
chaos.proton@gmail.com 18e5f05098 rtgui/widgets/notebook: optimize mouse event handling
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-02 14:58:03 +00:00
chaos.proton@gmail.com b38a97572c rtgui/widgets/notebook: get rect only when needed
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1815 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 08:01:15 +00:00
chaos.proton@gmail.com 0803e79b53 rtgui/widgets/notebook: move the bar drawing code into one place
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1814 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 07:20:14 +00:00
chaos.proton@gmail.com 41c6c37bc7 rtgui/widgets/notebook.c: use RTGUI_NOTEBOOK_TAB_WIDTH instead of magic number
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1812 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 06:47:15 +00:00
chaos.proton@gmail.com a4cff858f6 suppress mdk4.21 eol warning
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-28 02:10:25 +00:00
wuyangyong 29dc6a03e0 add rtgui_event_timer_t define
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1809 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-27 09:35:52 +00:00
chaos.proton@gmail.com e834b94805 rtgui_system: always detach ack_mb in rtgui_thread_send_sync
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-26 03:04:47 +00:00
chaos.proton@gmail.com 92d8465224 rtgui_system: code cleanup
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-26 03:03:27 +00:00
wuyangyong 47a560b173 fixed result uninitialized issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1805 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-25 07:29:11 +00:00
chaos.proton@gmail.com fad2648157 components/rtgui_win: check the return value of overlapFunc
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-23 19:00:08 +00:00
bernard.xiong@gmail.com 3d21a83821 fixed rename issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1798 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-22 22:32:56 +00:00
bernard.xiong@gmail.com 8b091fc74a add drivers directory.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1797 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-22 22:28:51 +00:00
luohui2320@gmail.com 49ddb7e0f5 Add SDIO stack support, current only support SDSC and SDHC card
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1771 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-23 09:46:20 +00:00
yungchi@cs.nctu.edu.tw cba5eb60f8 use DFS_STATUS_EINVAL
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1768 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-17 15:49:55 +00:00
yungchi@cs.nctu.edu.tw f66dafe7a6 fix lseek underflow problem
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1767 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-17 11:33:30 +00:00
bernard.xiong@gmail.com 50b5e18dce fixed newlib building script error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1748 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-10 12:45:38 +00:00
bernard.xiong@gmail.com b2f9217686 change to UNIX end of line.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1746 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 14:50:08 +00:00