Commit graph

1357 commits

Author SHA1 Message Date
copilot-swe-agent[bot]
739add6a63 Fix version reference in workflow comment
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 10:12:50 +00:00
copilot-swe-agent[bot]
b67179d9c6 Fix build workflow by building wayland 1.23.1 from source
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 10:12:02 +00:00
copilot-swe-agent[bot]
f1b97a5453 Add path filters to workflows and create docs linting workflow
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 10:08:44 +00:00
copilot-swe-agent[bot]
c13f7a6165 Add explicit permissions to build workflow for security
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 10:01:22 +00:00
copilot-swe-agent[bot]
831dc99146 Fix version consistency in workflow documentation
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 10:00:50 +00:00
copilot-swe-agent[bot]
ca33f1d7ec Add workflows documentation
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 10:00:20 +00:00
copilot-swe-agent[bot]
3f9c37967a Add build workflow for CI/CD
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:59:43 +00:00
copilot-swe-agent[bot]
173a24d931 Initial plan 2026-02-18 09:57:44 +00:00
Ricardo Squassina Lee
ebe407b85b
Merge pull request #5 from squassina/copilot/translate-comments-to-english
Translate Chinese comments to English
2026-02-18 06:56:00 -03:00
copilot-swe-agent[bot]
0bcc5d7546 Address code review feedback: improve comment clarity and remove duplicate
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:52:08 +00:00
copilot-swe-agent[bot]
2c181fcb21 Translate all Chinese comments to English in source files
- Translate comments in src/client/client.h
- Translate comments in src/config/parse_config.h
- Translate comments in src/data/static_keymap.h
- Translate comments in src/dispatch/bind_define.h
- Translate comments in src/ext-protocol/*.h
- Translate comments in src/fetch/*.h
- Translate comments in src/layout/*.h
- Translate comments in src/mango.c

All Chinese comments have been accurately translated to English
while preserving the technical meaning and context.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 09:50:35 +00:00
copilot-swe-agent[bot]
288710ad9e Translate Chinese comments to English in mmsg.c and animation files
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:40:42 +00:00
copilot-swe-agent[bot]
11cf138ed5 Initial plan 2026-02-18 09:37:27 +00:00
Ricardo Squassina Lee
2c567cd38a
Update project version to 0.12.3-squassina 2026-02-18 06:36:55 -03:00
Ricardo Squassina Lee
3ae1c3b4e1
Merge pull request #4 from squassina/copilot/review-agent-responses
Fix documentation inconsistencies in keybindings and configuration
2026-02-18 06:22:50 -03:00
copilot-swe-agent[bot]
a43d87d624 Fix keybinding conflicts and documentation inconsistencies
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:19:13 +00:00
copilot-swe-agent[bot]
9f93921cdf Initial plan 2026-02-18 09:13:10 +00:00
Ricardo Squassina Lee
2d42571423
Merge pull request #3 from squassina/copilot/update-documentation-for-mangowc
Comprehensive documentation overhaul for new user onboarding
2026-02-18 06:12:29 -03:00
Ricardo Squassina Lee
30d6acea0c
Merge pull request #2 from squassina/copilot/fix-security-issues
Fix critical security vulnerabilities in string handling and memory management
2026-02-18 06:10:11 -03:00
Ricardo Squassina Lee
433a14af4e
Merge pull request #1 from squassina/copilot/improve-code-readability
Improve codebase readability: deduplicate animation code, document macros, translate comments to English
2026-02-18 06:09:43 -03:00
copilot-swe-agent[bot]
1350b7787a Final code polish for consistency and correctness
- Use int32_t consistently in all loops
- Add zero-length check before memcpy
- Improve error detection in strtol (comment clarification)
- Ensure null terminator always has space reserved

Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:04:20 +00:00
copilot-swe-agent[bot]
3f0c11b068 Translate final Chinese comments in mango.c and parse_config.h
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:03:32 +00:00
copilot-swe-agent[bot]
969c68b66d Fix remaining memory and buffer issues
- Use memcpy with pointer arithmetic for safe string concatenation
- Track and free allocated strings in spawn error path
- Properly account for null terminator in all buffer operations
- Eliminate potential buffer overflows from strncat edge cases

Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:03:32 +00:00
copilot-swe-agent[bot]
5d145cc80f Simplify code based on final review feedback
- Use direct character assignment for constant strings
- Remove unnecessary tracking array and cleanup code
- Simplify string concatenation logic
- Fix length calculation to match actual strncat behavior
- Code is cleaner and more maintainable

Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:02:22 +00:00
copilot-swe-agent[bot]
0f5ed2416c Add documentation index section to README
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:01:48 +00:00
copilot-swe-agent[bot]
ffa83cd0fc Translate remaining Chinese comments in parse_config.h to English
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:01:48 +00:00
copilot-swe-agent[bot]
21088fe86a Final refinements for security and performance
- Add explicit null termination for consistency
- Optimize string concatenation to avoid redundant strlen calls
- Track actual characters added to maintain O(n) complexity
- Improve code clarity with better comments

Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:01:20 +00:00
copilot-swe-agent[bot]
df6b10f331 Add comprehensive documentation: COMMANDS.md, USAGE.md, and enhanced README.md
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:01:16 +00:00
copilot-swe-agent[bot]
12fe0abca1 Polish security fixes with minor improvements
- Remove redundant null termination for short strings
- Use descriptive variable names in cleanup loop
- Cache strlen results to avoid O(n²) complexity in string concatenation
- Add bounds checks before string operations

Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 09:00:02 +00:00
copilot-swe-agent[bot]
3336d8d8ee Address code review feedback: improve array formatting and extract size constant
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 08:58:37 +00:00
copilot-swe-agent[bot]
e2649dd84f Final security improvements based on code review
- Add LAYOUT_ABBR_SIZE constant to avoid magic numbers
- Track allocated argv entries to properly free on error
- Simplify strncat bounds checking using strlen for accuracy
- Ensure all allocated memory is freed in error paths

Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 08:58:36 +00:00
copilot-swe-agent[bot]
7df8631fa3 Improve config.conf with comprehensive inline documentation
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 08:57:39 +00:00
copilot-swe-agent[bot]
d017fc4837 Address code review feedback on security fixes
- Fix buffer size for strncpy to match actual buffer (32 bytes)
- Use strtoul instead of strtol for unsigned color values
- Improve strncat bounds checking with accurate length tracking
- Free wordexp results immediately after use instead of batching
- Add strdup for wordexp strings to avoid use-after-free

Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 08:57:08 +00:00
copilot-swe-agent[bot]
c08c9c4fb8 Add macro documentation and translate remaining Chinese comments
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 08:56:21 +00:00
copilot-swe-agent[bot]
9d2f852ec2 Fix critical buffer overflow and memory leak vulnerabilities
- Replace unsafe strcpy() with strncpy() in fetch/common.h
- Replace unsafe strcpy() with strncpy() in config parsing
- Fix buffer overflow from strcat() by adding bounds checking
- Fix memory leak by adding wordfree() for wordexp results
- Add integer overflow validation for strtol() calls
- Add errno checking for all strtol conversions

Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 08:54:42 +00:00
copilot-swe-agent[bot]
73995e5828 Improve code readability: refactor animation code and translate comments
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 08:54:36 +00:00
copilot-swe-agent[bot]
e8571a0b03 Initial plan 2026-02-18 08:52:52 +00:00
copilot-swe-agent[bot]
a2b1c34b0f Initial plan 2026-02-18 08:50:55 +00:00
copilot-swe-agent[bot]
09ea9d3b06 Initial plan 2026-02-18 08:50:19 +00:00
DreamMaoMao
259fdb3a87 bump versiont to 0.12.3 2026-02-18 13:26:24 +08:00
DreamMaoMao
c3dcee2c8e opt: remove useless code 2026-02-17 08:33:45 +08:00
DreamMaoMao
15729db193
Merge pull request #668 from Yappaholic/main
docs: add guix installation instructions
2026-02-16 13:16:56 +08:00
DreamMaoMao
fa88ebace0 project: version not use latest tag 2026-02-16 11:56:51 +08:00
DreamMaoMao
112fb5c007 opt: optimize code struct 2026-02-16 10:06:16 +08:00
DreamMaoMao
1158fb2e3c opt: don't skip frame when grab client 2026-02-16 07:46:42 +08:00
Yappaholic
26a616e3d5 docs: add guix installation instructions 2026-02-15 16:50:07 +03:00
DreamMaoMao
933638d1b8
Merge pull request #666 from squassina/main
fix warning about meson
2026-02-15 19:14:27 +08:00
Ricardo Squassina Lee
f75efa1312
Fix wayland protocol directory variable retrieval 2026-02-15 07:08:35 -03:00
DreamMaoMao
62ab00a7a3 update readme 2026-02-15 16:43:02 +08:00
DreamMaoMao
7ccbeae8b8 fix: if the progress not the child of main, not assume it is stop 2026-02-15 14:08:53 +08:00