28 Commits
Author SHA1 Message Date
Liu 1b8c8ef6bd chore(release): 3.0.0-alpha.2 2026-11-24 22:01:30 +08:00
Liu 539e3b28a5 chore(release): 3.0.0-alpha.1 2026-11-22 21:59:41 +08:00
Liu cd987b81d0 chore(release): add npm version lifecycle script
- sync versions.json, xmake descriptors, generated headers and the CI TARGET_* values from the version npm just wrote
- generate the commit summary into CHANGELOG.md; human-readable notes are written manually on the Releases page
- drop CHANGELOG.zh-cn.md and the automatic release-notes step
- preserve CRLF in sync-versions so --check passes on Windows
2026-11-22 21:59:12 +08:00
Liu b0c031f8dc feat: add window icon support
- Add ptk_window_set_icons with Win32 WM_SETICON, X11 _NET_WM_ICON and fb no-op.

- Add LCUI window/default icon APIs, DPI-aware HICON selection and pre-rendered built-in icon assets.

- Add pandagl memory image readers and fix bilinear zoom edge sampling.

- Cover file/data icons, defaults and high-DPI sizes with integration tests.
2026-11-21 23:26:34 +08:00
Liu dc0ab38546 feat(styles): add switchable accent color themes
- generate an override stylesheet for each preset from style-nova
- add the ui_theme_* API, custom colors and single-slot loading
- persist the choice and add the navbar color picker
- keep badge variants, tooltip arrows and swatches consistent
2026-11-21 23:26:31 +08:00
Liu 2c4958b427 feat(doc-viewer): show repository icons, star counts and version badge
- add monochrome GitHub and Gitee assets with light/dark CSS backgrounds
- replace the GitHub text link with icon links for both repositories
- fetch and cache repository star counts at build time and render them
  beside the icons when available
- abbreviate counts of 1000 or more as `Nk` and separate the navbar
  actions with vertical dividers
- move the version number from the navbar to a badge below the Home title
- harden the star script for cold checkouts: root-relative paths, request
  timeouts, cache fallbacks and CI coverage
2026-11-21 20:53:30 +08:00
Liu 9217b1ca3a feat(styles): add light and dark theme support
- share shadcn neutral color tokens between both Tailwind configs
- rewrite Tailwind dark selectors into LCUI-compatible descendant selectors
- theme style-nova components and doc-viewer surfaces for dark mode
- generate GitHub Light and GitHub Dark syntax line pairs for code blocks
- support alpha channels in text style tag colors
- keep focus rings and scrollbars visible on dark surfaces
- use a neutral code surface instead of GitHub's blue-tinted background
2026-11-15 23:40:42 +08:00
Liu bbdb80f045 feat(styles): centralize widget styles in the nova default theme
Manage all built-in widget styles in one stylesheet. `nova` is the
default theme; further themes will be added under src/styles.
2026-10-18 15:42:28 +08:00
Liu 7f9f52b904 chore: update copyright and email 2026-08-05 22:42:16 +08:00
Liu db5ab3dc36 ci: improve format check reliability
- Use project-local clang-format from node_modules/.bin instead of system
  PATH to avoid version mismatches between CI and development environments
- Print clang-format version and binary path in CI logs for debugging
- Add format:check script to package.json so `npm run format:check` works
- Add `needs: format` to build job so formatting failures block the build
  and don't waste CI resources
2026-08-05 22:42:15 +08:00
Liu 4dbd60875c ci: use clang-format-node for consistent formatting 2026-08-05 22:42:13 +08:00
Liu 9040684246 ci: add pre-commit formatting via lint-staged and clang-format 2026-08-05 22:41:22 +08:00
Liu b5f5eb08ea chore: add update-copyright script 2024-12-07 13:30:29 +08:00
Liu 41b5262c00 chore: remove devDependencies 2024-05-13 22:49:23 +08:00
Liu f5704386e1 chore: update commitlint config 2023-04-01 22:36:04 +08:00
Liu d082a4de84 chore: remove unused scripts 2023-04-01 22:34:28 +08:00
Liu 85958e4405 chore(release): 2.2.0 2021-05-31 23:28:36 +08:00
Liu 43038b146f chore: remove clang-format
error: cannot find executable "clang-format"
2020-10-07 21:53:35 +08:00
Liu 345031d74c chore(release): v2.1.0 2020-07-05 22:35:56 +08:00
Liu 10805d104e build: update version to 2.0.0 2020-03-01 20:16:44 +08:00
Liu acd29f950e chore: remove unused dependency 2019-12-09 22:19:50 +08:00
Liu 2929ea6e7e build(scripts): remove build-win-dist.js 2019-12-01 19:44:31 +08:00
Liu 2242708e77 build: 1.2.0-beta version 2019-06-17 22:37:29 +08:00
Liu 6d495cbafe build: add build-win-dist script 2019-03-10 14:20:18 +08:00
Liu Chao 2bc5cff57c chore: update version to 1.0.0-beta.4 2018-07-22 14:23:57 +08:00
Liu Chao 60811c09ab chore: v1.0.0-beta.3 2018-05-07 20:47:13 +08:00
Liu Chao 1b46c00305 chore: add clang-format 2018-03-24 18:06:12 +08:00
Liu Chao d2282ba6a6 chore: add commitlint 2018-03-24 15:20:08 +08:00