Commit Graph

512 Commits

Author SHA1 Message Date
goprife@gmail.com 50955197d5 add a patch to fix compile warning in yaffs code
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2076 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 16:52:47 +00:00
goprife@gmail.com ff350c4ebc modify the line break character of yaffs.diff
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2075 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 14:33:50 +00:00
goprife@gmail.com 5f55c8cb50 add yaffs code and modify dfs/SConscript for yaffs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2073 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:53:49 +00:00
bernard.xiong@gmail.com 5969fffcd7 Added RT_LWIP_PBUF_POOL_BUFSIZE to handle PBUF_POOL_BUFSIZE definition in user configuration file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2072 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:04:12 +00:00
bernard.xiong@gmail.com 372332dd0e Added lwip header file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2071 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:03:20 +00:00
bernard.xiong@gmail.com 3ec34b8f22 Added finsh_system_init function declaration on shell.h.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2070 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:03:00 +00:00
bernard.xiong@gmail.com ee439e74c3 fixed the compiling error when using IGMP protocol.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2056 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 12:01:49 +00:00
luohui2320@gmail.com a8f967f26a fix compiling warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2052 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:19:16 +00:00
dzzxzz@gmail.com 3ae6d255e0 compiling LWIP 1.4.0 with IAR need these two header files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2049 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:09:34 +00:00
goprife@gmail.com 3467396926 fix bug in dfs_jffs2_statfs.buf->f_bfree should be the free blocks, not bytes.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2048 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 07:43:28 +00:00
bernard.xiong@gmail.com 696653204d add finsh component initialization.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2041 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 01:37:07 +00:00
bernard.xiong@gmail.com 5cc877fa24 fixed compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2040 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-13 15:29:51 +00:00
bernard.xiong@gmail.com 12b5decaa9 keep more compatible with RT-Thread driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2039 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-13 15:11:02 +00:00
qiuyiuestc@gmail.com 8fd4704141 fix compile error regarding with ESHUTDOWN errno when defined RT_USING_NEWLIB & RT_USING_PTHREAD & RT_USING_LWIP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2038 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-13 14:08:53 +00:00
luohui2320@gmail.com 9c804a28a4 update SDIO driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2027 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 15:20:36 +00:00
goprife@gmail.com 7f98c2e5e9 fix bug in uffs_result_to_dfs, that UENOMEM is corresponding with DFS_STATUS_ENOSPC
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2026 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 12:44:38 +00:00
goprife@gmail.com 0bcb79b3ab fix bugs in uffs_result_to_dfs and in dfs_uffs_statfs in dfs_uffs.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2025 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 11:28:51 +00:00
luohui2320@gmail.com 95bcaa08d5 fix lwip compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2024 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 10:48:48 +00:00
goprife@gmail.com 7494880ac2 remove struct _uffs_data in dfs_uffs.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2022 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 08:14:32 +00:00
bernard.xiong@gmail.com 2c22680aff remove dfs server init.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2021 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-07 16:10:57 +00:00
goprife@gmail.com 6e65fb482a update dfs_uffs.c to use uffs_Mount and uffs_UnMount function provided by official repo
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2020 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-05 03:44:55 +00:00
goprife@gmail.com 3484e839a8 just update uffs with official(I miss to commit helper_cmds.c, sorry) and delete tags
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2019 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-05 03:43:37 +00:00
goprife@gmail.com f435f7116a update uffs from official repo(fixed bugs and support mount/unmount one partition"
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2018 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-05 03:39:47 +00:00
goprife@gmail.com 3ab019bf86 change SConscript for uffs and yaffs2
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2017 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-02 16:35:58 +00:00
goprife@gmail.com 9e6d012535 add mtd_nand interface code
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2016 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-02 16:34:15 +00:00
goprife@gmail.com 0b4c769f10 add uffs (new version, new port)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2015 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-02 16:12:43 +00:00
goprife@gmail.com 34678294fe git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2014 bbd45198-f89e-11dd-88c7-29a3b14d5316 2012-04-02 15:53:34 +00:00
bernard.xiong@gmail.com 95c9e7de02 rename lwip-1.4.0 to lwip.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2012 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:11:58 +00:00
bernard.xiong@gmail.com 06eb08e497 remove lwip.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2011 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:10:43 +00:00
bernard.xiong@gmail.com b288007786 rename lwip to lwip-1.3.2
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2010 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:07:55 +00:00
bernard.xiong@gmail.com e1e1f13d61 uses lwip 1.4.0 in default.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2009 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:02:06 +00:00
bernard.xiong@gmail.com e19102edd5 remove rt_list_isempty function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2006 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-23 06:55:03 +00:00
bernard.xiong@gmail.com f71efa4281 use precision in list_thread function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2004 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-22 06:01:22 +00:00
qiuyiuestc@gmail.com 4421ec8c64 fix memory leak issue in unmount function
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1999 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-17 11:22:51 +00:00
bernard.xiong@gmail.com 8a960a86f5 fixed finsh_sysvar_append bug.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1996 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-15 14:20:06 +00:00
bernard.xiong@gmail.com 7022b8285f remove alignment memory allocation from SDIO framework.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1995 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-14 07:59:50 +00:00
goprife@gmail.com 484af67a52 update dfs_jffs2.c (note: there are some bugs in jffs2 when multi-threads writes and read)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1994 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-10 14:41:11 +00:00
goprife@gmail.com 8e5b4024ed update jffs2, CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE can be disable in jffs2_config.h; modify semaphore.h so that rt_mutex_init and work correctly in jffs2; fix a memory leak bug in dfs_jffs2.c when close directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1991 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-06 14:50:19 +00:00
luohui2320@gmail.com 9ca7f9dc6b fix a bug in SDIO driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1989 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-04 15:59:54 +00:00
luohui2320@gmail.com 53a51ebff8 update SDIO driver, fix some bugs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1988 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-04 13:17:11 +00:00
luohui2320@gmail.com 36c42a7488 Modify the SDIO driver registration interface
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1985 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-02 16:20:39 +00:00
fengzi.rtt 087da42d96 fix a bug about IGMP in ethernetif.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1984 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-01 11:08:27 +00:00
luohui2320@gmail.com 8b68c3aaa4 rename some variable and add comment
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1982 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-29 16:25:48 +00:00
luohui2320@gmail.com cc4874a8b6 update sdio driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1981 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-29 15:41:58 +00:00
luohui2320@gmail.com 79a699b7bf update sdio driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1980 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-29 13:55:52 +00:00
luohui2320@gmail.com dea9c19e5e update SDIO protocol
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1979 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-28 16:40:40 +00:00
bernard.xiong@gmail.com d6d7c4a851 remove LIBRARY=True option.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1976 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-24 07:23:58 +00:00
bernard.xiong@gmail.com 9d61fc32c8 fix compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1971 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-19 09:12:39 +00:00
bernard.xiong@gmail.com 68384c37c4 change RT_USING_MMCSD to RT_USING_SDIO;
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1969 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-19 09:10:07 +00:00
bernard.xiong@gmail.com 3c6c8063ce code cleanup.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1966 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-18 15:04:19 +00:00
bernard.xiong@gmail.com 1f6e13d1da add int64_t and uint64_t definitions.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1956 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-17 16:31:25 +00:00
bernard.xiong@gmail.com db2ceea2ce remove the dependence of device file system when enable newlib.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1955 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-17 16:26:49 +00:00
goprife@gmail.com 7114014429 add a option in jffs2_config.h(whose value may be important to reading/writing speed)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1951 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-16 18:12:45 +00:00
goprife@gmail.com 6202b6c155 fix bugs in lseek in dfs_posix.c and dfs_jffs2.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1946 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-15 07:28:47 +00:00
dzzxzz@gmail.com 70463829c5 if the D-cache is enabled, make sure the buffer used by DMA is aligned to 32 bytes
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1945 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-13 11:12:57 +00:00
goprife@gmail.com 2a858f9316 add an option to jump relatvie dir '.' and '..' in jffs2
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1943 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-11 07:29:30 +00:00
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