Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

LCUI

A small C library for building user interfaces with C, XML and CSS.
Collective - Host: opensource - https://opencollective.com/lcui - Website: https://lcui.org - Code: https://github.com/lc-soft/LCUI

改进部件事件处理,删除注释

github.com/lc-soft/LCUI - e4192dd68cd8519e8d75b9f5922164273589463b authored about 9 years ago by Liu Chao <[email protected]>
删除无用变量

github.com/lc-soft/LCUI - 10ab53c8b6533d1b0b5c7ea880d81162b4e032b6 authored about 9 years ago by Liu Chao <[email protected]>
添加 sidebar-toggle 类型

这个部件用于切换侧边栏在的最小化状态。

github.com/lc-soft/LCUI - 3403715281b21f32f936718241dd4026f45efb60 authored about 9 years ago by Liu Chao <[email protected]>
消除警告及错误

github.com/lc-soft/LCUI - 4739053fb110da84ba8378676c8bfcda5fc7c268 authored about 9 years ago by Liu Chao <[email protected]>
调整事件处理,添加 pointer_event 属性

事件的冒泡处理是在事件处理器里进行的,如果部件未绑定事件处理就没法进行冒泡,这是个问题,以后还得改下这块代码。

github.com/lc-soft/LCUI - dc8f839c5ca7169eec436b3acea9eb081aa99112 authored about 9 years ago by Liu Chao <[email protected]>
Update README.md

github.com/lc-soft/LCUI - 850b74f8541e990153526ca2e486d09485bdeabd authored about 9 years ago by Liu Chao <[email protected]>
Update README.zh-cn.md

github.com/lc-soft/LCUI - c257fa344efe7a2713bfc007656faf4dc67c1131 authored about 9 years ago by Liu Chao <[email protected]>
Merge pull request #21 from gitter-badger/gitter-badge

Add a Gitter chat badge to README.md

github.com/lc-soft/LCUI - aaf18083909d95580dcc2966ddc5e8295e5b3c00 authored about 9 years ago by Liu Chao <[email protected]>
Update README.zh-cn.md

github.com/lc-soft/LCUI - 2d44e0ecf210c55da5d62441a748b501a26757e6 authored about 9 years ago by Liu Chao <[email protected]>
Add Gitter badge

github.com/lc-soft/LCUI - 7e7bebc78390de85fb0b61954f6a55cb636015d8 authored about 9 years ago by The Gitter Badger <[email protected]>
小调整,删除一些注释

github.com/lc-soft/LCUI - fd2ad96118cf921b90cc0c5097816a39d22b4645 authored about 9 years ago by Liu Chao <[email protected]>
更新图层混合算法

两张RGBA图层的混合算法如下:
outRGB = dstRGB * dstA * (1.0 - srcA) + srcRGB * srcA;
outA = srcA + (1.0 - src...

github.com/lc-soft/LCUI - 201cd69eb7a273edcbe5539231731e4f8d05bb09 authored about 9 years ago by Liu Chao <[email protected]>
纠正默认字体选择

github.com/lc-soft/LCUI - f6ebe31452f77309b147885748a2592e7c0c525d authored about 9 years ago by Liu Chao <[email protected]>
调整图形绘制接口

移除 Pos() 调用,LCUI_Pos 类型参数都用 int 类型参数代替。
本次修改后,alpha混合还有问题,以后解决。

github.com/lc-soft/LCUI - 7a4b803ac7ac1b95761a6509191d09885582e9b3 authored about 9 years ago by Liu Chao <[email protected]>
移除 misc.c

github.com/lc-soft/LCUI - 4b9a920d7b91aaf795215aea0830a4222d8e9a94 authored about 9 years ago by Liu Chao <[email protected]>
添加 z-index 处理,完善部件堆叠排序

github.com/lc-soft/LCUI - 7f2e833bb95d6a052235814793d2219671f2c4e3 authored about 9 years ago by Liu Chao <[email protected]>
update

github.com/lc-soft/LCUI - 9b94c30f2f53ba2238a79556a86d9f78e04f9bf0 authored about 9 years ago by Liu Chao <[email protected]>
清除编译警告

github.com/lc-soft/LCUI - 061ed1e8dfd9150e7dd994dcacc147864fed9a56 authored about 9 years ago by Liu Chao <[email protected]>
更新部件位置计算方法

github.com/lc-soft/LCUI - ae877b484d8d85a2e88b9a0d2cd52185faec6372 authored about 9 years ago by Liu Chao <[email protected]>
移除 self.mark_tree

之前是为了减少冗余事件而添加这个成员变量,但有时操作它会出现异常,懒得搞,直接删了。

github.com/lc-soft/LCUI - 887d0382ff53620531e92f544e795fc512df33ba authored about 9 years ago by Liu Chao <[email protected]>
转移代码位置,修改尺寸更新时的相关判定条件

部件的尺寸变更后,将向子部件添加RESIZE任务。

github.com/lc-soft/LCUI - d17da6d8b6e3a6e3958743dd427e38c2922986a0 authored about 9 years ago by Liu Chao <[email protected]>
函数名称恢复为 LinkedList_Link

名称和 LinkedList_UnLink 对应。

github.com/lc-soft/LCUI - b2fe31e678363cb017995d3ba9ffeba3949a5fb8 authored about 9 years ago by Liu Chao <[email protected]>
修改测试程序位置

github.com/lc-soft/LCUI - fe9937911e7a396c3675799bd06f895a2986020d authored about 9 years ago by Liu Chao <[email protected]>
调整数据结构,修正绘制文字时的定位计算

github.com/lc-soft/LCUI - c0b6a9dab3201fe1825a9e7cc9a87dc4395e8999 authored about 9 years ago by Liu Chao <[email protected]>
调整代码,修正一些BUG

github.com/lc-soft/LCUI - d0d19e09fcb6d35936ba2e33a0bac20ffa6f96b8 authored about 9 years ago by Liu Chao <[email protected]>
修改 strtrim()

github.com/lc-soft/LCUI - a005ca08359ac73eece9737f89a01ae0a2db69f2 authored about 9 years ago by Liu Chao <[email protected]>
将 LinkedList_Link() 宏改成函数

用宏在操作变量时会有问题。

github.com/lc-soft/LCUI - 67751a2717d5d797540f50262a6582a4ce3fcc08 authored about 9 years ago by Liu Chao <[email protected]>
补充文件

github.com/lc-soft/LCUI - a828e2d0b6e213d7dd765e95a1d0b2d1e1103210 authored about 9 years ago by LC-SOFT <[email protected]>
调整遍历时的条件判断

github.com/lc-soft/LCUI - 3c0f41beba84e3881ed48ee000a3e5702f84640e authored about 9 years ago by Liu Chao <[email protected]>
去除 linux 环境下的编译警告

github.com/lc-soft/LCUI - 3fbc01caecf79dc0cc6626088783be0464daea73 authored about 9 years ago by Liu Chao <[email protected]>
修改字体位图绘制算法,调整部分代码

github.com/lc-soft/LCUI - e50b73f516a36a1da1cdac3a473741b8bf248024 authored about 9 years ago by Liu Chao <[email protected]>
调整字符串处理

纠正类名分割时的起始位置计算
纠正转义字符处理时的遍历
去除 content 属性值两边的双引号

github.com/lc-soft/LCUI - bf55cb1034b1d746bfc061d723da0ebe27bb9e44 authored about 9 years ago by Liu Chao <[email protected]>
纠正链表拼接功能的代码

github.com/lc-soft/LCUI - 912f57c97ebd78ffd2e949419afe38da3ba88d78 authored about 9 years ago by Liu Chao <[email protected]>
为 CSS 解析功能添加 content 属性支持

当部件有多个样式类时样式计算会有问题, 后面几个类的样式貌似没计算进来, 需要解决。

github.com/lc-soft/LCUI - 0f5977875ad0f2e2a00558f45bcf56890b9d2bf0 authored about 9 years ago by Liu Chao <[email protected]>
补上字符串结束符,避免读到错误数据

github.com/lc-soft/LCUI - a0f26da62008396cf51f693f155df63983ffd6d0 authored about 9 years ago by Liu Chao <[email protected]>
取消使用 inline,将头文件中的函数定义转移至源文件中

github.com/lc-soft/LCUI - 78d388d0c97e2516533d6493ab4772f5e460a0fb authored about 9 years ago by Liu Chao <[email protected]>
更新项目配置

github.com/lc-soft/LCUI - f6ab0596f5888bde77fcc126aac2de27d974e07c authored about 9 years ago by Liu Chao <[email protected]>
分离 LCUI.h 中的 WinMain() 定义

新建了个 LCUIMain 静态库项目, WinMain() 的定义代码已转移至该项目中的 win32_main.c, 里。
以后LCUI的win32版应用程序需要再链接 LCUIMain.l...

github.com/lc-soft/LCUI - 57beade482170700ab5e980230a4ab6211ff11fd authored about 9 years ago by Liu Chao <[email protected]>
修改引用的图像数据

&image 改为 &cache->image

github.com/lc-soft/LCUI - d9ff065b66f233e445eae85033a7acc60e814c1c authored about 9 years ago by Liu Chao <[email protected]>
补充 box-shadow 的解析代码

github.com/lc-soft/LCUI - c59fc92f41b62d26e961e93c27ab5254a85fbe9b authored about 9 years ago by Liu Chao <[email protected]>
修改部件排版和部件销毁操作代码

github.com/lc-soft/LCUI - 4f2f15680e0d02d2d2f640d005db3797791be15e authored about 9 years ago by Liu Chao <[email protected]>
修改函数命名

HandleTopLevelWidgetEvent() 更名为 Widget_PostSurfaceEvent(), 并转移至
widget_event.c 中。

更改了 HandlePos...

github.com/lc-soft/LCUI - a757a37074d224a097c95598fdd775cdebcd2c82 authored about 9 years ago by Liu Chao <[email protected]>
添加 widget_background.c

缓存后的图像数据还有点问题, 访问失效, 以后再解决。

github.com/lc-soft/LCUI - 25d0fa6e2366cd71766e7207cef58cc6fd8a1584 authored about 9 years ago by Liu Chao <[email protected]>
更新测试代码

相关文件暂就不上传了。

github.com/lc-soft/LCUI - 293c9e83ec7730e66c7e7a9af8eeb0c43cb6862c authored about 9 years ago by Liu Chao <[email protected]>
部件初始化时设置为可见、修正字符串的拷贝

github.com/lc-soft/LCUI - 6eb2022c869fd6d347eba90eb02dcc150ecd2fc7 authored about 9 years ago by Liu Chao <[email protected]>
修改问题代码

github.com/lc-soft/LCUI - 022b2e4a9d6d236b9abb1e0e45c14c0f709ddabb authored about 9 years ago by Liu Chao <[email protected]>
调整链表的 Insert 接口

github.com/lc-soft/LCUI - 62e27755797145581a32c128dc94c12e3be75419 authored about 9 years ago by Liu Chao <[email protected]>
完善 Widget_Unwrap() 实现代码,更新部件树的信息打印功能

github.com/lc-soft/LCUI - f15765841440e70076d0953dd45aa2968e4866c6 authored about 9 years ago by Liu Chao <[email protected]>
调整处理部件任务时的遍历方式

github.com/lc-soft/LCUI - ca9dbc57fa4a9f16c9ba64320ce5e8a1154694cb authored about 9 years ago by Liu Chao <[email protected]>
完善链表操作接口

github.com/lc-soft/LCUI - ce0e331eee3c439f195573d9ffbb197f92835783 authored about 9 years ago by Liu Chao <[email protected]>
修复运行时导致异常的代码

还有部分问题待解决

github.com/lc-soft/LCUI - d41ce6b20c31e2b31c7d087e90326fba1af12511 authored about 9 years ago by Liu Chao <[email protected]>
更改链表接口及用法,代码有待测试完善

github.com/lc-soft/LCUI - 0b2246a9207fb1c4740d6febc23b4e6dd60e39db authored about 9 years ago by Liu Chao <[email protected]>
完善XML文档解析功能

github.com/lc-soft/LCUI - 8c3d20cff2e8c4ab2719a5bd483a1fcd064c3beb authored about 9 years ago by Liu Chao <[email protected]>
修改 CSS 解析代码,补充CSS代码的注释处理

github.com/lc-soft/LCUI - 576ac8d01100d6b9051fdbd76f1c4c2491182ddd authored about 9 years ago by Liu Chao <[email protected]>
补充文件忽略规则

github.com/lc-soft/LCUI - e4e072506020416a727f9f70d8e9f355c194d8af authored about 9 years ago by Liu Chao <[email protected]>
小调整

github.com/lc-soft/LCUI - d7385ed7178bf0b9eaa715ae938a2302e8ef7aff authored about 9 years ago by Liu Chao <[email protected]>
部件默认为可见状态

github.com/lc-soft/LCUI - 50ffe74465008196d9f6595236af92dba08d8dfb authored about 9 years ago by Liu Chao <[email protected]>
更新XML解析模块, 添加支持资源载入功能

待测试

github.com/lc-soft/LCUI - 1de50e934d2e09a59991f44a41deffa86bb51e2a authored about 9 years ago by Liu Chao <[email protected]>
更新CSS解析模块,添加支持从CSS文件中载入样式数据

待测试。

github.com/lc-soft/LCUI - 591ddb74a6c1abe736c465bdb68ed9cd714c40fa authored about 9 years ago by Liu Chao <[email protected]>
补充空格处理,添加 LCUIWidget_PrintTree()

从 xml 中载入部件时, class 属性中会包含多个类名, 这些类名是用空格隔开的, 因此, 做了些调整, 方便添加多个类名。
为方便调试, 添加了 加 LCUIWidget_PrintT...

github.com/lc-soft/LCUI - a5b2641ac88ba437828d85db730fe78085be16d5 authored about 9 years ago by Liu Chao <[email protected]>
消除编译警告

github.com/lc-soft/LCUI - 65b156d48881a6ec1fc79176b31ddbc4f9b9b71d authored about 9 years ago by Liu Chao <[email protected]>
Merge branch 'develop' of github.com:LC-Team/LCUI into develop

github.com/lc-soft/LCUI - caf0a829480dade734e58b998436748eca1f75c6 authored about 9 years ago by Liu Chao <[email protected]>
移除case FT_PIXEL_MODE_BGRA

travis-CI 服务器上的freetype头文件中貌似并没有FT_PIXEL_MODE_BGRA的定义, 反正暂时用不到, 删掉好了。

github.com/lc-soft/LCUI - e278a93fb1775cc595405be9a3135e8876b59cf2 authored about 9 years ago by Liu Chao <[email protected]>
Merge remote-tracking branch 'origin/develop' into develop

github.com/lc-soft/LCUI - 9147af98ad5ee00eab3bd156f18756a2bb7a289e authored about 9 years ago by Liu Chao <[email protected]>
小调整,添加 dp 单位

github.com/lc-soft/LCUI - 5b22042fd7694fa608aca43afa9354c827381b12 authored about 9 years ago by Liu Chao <[email protected]>
更新文件过滤规则

github.com/lc-soft/LCUI - 8fe5e4a16988af62b1c0b2929c314c7234b32ad0 authored about 9 years ago by Liu Chao <[email protected]>
更新 autotools 配置文件,调整编译参数生成

github.com/lc-soft/LCUI - 2dc4eea1ff7482e29046c0bedf558bb14a63af90 authored about 9 years ago by Liu Chao <[email protected]>
添加 libxml2.lib 依赖项

github.com/lc-soft/LCUI - 36349d3492ef83d06e79b0d0f3ddcd2e8d9dc5f2 authored about 9 years ago by Liu Chao <[email protected]>
添加XML解析支持

已经添加XML解析功能的代码, 现在能根据解析结果来创建相应结构的部件树, 但功能有待测试。

github.com/lc-soft/LCUI - d1b7dd94ed7d5c815ad60be01ed52ac98afe1786 authored about 9 years ago by Liu Chao <[email protected]>
Merge branch 'develop' of github.com:LC-Team/LCUI into develop

github.com/lc-soft/LCUI - 41652bf2598e1438e4fa30d3db8d14ff584d0a0d authored about 9 years ago by Liu Chao <[email protected]>
移除无用文件

github.com/lc-soft/LCUI - 4db9119360da7047ec25cb0f4fbcd08da9efe140 authored about 9 years ago by Liu Chao <[email protected]>
解决 linux 环境下的编译错误

github.com/lc-soft/LCUI - 59147c90dc2611c1f716155862a78818fd4412ed authored about 9 years ago by Liu Chao <[email protected]>
完善 CSS 优先级判定功能

github.com/lc-soft/LCUI - a4994cc70daab33605143dd4ab689beced86cff2 authored about 9 years ago by Liu Chao <[email protected]>
添加 NEW() 宏,调整部分代码

github.com/lc-soft/LCUI - 23d24768fce74fef98a2136f393492ad530ab086 authored about 9 years ago by Liu Chao <[email protected]>
将样式的缓存任务调整至最后执行

之前在更新样式后就直接缓存样式, 这会影响后面任务的样式对比结果, 例如: 可见性处理, 由于对比前后样式无变化, 被判定为可见性未变化,
使得部件没有正常显示出来。

github.com/lc-soft/LCUI - c04a4d352622a9a1a8568a7ade86bb47945c7e6b authored about 9 years ago by Liu Chao <[email protected]>
纠正绘制文字时的引擎选择逻辑

github.com/lc-soft/LCUI - 448942cbb9d4234da92c275a42b86f0040e46458 authored over 9 years ago by Liu Chao <[email protected]>
更新测试代码

github.com/lc-soft/LCUI - 94c779cb1a22530b5d5a81685e505782433c39ce authored over 9 years ago by Liu Chao <[email protected]>
纠正选择器结点的遍历条件,调整 sidebar 部件的 css 样式

github.com/lc-soft/LCUI - b0ee53404eeff0968d7b4f26d7716f1357064d4f authored over 9 years ago by Liu Chao <[email protected]>
调整 ToString() 宏定义

之前的 ToString() , 逗号多了编译器会报错说参数过多,现已改用另一种方法。

github.com/lc-soft/LCUI - 5cc6f0f761172240bb638ca611d3cee0f97f83b7 authored over 9 years ago by Liu Chao <[email protected]>
纠正字体路径的记录方式

github.com/lc-soft/LCUI - 2486273de899a7cb924bf854d344cc9f1cbed80f authored over 9 years ago by Liu Chao <[email protected]>
转移 trim() 定义,调整 string.c 的代码

github.com/lc-soft/LCUI - b123ddff31422a7c6c87b29c965aa205f990bb30 authored over 9 years ago by Liu Chao <[email protected]>
纠正字体绘制时的 alpha 计算

之前绘制出的文字背景都是白色的, 本应是透明背景, 现已纠正。

github.com/lc-soft/LCUI - 319a716818fa0645aea2dc913460ea61e1dbac34 authored over 9 years ago by Liu Chao <[email protected]>
补充 text-align 和 line-height 属性支持,移除无用代码

github.com/lc-soft/LCUI - b9d0e59bbbe3e77b6509d1937b686c55c61bf47b authored over 9 years ago by Liu Chao <[email protected]>
纠正 pandding 的解析

github.com/lc-soft/LCUI - 32b59856e4abce079a8baa4eaf7dd67a1a6c24ce authored over 9 years ago by Liu Chao <[email protected]>
更新测试程序

github.com/lc-soft/LCUI - 073ab3c7ca1bee209a1b969ce218d47bf5a41f9a authored over 9 years ago by Liu Chao <[email protected]>
纠正 TextView 部件的扩展样式的解析错误

github.com/lc-soft/LCUI - e2324514851a7f35bd423f540db66a070211e781 authored over 9 years ago by Liu Chao <[email protected]>
调整部件样式更新处理

github.com/lc-soft/LCUI - 305a99f60d7933f39fa43a222f8d31c4079108b7 authored over 9 years ago by Liu Chao <[email protected]>
调整字体样式的解析功能

github.com/lc-soft/LCUI - 3d81faa5404749d07d0679eebf93d4fdc9b759e2 authored over 9 years ago by Liu Chao <[email protected]>
更新测试代码

github.com/lc-soft/LCUI - fdfc480bbe19ebdc8e1cb964aa602bc0a6b59505 authored over 9 years ago by Liu Chao <[email protected]>
移除 SVT_DATA

嘛, void *data 属性不好复制和销毁, 真需要存储自定义数据的话, 还是自己另外用其它方法实现, 至少不应该把数据之间存样式表上。

github.com/lc-soft/LCUI - 4b0f897832da618e78fcc2259372545c62159a9d authored over 9 years ago by Liu Chao <[email protected]>
添加文本样式解析代码

github.com/lc-soft/LCUI - 2c9f228abfe6d60ebb9bab445cff864fd46816cc authored over 9 years ago by Liu Chao <[email protected]>
修改样式表结构和操作函数的实现代码

由于为 LCUI_Style 结构添加了字符串支持, 样式表的操作不能再是直接复制了, 需要追加字符串的内存分配/释放操作。
考虑到样式表属性项是动态添加的, 样式表的长度会出现不一致的情况,...

github.com/lc-soft/LCUI - 5193e611eee36c6646e5e1cca362c13b6c8a1243 authored over 9 years ago by Liu Chao <[email protected]>
修改字体设置接口,添加支持设置多个字体

考虑到有些字体的字符范围不一样, 例如: 英文字体、中文字体、图标字体, 为了能够在一段文本内混合使用这些字体, 就添加了这个功能,
这样即使一个字体不支持该字, 也可以从候选的字体中获取。
...

github.com/lc-soft/LCUI - 6c574324ad3c08555168e561af6dbc75f1ee805d authored over 9 years ago by Liu Chao <[email protected]>
FontBMP -> FontBitmap,调整接口命名

github.com/lc-soft/LCUI - b3a70e283d3034df68cafb4541d776378824967b authored over 9 years ago by Liu Chao <[email protected]>
调整字体数据的缓存和索引方式,更新部分接口的命名

代码有待继续补充完善。

github.com/lc-soft/LCUI - 874d1c7ddb5466313084ec2a6e405d2a85e3af55 authored over 9 years ago by Liu Chao <[email protected]>
添加支持样式表扩展

github.com/lc-soft/LCUI - 563ee8fa4143130abbc1e1d26da0de490b335398 authored over 9 years ago by Liu Chao <[email protected]>
纠正一些错误

github.com/lc-soft/LCUI - 07d637cd7763f3b38a4454df0295a0de54c5b59b authored over 9 years ago by Liu Chao <[email protected]>
补充 css 解析功能的代码,完善布局代码

100% 会被解析成 0%, 现已纠正。
添加支持 display 和 position 的解析。
在部件尺寸改变时, 追加父级部件的重布局任务。
调整部件可见状态的判定方法。

github.com/lc-soft/LCUI - 77ec80fd73afd81b5e264cc3e9a9ad9b6acd621d authored over 9 years ago by Liu Chao <[email protected]>
更新部件的 hover 状态判定算法

经测试发现,鼠标指针在同级部件间来回切换, 会使它们的父部件失去 hover 状态, 现已纠正。

github.com/lc-soft/LCUI - 7dde9649d782398b7a2ec606b5c12bd32c981ee5 authored over 9 years ago by Liu Chao <[email protected]>
Merge branch 'develop' of github.com:LC-Team/LCUI into develop

github.com/lc-soft/LCUI - 943dc3922a8a47ef2970f7ab6635b4d873e6ec71 authored over 9 years ago by Liu Chao <[email protected]>