profile
viewpoint
Zihan Chen vczh Seattle, WA, USA http://www.gaclib.net Main contributor of @vczh-libraries . Microsoft github account: https://github.com/ZihanChen-MSFT

wuye9036/CppTemplateTutorial 3929

中文的C++ Template的教学指南。与知名书籍C++ Templates不同,该系列教程将C++ Templates作为一门图灵完备的语言来讲授,以求帮助读者对Meta-Programming融会贯通。(正在施工中)

vczh/vczh_toys 1066

This repository contains vczh's toys for black magic codes or experiments

vczh/tinymoe 892

English-like dynamic typing programming language

vczh/gac 484

Moved to https://github.com/vczh-libraries

vczh/herodb 200

Database engine which is either RDBMS or GraphDB

aguai/TMDLang 35

Timebase MarkDown Language

vczh-libraries/VlppOS 22

Minimum Operation System Abstraction

vczh/ScreenToGif 17

🎬 ScreenToGif allows you to record a selected area of your screen, edit and save it as a gif or video.

vczh/WebsitePlayground 16

Play with nodejs

vczh-libraries/VlppRegex 7

Regular Expression

push eventvczh-libraries/Workflow

Zihan Chen

commit sha 1e04e67e3ad0036269e47f9cdea8f16753b9773d

Update WfRuntimeAssembly.h

view details

push time in 3 days

push eventvczh-libraries/Workflow

Zihan Chen

commit sha 3b9976371fbd9fd0c72d3ea9c9f4fecabc51a3d1

...

view details

push time in 3 days

push eventvczh-libraries/Workflow

Zihan Chen

commit sha 0ece9ce4d5297e9cb7d18dfce6365814d2e23404

Update WfLibraryPredefined.h

view details

push time in 9 days

push eventvczh-libraries/Document

Zihan Chen

commit sha a4ba9be22f21149f966ad84a09d86e61731f6bab

Update document

view details

push time in 9 days

push eventvczh-libraries/Document

Zihan Chen

commit sha bc199d82429d36db39f7ac712b13d4d755a3f24e

...

view details

push time in 9 days

push eventvczh-libraries/Workflow

Zihan Chen

commit sha a3a5afc6d0340411e0b27ece64bbc6b48652a58b

Update WfLibraryPredefined.h

view details

push time in 9 days

push eventvczh-libraries/Workflow

Zihan Chen

commit sha 42313c879fd99cd13772b9a8d215a66c8297234e

Update WfLibraryPredefined.h

view details

push time in 9 days

push eventvczh-libraries/Workflow

Zihan Chen

commit sha 0a83e8015587cef083d7428e91b3cde0ec7349af

Update WfLibraryPredefined.h

view details

push time in 9 days

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha f4f8a214893bdb6a381b6ae164b714386f88bc05

...

view details

push time in 9 days

push eventvczh-libraries/Release

Zihan Chen

commit sha 15a7a616f72298995e5f00de7010e3b6cc195dd1

Update TODO.md

view details

push time in 10 days

issue commentvczh-libraries/GacUI

GacUI用来做视频播放器的例子

可以用Direct2DElement,你知道怎么往d2d上播放视频,就可以做。Clock是一个直接使用D2D画时钟的demo,可以参考。

lilei

comment created time in a month

push eventvczh-libraries/Release

Zihan Chen

commit sha 46421d280a5d42cba557c2dac6cc39db67b5f83d

...

view details

push time in a month

push eventvczh-libraries/Workflow

Zihan Chen

commit sha 239763d08f4784ab31ab20647a824d7eda7218a4

Update WfAnalyzer_ExpandBindExpression.cpp

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 0dbbf91d4e113d2da02046c749ee97f3566fd795

Update bind_observe.xml

view details

push time in a month

push eventvczh-libraries/Workflow

Zihan Chen

commit sha b9bc8898fedf977ce4cc76839ae4eeb715d62068

Update release

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 6f5bb81c82bc2975c173b6df35118a8f65fd7c30

Update bind_observe.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 9348518d3f8f60d93550a92e9d529df0b3eb650c

Update bind_observe.xml

view details

push time in a month

push eventvczh-libraries/Release

Zihan Chen

commit sha 9a7dcdca9b1f3fed39bc7d2b6e1f748f6d18c443

Update TODO.md

view details

push time in a month

push eventvczh-libraries/Workflow

Zihan Chen

commit sha 687af17300e7657360394cf45ccd2532760c6ced

Fix crashing on new empty interface

view details

push time in a month

push eventvczh-libraries/Workflow

Zihan Chen

commit sha d39716f8f7f8fff8fbb79e4a18e705cb31325076

Fix crashing on x.observe()

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 85ae8b24a4bed86badf7f5d355e236f03ee3e3e2

Update bind_observe.xml

view details

push time in a month

push eventvczh-libraries/Workflow

Zihan Chen

commit sha 1ece004d458b4b7edce5143f7f113c6c566e3c2a

Rename &=>FlagAnd |=>FlagOr

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 32c1e52d4e51ad0be2129b087354de7373fab34b

Update bind_observe.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha c8570c1d07ea876d5173aa3b805bf6488487e6ab

...

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 238728713f96472d828956d3caac17b80351eb2b

...

view details

push time in a month

push eventvczh-libraries/Workflow

Zihan Chen

commit sha 3f0e6c0418573eeeb1310e994d83f63e4645ab8f

Update README.md

view details

push time in a month

push eventvczh-libraries/vczh-libraries.github.io

Zihan Chen

commit sha 88e68393ca84292d7284a530b0f14845f0cba1c6

Update document

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha d5cfbf8cad4bf327915a8991d7044febf5be0636

...

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 191ab7de7245a2a9deb130c9a218c521d486818c

Update state_calculator.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha ba5e7334834413d6940ba50f8869d20fdc3d7ce0

...

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 74c7931250c3e5777d76c216d96ecc1922558d62

Update state_switch.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 364bd3913a015be9e78719ee00c6fe2ee95400fc

Update state_switch.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 63100046021f800ad275078353c8a510bf188559

Update state_switch.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha c2dfd01bb0940f0fff1a64aefca6c7d7ff9aceea

...

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha ee27cf8858f7fe16087f630b884d6f68b260b7ec

Update state.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 4acdea7770bf6cc29e6af8c6e5c9ef537054c2ea

...

view details

push time in a month

issue closedvczh-libraries/GacUI

ViewModel-eval 赋值给Member时空指针异常

在Resource里组合多个页面时

<Window Text="GacPass" ClientSize="x:480 y:320">
  <gacpass:RegisterWindow Visible-bind="not ViewModel.MainPasswordSet" ViewModel-eval="ViewModel.RegisterViewModel"></gacpass:RegisterWindow>
  <gacpass:LoginWindow Visible-bind="ViewModel.MainPasswordSet and not ViewModel.LoggedIn"></gacpass:LoginWindow>
  <gacpass:CodeBookWindow Visible-bind="ViewModel.MainPasswordSet and ViewModel.LoggedIn"></gacpass:CodeBookWindow>
</Window>

ViewModel.RegisterViewModel只能当参数(ref.Parameter)传给RegisterWindow,但是使用ref.Members就会空指针

CHECK_ERROR(thisValue != nullptr, L"The this pointer cannot be null.");

如果想用Members该怎么写呢?

closed time in a month

roodkcab

push eventvczh-libraries/vczh-libraries.github.io

Zihan Chen

commit sha a9ac8ad64ffe21994c92a5a4e3dfc7abd430bd4e

Update document

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 8b5789d4c87751ea51948090c83dbb21924f3562

Update coroutine_custom.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha ca33cb85667156ba2acfa39814e9894ca574ce42

Update coroutine_custom.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 11006827371b2b2839c77b860a56f959a9ddd6b8

Update coroutine_custom.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha be3cd6bf9d1035a10bcf2a340a27cec8432f7b04

Update coroutine_custom.xml

view details

push time in a month

issue commentvczh-libraries/GacUI

关于文本输入

这个是要做的,不过不重要,所以先做别的。

总的来说,如果你要跟输入法互动,你要用API主动去通知输入法的,不是什么都不管他自己就有的。

mingy532

comment created time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 7a1b6c3f8fbde820499027e2b9302419e8160d4a

...

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha db2db9a367bf1897127d948bf45d3058a7beff3c

Update coroutine_async.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha f7c045507dc3428ca66c9b33d51268311a19affe

Update coroutine_async.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 25fbf3c9799fb2bce018139f3e78033386209254

Update coroutine_async.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 3f23235408bbe25beb04fbc1ff4ec2461d9efe70

...

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 0c387f2f6061624966c0777b2892433e8b5a0fd3

...

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha d908eeb65c8bc934175f970a6a447ae8ed89e42e

Update tutorial.xml

view details

push time in a month

PR opened roodkcab/gacpass

做了点小修改
  1. 干掉没用的GacUILite,因为你已经把C++文件添加到Gacpass里面了,引用这个项目是在做无用功。
  2. #include 目录用C:\Users\buaac\Projects\GacPass\显然是不对的,要用$(ProjectDir)代替。
  3. 改了readme。
  4. 你接下来还要自己选个license,github有提供模板,可以直接用。
  5. #include目录和宏没有在所有configuration里面都写满,我给补上了。

NOTICE

本机没装VS2019,裸奔修改xml,不保证可以成功编译(逃

+37 -29

0 comment

5 changed files

pr created time in a month

push eventvczh/gacpass

Zihan Chen

commit sha d00ea735e2380a2d4d733c07beb1274fec26d48f

Make some fix

view details

Zihan Chen

commit sha 60b8baf6c619dcd7f4fdd467399192f1d8976df2

Update README.md

view details

push time in a month

fork vczh/gacpass

a password management software using GacUI.

fork in a month

startedroodkcab/gacpass

started time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 66adbd87de33618e075a45077d54d2b8aaba1202

Update coroutine_async.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha c603405ae10a6303d51ad27181c366bb32c5ca17

...

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 0eec427a6ae76dcda7541483f3d08fb94d4eeff0

Update coroutine.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 70578d0856653885a49c06acbf51d58b744ace1d

...

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 387645b026b55d74469111b45040c6f183d5e2dc

Update bind.xml

view details

push time in a month

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 9a23f26611796fef61261740a7ef0e44a1c033de

...

view details

push time in a month

push eventvczh-libraries/vczh-libraries.github.io

Zihan Chen

commit sha 44cacce8e453bd042fa3be1058d3645f28596472

Update document

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 3dafa5e2dbac9221e4cc20cfb78fc4ace23bc636

Update stat.xml

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 7148f1759ecd359fcdec7e88e6191023190d16d2

...

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 4d293dc80b82c95bde1061b34d2e17d226251b3c

Update stat.xml

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 09c02562064cd2e607e90994280f229f31711d70

Update expr.xml

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 53651ff9f155a1e78e4bdd8242ea3d18c6d47928

Update expr_binary.xml

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha fa85dd880d62e6416c8bf6ae56df34ab0d2fc190

...

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha df7d5e4061c8abc96fb1af5226e21b82faeb88c9

Update expr_unary.xml

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 93c0ad8ee0511f15d2f2b0c1e0156715cb1c6a81

...

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha c7fd1a0a877218aeb913b786dbd6f23b11e6271c

...

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha be18f946fcc1457bbca206ebe0062bdaa56cfb76

Update contact.xml

view details

push time in 2 months

issue commentvczh-libraries/GacUI

Object 序列化

https://github.com/vczh-libraries/Workflow/blob/master/Source/Runtime/WfRuntimeAssembly.cpp

其实也不是一点都没有,这个文件里面就有一个完整的例子,不过因为做的不是很general,所以我没写进文档里。这个是专门序列化成二进制文件的。

roodkcab

comment created time in 2 months

issue commentvczh-libraries/GacUI

Object 序列化

你具体想要怎么被序列化?做一个序列化其实需要很多内容的,譬如怎么变成JSON,怎么变成XML,怎么变成其他格式,甚至是二进制文件什么的,东西还挺多的。

roodkcab

comment created time in 2 months

issue closedvczh-libraries/GacUI

Table control 能否实现aggregatable接口

想把多个table界面写到不同的xml里去,发现必须要在table上套一层实现了aggregatable的控件(custom/tabpage),which只能 <Instance name=""> <Instance ref.Class="LoginWindow"> <CustomControl> <Table> </Table> ... 不想把多个界面的Workflow都写在一个Resource文件里

closed time in 2 months

roodkcab

issue commentvczh-libraries/GacUI

Table control 能否实现aggregatable接口

目前只有Window、CustomControl和TabPage可以被继承,其他的我都建议放到CustomControl里面。

roodkcab

comment created time in 2 months

issue commentvczh-libraries/GacUI

mvvm转场动画如何实现?

不知道你具体遇到了什么问题,但是原则上,既然是动画,那当然你要自己去算动画的运行过程了,包括这些控件的位置什么的。目前的GacUI只提供了动画的基础部件,没有这些辅助的功能,要自己写公式实现。

roodkcab

comment created time in 2 months

push eventvczh-libraries/WebsiteSource

dependabot[bot]

commit sha 23b28cdb26835fc2fc916c9610158b4a5ec781ab

Bump elliptic from 6.5.2 to 6.5.3 (#2) Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

push time in 2 months

PR merged vczh-libraries/WebsiteSource

Bump elliptic from 6.5.2 to 6.5.3 dependencies

Bumps elliptic from 6.5.2 to 6.5.3. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/indutny/elliptic/commit/8647803dc3d90506aa03021737f7b061ba959ae1"><code>8647803</code></a> 6.5.3</li> <li><a href="https://github.com/indutny/elliptic/commit/856fe4d99fe7b6200556e6400b3bf585b1721bec"><code>856fe4d</code></a> signature: prevent malleability and overflows</li> <li>See full diff in <a href="https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

0 comment

1 changed file

dependabot[bot]

pr closed time in 2 months

issue commentvczh-libraries/GacUI

ViewModel-eval 赋值给Member时空指针异常

可能可以这样 ViewModel-bind="ViewModel.RegisterViewModel ?? null" 不过我比较好奇,ref.Parameter是在构造函数的参数,赋值了之后就不能改了,为什么会是null?

roodkcab

comment created time in 2 months

push eventvczh-libraries/vczh-libraries.github.io

Zihan Chen

commit sha 2143a7aea3bf6e78bc589b5b8a6c61aa650f83e8

Update document

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 7d9e1d5f3639adc496853cc8fe0cdf0927b60187

...

view details

Zihan Chen

commit sha 842a5628320d3254bac00bef8ed176a11d5cad33

Update interface_prop.xml

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 4d0f21eaa10b73504e43621f5d8af04b590fdd9b

...

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha f465b732525620527b9e9fc27805f493b8114453

Update class_new.xml

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha a93487d87c64345d8578806ce6f646a33e55bf41

Update class_inherit.xml

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha e0ae8df2a40a63411d8d1d4a1cdcc0389f508fd7

...

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha c69786158cff5d953d46e0d4dc0a907fbaa79c5f

...

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 7c51607f468f08967b7866f98bd47ade3cf7f0de

Update type.xml

view details

push time in 2 months

push eventvczh-libraries/Workflow

Zihan Chen

commit sha d2356e2ff6570b02d2e026e40685ebd1b3c7bd86

...

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 2440f2c39b3d4ce26462de3de824db07e039f552

Update interface_using.xml

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 35eadd1d1f0b5839a52724d1a90b9e501d9755fc

Update interface.xml

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha dedf1622dbf421d8bf59cd204a32207de1db18a9

Update interface_using.xml

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha f4197b2d6500712389279098abd40532c62c0d3b

...

view details

push time in 2 months

push eventvczh-libraries/Release

Zihan Chen

commit sha 02086f85af57fce46fc6cea4916ed233263bd84a

Update TODO.md

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha f42247545762ec51193efa9b6b8b81805d63fd7e

...

view details

push time in 2 months

issue openedDotJoshJohnson/vscode-xml

Auto complete does not work well against <![CDATA[ ]]>

Description When I type "<![CDATA[", the editor types "]]>]" for me instead of "]]>", now it becomes "<![CDATA[|]]>]", "|" is where the cursor is located.

Extension Version 2.5.1

VS Code Version 1.47.3

Operating System Windows 10 1903

created time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 0a6e52720bb64815a2b147bfa272bf39d8e222ff

...

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha d9b8562f98677d608395e2d2aeeae0fadb157711

...

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 299c8324efd63b7248acf7c4cdb4bd0730c6706b

...

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 22a56cf621ead2ef5b5ac6a86e26ccb2dc84b8c8

...

view details

push time in 2 months

push eventvczh-libraries/WebsiteSource

Zihan Chen

commit sha 4798ab20fdcb82eb331f9bd78b54959d2e91eb24

...

view details

push time in 2 months

more